gct 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d59e8128a586f4f5daa1694238209beb2b4e03f9807ba39dae2e6b4ec8bff02
4
- data.tar.gz: 88f9d3d94c6bf746968275e461cf39516231e31ac9f54ab8980859a3710dc745
3
+ metadata.gz: 1fa46eae8380ffa9b10615aa774bcdbfdd4d00283f306c3a315e89612d59ef4b
4
+ data.tar.gz: 62ef10f120701564182015ab617f42a00f94e838049b392cfc75995a6a1d2599
5
5
  SHA512:
6
- metadata.gz: a1e45ffeb7294a6182b8fef89fdf1ecf4fefba789dae547fec9ae68cc136f7244a22c5d0447f0b571e3ca8a28f522f90bfdc97c60ce92bb80c2f6f3357f4ebfa
7
- data.tar.gz: b25132ba07a67449fe9a383cd62311cab8446ef699e4c05cf5c3c4f3c629b13dbdcf9fd9774da3dbf2f1c3660d69e3da275a49b29caa3457079f2572f26f58e0
6
+ metadata.gz: 8901885267628b0e5c73ee1c38e6d9053086fc4057673a61546963f05843ef2a739f86c5156c731ceae5ddc16e1704ba398d2d08060cf30ef6900007f0a0ec9b
7
+ data.tar.gz: 6c566ca2de8a69dd8b323c7f83fd942d9a5e61642f27fc9ab2cee2f2605e27a722fc6b39baea84ecabb0da86ce28828d028d23fe0c863b2c40ce699f3c4708f7
@@ -25,7 +25,8 @@ 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 || { exit 1; }"
28
+ # exception: ruby 2.6 以上生效
29
+ system "pod repo push iOSCRGTPodSource --sources=#{Constant.GitURL}iOSCRGTPodSource.git --verbose --skip-import-validation --use-libraries --allow-warnings", exception: true
29
30
  end
30
31
  end
31
32
  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.7".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.2.8".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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming