Class: Tdfire::BinaryStateStore
- Inherits:
-
Object
- Object
- Tdfire::BinaryStateStore
- Defined in:
- lib/cocoapods-tdfire-binary/binary_state_store.rb
Class Attribute Summary collapse
-
.printed_pods ⇒ Object
readonly
Returns the value of attribute printed_pods.
-
.use_frameworks ⇒ Object
Returns the value of attribute use_frameworks.
-
.use_source_pods ⇒ Object
attr_accessor :unpublished_pods.
Class Method Summary collapse
- .force_use_binary? ⇒ Boolean
- .force_use_source? ⇒ Boolean
- .real_use_source_pods ⇒ Object
- .set_force_use_binary ⇒ Object
- .set_use_binary ⇒ Object
- .unpublished_pods ⇒ Object
- .unpublished_pods=(pods) ⇒ Object
- .use_binary? ⇒ Boolean
Class Attribute Details
.printed_pods ⇒ Object (readonly)
Returns the value of attribute printed_pods.
8 9 10 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 8 def printed_pods @printed_pods end |
.use_frameworks ⇒ Object
Returns the value of attribute use_frameworks.
9 10 11 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 9 def use_frameworks @use_frameworks end |
.use_source_pods ⇒ Object
attr_accessor :unpublished_pods
7 8 9 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 7 def use_source_pods @use_source_pods end |
Class Method Details
.force_use_binary? ⇒ Boolean
36 37 38 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 36 def self.force_use_binary? ENV[FORCE_USE_BINARY_KEY] == USE_SURE_VALUE end |
.force_use_source? ⇒ Boolean
44 45 46 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 44 def self.force_use_source? ENV[FORCE_USE_SOURCE_KEY] == USE_SURE_VALUE end |
.real_use_source_pods ⇒ Object
16 17 18 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 16 def self.real_use_source_pods (@use_source_pods + unpublished_pods).uniq end |
.set_force_use_binary ⇒ Object
40 41 42 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 40 def self.set_force_use_binary ENV[FORCE_USE_BINARY_KEY] = USE_SURE_VALUE end |
.set_use_binary ⇒ Object
32 33 34 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 32 def self.set_use_binary ENV[USE_BINARY_KEY] = USE_SURE_VALUE end |
.unpublished_pods ⇒ Object
20 21 22 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 20 def self.unpublished_pods String(ENV[UNPBLISHED_PODS]).split('|').uniq end |
.unpublished_pods=(pods) ⇒ Object
24 25 26 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 24 def self.unpublished_pods=(pods) ENV[UNPBLISHED_PODS] = Array(pods).uniq.join('|') end |
.use_binary? ⇒ Boolean
28 29 30 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 28 def self.use_binary? ENV[USE_BINARY_KEY] == USE_SURE_VALUE end |