Class: BB::StableSpecs
- Inherits:
-
Object
- Object
- BB::StableSpecs
- Defined in:
- lib/cocoapods-bb-PodAssistant/config/stable_specs.rb
Instance Method Summary collapse
- #readData(yml_path) ⇒ Object
-
#update_local_stable_lock(yml_path, pod_targets) ⇒ Object
更新podfile配置文件使用(项目).
-
#update_stable_lock(yml_path, pod_targets) ⇒ Object
podfile 更新配置文件使用(通用).
- #writeData(yml_path, data) ⇒ Object
Instance Method Details
#readData(yml_path) ⇒ Object
9 10 11 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 9 def readData(yml_path) return YamlFilesHelper.read_stable_lock_yaml(yml_path) end |
#update_local_stable_lock(yml_path, pod_targets) ⇒ Object
更新podfile配置文件使用(项目)
21 22 23 24 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 21 def update_local_stable_lock(yml_path, pod_targets) YamlFilesHelper.save_local_stable_podlock(yml_path, pod_targets) puts "[成功] 更新ymal配置文件#{yml_path}".green end |
#update_stable_lock(yml_path, pod_targets) ⇒ Object
podfile 更新配置文件使用(通用)
16 17 18 19 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 16 def update_stable_lock(yml_path, pod_targets) YamlFilesHelper.save_stable_podlock(yml_path, pod_targets) puts "[成功] 更新ymal配置文件#{yml_path}".green end |
#writeData(yml_path, data) ⇒ Object
12 13 14 |
# File 'lib/cocoapods-bb-PodAssistant/config/stable_specs.rb', line 12 def writeData(yml_path, data) YamlFilesHelper.save_stable_lock_yaml(yml_path, data) end |