gct 0.5.3 → 0.5.4

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: 5c5c117dbfd9e96df0f31a971dda44635658c33d6acb234829862932ed11377c
4
- data.tar.gz: 4c23d03ead1cb929deb885ab802a83531afb0e8f6dcb3d1ffccfc1d433544496
3
+ metadata.gz: 85d233d1ecbfa999c4a14aa6b4e74aa9276640a5817c3004062f828e2f5177ba
4
+ data.tar.gz: 3cf89d2442c723781e7810d2956103dea691dc1d9915b7acb19130e716126d81
5
5
  SHA512:
6
- metadata.gz: f407f15fa81efaf3233f67b6021551b0ebe62590d086e0f079ca7d2932815529be4f02ed258e126d44241bc9b1cb8a00eb3617bd0f9dd2082c50276ea14e6a99
7
- data.tar.gz: a1a85a16d3d6c6e18d2a45e2c5fba28e0981102539dbd6ff9b458572765d0b3ceff4cffde1e72088ecdb54418ed7a27018c1c64d82a50e82386925187b59b585
6
+ metadata.gz: e26e73e2887621b495507797954db5d162cd76a0a145ae0213e2e21bf9661f248e6808bdc895aaa62902b5310e52bb9972c5b31b53fc1f0f34d84d1871e90a39
7
+ data.tar.gz: 0fa751f79b5dbf67ca993e0c9eae29d122b028628ab919f71ab56de9a75caa99f095f52f2f58b046916145b2e169bede3eb149d5bfeca83e412c277e67e50df3
@@ -249,7 +249,7 @@ module Gct
249
249
  db = Database::Data.new
250
250
  # 查询优先级最高的为完成打tag的数据
251
251
  where_statement = "and is_pre = " + (@pre ? "1" : "0")
252
- sql = "select * from tag where priority = (select MAX(priority) from tag) and project_version = '#{@version}' and tag_status != '#{SpecPublishStatus::SUCCESS}' #{where_statement}"
252
+ sql = "select * from tag where priority = (select MAX(priority) from tag where tag_status != '#{SpecPublishStatus::SUCCESS}' #{where_statement}) and project_version = '#{@version}'"
253
253
  result = db.query(sql)
254
254
  vals = ""
255
255
  ins = ""
@@ -34,7 +34,7 @@ module Gct
34
34
  db = Database::Data.new
35
35
  # 查询优先级最高的为完成打tag的数据
36
36
  where_statement = "and is_pre = " + (@pre ? "1" : "0")
37
- sql = "select * from tag where priority = (select MAX(priority) from tag where project_version = '#{@version}' and tag_status != '#{SpecPublishStatus::SUCCESS}' #{where_statement})"
37
+ sql = "select * from tag where priority = (select MAX(priority) from tag where tag_status != '#{SpecPublishStatus::SUCCESS}' #{where_statement}) and project_version = '#{@version}'"
38
38
  result = db.query(sql)
39
39
  puts result.count
40
40
  if result.count == 0
@@ -2,5 +2,5 @@ module Gct
2
2
  # freeze 冻结对象,将对象变成一个常量
3
3
  # unless 右边的代码块成立,才会运行左边的代码块
4
4
  # defined? 是用来判断本地变量是否存在,也可用来判断是否存在方法
5
- VERSION = "0.5.3".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.5.4".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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  requirements: []
233
- rubygems_version: 3.0.3
233
+ rubygems_version: 3.0.8
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: '"gct ios 自动化脚本工具"'