gct 0.2.6 → 0.2.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcbe1a0b358a5d2f8579f1dcdbc323a94c390ad1d022ea362955399c158572b6
4
- data.tar.gz: 7bbf206c9c77fbff1d2e101cd1156167ad758b2d9092038ec8f7cb9081005375
3
+ metadata.gz: 1d59e8128a586f4f5daa1694238209beb2b4e03f9807ba39dae2e6b4ec8bff02
4
+ data.tar.gz: 88f9d3d94c6bf746968275e461cf39516231e31ac9f54ab8980859a3710dc745
5
5
  SHA512:
6
- metadata.gz: 9180c790294328532eaa45342f656b16fcf7689b53d7d93bb68fdde1357a72bcaaf6621df390869d085be924130730c2166ddc47583ef357ddba94fe3f562478
7
- data.tar.gz: 0f6fd44317552e8a3be79ae42b65b69cd8bf4a9bd585f5ad0ecc06d22073dd87bca49047191dfca57d50c9d84ab90cf090db0ce393a0e05a71866d91b82dbe4f
6
+ metadata.gz: a1e45ffeb7294a6182b8fef89fdf1ecf4fefba789dae547fec9ae68cc136f7244a22c5d0447f0b571e3ca8a28f522f90bfdc97c60ce92bb80c2f6f3357f4ebfa
7
+ data.tar.gz: b25132ba07a67449fe9a383cd62311cab8446ef699e4c05cf5c3c4f3c629b13dbdcf9fd9774da3dbf2f1c3660d69e3da275a49b29caa3457079f2572f26f58e0
@@ -25,7 +25,7 @@ module Gct
25
25
 
26
26
  def addRepo
27
27
  puts "pod命令为:pod repo add iOSCRGTPodSource https://gi-dev.ccrgt.com/ios/iOSCRGTPodSource.git".green
28
- system "pod repo add iOSCRGTPodSource https://gi-dev.ccrgt.com/ios/iOSCRGTPodSource.git"
28
+ system "pod repo add iOSCRGTPodSource https://gi-dev.ccrgt.com/ios/iOSCRGTPodSource.git || { exit 1; }"
29
29
  end
30
30
  end
31
31
  end
@@ -25,7 +25,7 @@ module Gct
25
25
 
26
26
  def pushRepo
27
27
  puts "pod 命令为:pod repo push iOSCRGTPodSource --sources=#{Constant.GitURL}iOSCRGTPodSource.git --verbose --skip-import-validation --use-libraries --allow-warnings".green
28
- system "pod repo push iOSCRGTPodSource --sources=#{Constant.GitURL}iOSCRGTPodSource.git --verbose --skip-import-validation --use-libraries --allow-warnings"
28
+ system "pod repo push iOSCRGTPodSource --sources=#{Constant.GitURL}iOSCRGTPodSource.git --verbose --skip-import-validation --use-libraries --allow-warnings || { exit 1; }"
29
29
  end
30
30
  end
31
31
  end
@@ -25,7 +25,7 @@ module Gct
25
25
 
26
26
  def updateRepo
27
27
  puts "pod命令为:pod repo update iOSCRGTPodSource".green
28
- system "pod repo update iOSCRGTPodSource"
28
+ system "pod repo update iOSCRGTPodSource || { exit 1; }"
29
29
  puts "如果找不到 iOSCRGTPodSource 文件,先执行gct repo add".green
30
30
  end
31
31
  end
data/lib/gct/version.rb CHANGED
@@ -2,5 +2,5 @@ module Gct
2
2
  # freeze 冻结对象,将对象变成一个常量
3
3
  # unless 右边的代码块成立,才会运行左边的代码块
4
4
  # defined? 是用来判断本地变量是否存在,也可用来判断是否存在方法
5
- VERSION = "0.2.6".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.2.7".freeze unless defined? Gct::VERSION
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming
@@ -162,7 +162,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubygems_version: 3.0.3
165
+ rubyforge_project:
166
+ rubygems_version: 2.7.7
166
167
  signing_key:
167
168
  specification_version: 4
168
169
  summary: '"gct ios 自动化脚本工具"'