ZYPodWings 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ZYPodWings.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 800c8cec6a23a0c5b5e9651246dfe01460e5ad7b325d369dccae8dd15e46be1e
4
- data.tar.gz: 40887e3229b9e8a8691e964e34c8786dd1cd504138a966f68f0f833382407d48
3
+ metadata.gz: d42632c0c5265d334971a54b5214c4cbad9b882d290904e07458a2c3ab3ab551
4
+ data.tar.gz: e070317676659fbd2a9da9fd5466c6766dc72669400fe27463b802fa7b985472
5
5
  SHA512:
6
- metadata.gz: f64583406a9130792ca58abb874a8cd527560ae579f1f2c2d60a83fb139e7e9be21f51e6d7cc9c6a8c95f2559cfb588dc172fe9694b3302e7060b6d862e20015
7
- data.tar.gz: a219292a81a047989a3e309daa92a863b2c1bc3b775738cf495f8533c493d93bc40e9cf79b65497f395f140e4fb404a3c7fc54b2b182084ab3eafda98729d15d
6
+ metadata.gz: 8718dde1d60516a0a57edf05259c4d919cd202f266dcf0af20ac35d027a59cbf0fc3cc178512b82329998d69c94a1af1c3c6025dbef2cb187a27d6a48552de2f
7
+ data.tar.gz: 77f08cc9354bcc23ba5d08a4cfb978316ff33f1de1ed6366408cc31cc34668d4693a6f525ad5ff9af56fe1979df5668cb668e66f03f3cf412ae74ed9ce55fd24
@@ -190,6 +190,9 @@ def pod_config(params={"file_name" => "podConfig.json", "update_to_last" => true
190
190
  local_pod_list = params.fetch("local_pod_list", [])
191
191
 
192
192
  json_file_path = File.join($pwd_path, file_name)
193
+ if not File.exist? json_file_path
194
+ puts "找不到#{file_name} 文件,pod_config 已提前结束"
195
+ return
193
196
  # 更新json文件(若有必要)
194
197
  if need_update_to_last
195
198
  update_pod_list(json_file_path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZYPodWings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wupengju