Class: Pod::Tdfire::BinaryStateStore
- Inherits:
-
Object
- Object
- Pod::Tdfire::BinaryStateStore
- Defined in:
- lib/cocoapods-tdfire-binary/binary_state_store.rb
Class Attribute Summary collapse
-
.limit_platform ⇒ Object
Returns the value of attribute limit_platform.
-
.printed_pods ⇒ Object
readonly
Returns the value of attribute printed_pods.
-
.use_frameworks ⇒ Object
Returns the value of attribute use_frameworks.
-
.use_source ⇒ Object
Returns the value of attribute use_source.
-
.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_third_party_use_binary ⇒ Object
- .set_use_binary ⇒ Object
- .third_party_use_binary? ⇒ Boolean
- .unpublished_pods ⇒ Object
- .unpublished_pods=(pods) ⇒ Object
- .unset_force_use_binary ⇒ Object
- .use_binary? ⇒ Boolean
Class Attribute Details
.limit_platform ⇒ Object
Returns the value of attribute limit_platform.
13 14 15 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 13 def limit_platform @limit_platform end |
.printed_pods ⇒ Object (readonly)
Returns the value of attribute printed_pods.
10 11 12 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 10 def printed_pods @printed_pods end |
.use_frameworks ⇒ Object
Returns the value of attribute use_frameworks.
11 12 13 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 11 def use_frameworks @use_frameworks end |
.use_source ⇒ Object
Returns the value of attribute use_source.
12 13 14 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 12 def use_source @use_source end |
.use_source_pods ⇒ Object
attr_accessor :unpublished_pods
9 10 11 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 9 def use_source_pods @use_source_pods end |
Class Method Details
.force_use_binary? ⇒ Boolean
42 43 44 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 42 def self.force_use_binary? ENV[FORCE_USE_BINARY_KEY] == USE_SURE_VALUE end |
.force_use_source? ⇒ Boolean
54 55 56 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 54 def self.force_use_source? ENV[FORCE_USE_SOURCE_KEY] == USE_SURE_VALUE end |
.real_use_source_pods ⇒ Object
22 23 24 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 22 def self.real_use_source_pods (@use_source_pods + unpublished_pods).uniq end |
.set_force_use_binary ⇒ Object
46 47 48 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 46 def self.set_force_use_binary ENV[FORCE_USE_BINARY_KEY] = USE_SURE_VALUE end |
.set_third_party_use_binary ⇒ Object
58 59 60 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 58 def self.set_third_party_use_binary ENV[THIRD_PARTY_USE_BINARY_KEY] = USE_SURE_VALUE end |
.set_use_binary ⇒ Object
38 39 40 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 38 def self.set_use_binary ENV[USE_BINARY_KEY] = USE_SURE_VALUE end |
.third_party_use_binary? ⇒ Boolean
62 63 64 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 62 def self.third_party_use_binary? ENV[THIRD_PARTY_USE_BINARY_KEY] == USE_SURE_VALUE end |
.unpublished_pods ⇒ Object
26 27 28 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 26 def self.unpublished_pods String(ENV[UNPBLISHED_PODS]).split('|').uniq end |
.unpublished_pods=(pods) ⇒ Object
30 31 32 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 30 def self.unpublished_pods=(pods) ENV[UNPBLISHED_PODS] = Array(pods).uniq.join('|') end |
.unset_force_use_binary ⇒ Object
50 51 52 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 50 def self.unset_force_use_binary ENV[FORCE_USE_BINARY_KEY] = '0' end |
.use_binary? ⇒ Boolean
34 35 36 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 34 def self.use_binary? ENV[USE_BINARY_KEY] == USE_SURE_VALUE end |