Sha256: ba5d3a65815f548a5255ce196b5030418dba15e3beb92c2cd3ef1a0d6d46ca02

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 Bytes

Contents

module  Tdfire
	class BinaryStateStore
		public

		def self.printed_pods
			@printed_pods ||= []
		end

		def self.use_source_pods
			String(ENV[USE_SOURCE_PODS_KEY]).split('|')
		end

		def self.use_source_pods=(pods)
			ENV[USE_SOURCE_PODS_KEY] = Array(pods).join('|')
		end

		def self.use_binary?
			ENV[USE_BINARY_KEY] == USE_BINARY_SURE_VALUE
		end

		def self.set_use_binary
			ENV[USE_BINARY_KEY] = USE_BINARY_SURE_VALUE
		end

		private

		USE_SOURCE_PODS_KEY = 'tdfire_use_source_pods'
		USE_BINARY_KEY = 'tdfire_use_binary'
		USE_BINARY_SURE_VALUE = '1'
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-tdfire-binary-0.1.2 lib/cocoapods-tdfire-binary/binary_state_store.rb
cocoapods-tdfire-binary-0.1.0 lib/cocoapods-tdfire-binary/binary_state_store.rb