Class: 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

.printed_podsObject (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_podsObject

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_podsObject



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

Returns:

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

Returns:

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

Returns:

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



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_binaryObject



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

Returns:

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