lib/cocoapods-gd/podfile_env.rb in cocoapods-gd-0.0.1 vs lib/cocoapods-gd/podfile_env.rb in cocoapods-gd-0.0.2
- old
+ new
@@ -1,17 +1,17 @@
require 'cocoapods'
module Pod
class Podfile
- USE_BINARIES = 'use_binaries'
+ GD_USE_BINARIES = 'use_binaries'
USE_SOURCE_CODE_SELECTOR = 'use_source_code'
def use_binaries!(flag = true)
- internal_hash[USE_BINARIES] = flag
+ internal_hash[GD_USE_BINARIES] = flag
end
def get_use_binaries
- internal_hash[USE_BINARIES]
+ internal_hash[GD_USE_BINARIES]
end
def use_source_code_selector!(&block)
raise Informative, '必须提供选择需要二进制组件的 block !' unless block_given?
internal_hash[USE_SOURCE_CODE_SELECTOR] = block