Class: Pod::Tdfire::BinaryStateStore

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-tdfire-binary/binary_state_store.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.lib_lint_binary_podObject

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_platformObject

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_podsObject (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_frameworksObject

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_sourceObject

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_podsObject

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

Returns:

  • (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

Returns:

  • (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_podsObject



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_binaryObject



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_binaryObject



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_podsObject



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_binaryObject



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

Returns:

  • (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