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.
-
.unpublished_pods ⇒ Object
Returns the value of attribute unpublished_pods.
- .use_source_pods ⇒ Object
Class Method Summary collapse
- .auto_set_default_unpublished_pod? ⇒ Boolean
- .force_use_binary? ⇒ Boolean
- .force_use_source? ⇒ Boolean
- .set_auto_set_default_unpublished_pod ⇒ Object
- .set_use_binary ⇒ 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 |
.unpublished_pods ⇒ Object
Returns the value of attribute unpublished_pods.
6 7 8 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 6 def unpublished_pods @unpublished_pods end |
.use_source_pods ⇒ Object
14 15 16 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 14 def self.use_source_pods (@use_source_pods + @unpublished_pods).uniq end |
Class Method Details
.auto_set_default_unpublished_pod? ⇒ Boolean
34 35 36 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 34 def self.auto_set_default_unpublished_pod? ENV[AUTO_SET_DEFAULT_UNPUBLISHED_POD_KEY] == USE_SURE_VALUE end |
.force_use_binary? ⇒ Boolean
26 27 28 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 26 def self.force_use_binary? ENV[FORCE_USE_BINARY_KEY] == USE_SURE_VALUE end |
.force_use_source? ⇒ Boolean
30 31 32 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 30 def self.force_use_source? ENV[FORCE_USE_SOURCE_KEY] == USE_SURE_VALUE end |
.set_auto_set_default_unpublished_pod ⇒ Object
38 39 40 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 38 def self.set_auto_set_default_unpublished_pod ENV[AUTO_SET_DEFAULT_UNPUBLISHED_POD_KEY] = USE_SURE_VALUE end |
.set_use_binary ⇒ Object
22 23 24 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 22 def self.set_use_binary ENV[USE_BINARY_KEY] = USE_SURE_VALUE end |
.use_binary? ⇒ Boolean
18 19 20 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 18 def self.use_binary? ENV[USE_BINARY_KEY] == USE_SURE_VALUE end |