Class: Pod::Tdfire::BinaryStateStore
- Inherits:
-
Object
- Object
- Pod::Tdfire::BinaryStateStore
- Defined in:
- lib/cocoapods-tdfire-binary/binary_state_store.rb
Class Attribute Summary collapse
-
.lib_lint_binary_pod ⇒ Object
Returns the value of attribute lib_lint_binary_pod.
-
.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_use_binary ⇒ Object
- .unpublished_pods ⇒ Object
- .unpublished_pods=(pods) ⇒ Object
- .unset_force_use_binary ⇒ Object
- .use_binary? ⇒ Boolean
Class Attribute Details
.lib_lint_binary_pod ⇒ Object
Returns the value of attribute lib_lint_binary_pod.
13 14 15 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 13 def lib_lint_binary_pod @lib_lint_binary_pod end |
.limit_platform ⇒ Object
Returns the value of attribute limit_platform.
14 15 16 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 14 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
43 44 45 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 43 def self.force_use_binary? ENV[FORCE_USE_BINARY_KEY] == USE_SURE_VALUE end |
.force_use_source? ⇒ Boolean
55 56 57 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 55 def self.force_use_source? ENV[FORCE_USE_SOURCE_KEY] == USE_SURE_VALUE end |
.real_use_source_pods ⇒ Object
23 24 25 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 23 def self.real_use_source_pods (@use_source_pods + unpublished_pods).uniq end |
.set_force_use_binary ⇒ Object
47 48 49 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 47 def self.set_force_use_binary ENV[FORCE_USE_BINARY_KEY] = USE_SURE_VALUE end |
.set_use_binary ⇒ Object
39 40 41 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 39 def self.set_use_binary ENV[USE_BINARY_KEY] = USE_SURE_VALUE end |
.unpublished_pods ⇒ Object
27 28 29 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 27 def self.unpublished_pods String(ENV[UNPBLISHED_PODS]).split('|').uniq end |
.unpublished_pods=(pods) ⇒ Object
31 32 33 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 31 def self.unpublished_pods=(pods) ENV[UNPBLISHED_PODS] = Array(pods).uniq.join('|') end |
.unset_force_use_binary ⇒ Object
51 52 53 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 51 def self.unset_force_use_binary ENV[FORCE_USE_BINARY_KEY] = '0' end |
.use_binary? ⇒ Boolean
35 36 37 |
# File 'lib/cocoapods-tdfire-binary/binary_state_store.rb', line 35 def self.use_binary? ENV[USE_BINARY_KEY] == USE_SURE_VALUE end |