gct 0.4.2 → 0.4.3

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: 2543169b03dd0c5d196ea4af9fb3214efccfd54165fb5418c3fb36e9f04c0b88
4
- data.tar.gz: a17f7e2f676904a9c8c6b0acd7ffc08fe0d8db6f07f974f8825e90a120ffa2cb
3
+ metadata.gz: 706538e61e101d63b9718a329ba5fd7102b04b136bafe4c7fda01bc6c1d02ca9
4
+ data.tar.gz: bcba7c7cfef559c1fccf0c583a6c2a2bcf6f775eca9be2463812b1621bc81cc7
5
5
  SHA512:
6
- metadata.gz: 8c620629c7a89a8758a44c45635ed470cc42330f954c05a2bb7caf0adf2892215f7b40833f702a1378e18e648ec7ce383e5f81520622a5bd4677899ea74c7687
7
- data.tar.gz: c1ad60709ac0c069086abccd377cf30a106f34f93ca224ca6541a0bcbf6010f521503beff69ee035648d1b74de8f73b751c7e819b638ea84928182d46970faff
6
+ metadata.gz: 1247a36c962b9fea025ba28ec47b8a27dbd3fd7d4e1da0b9e9ff4db14436961ab4fcd738b508c9e801e34f06f3746375f86b58c987eb179070087fdea6f55620
7
+ data.tar.gz: 7c715cec4e38bbc0150d1c5ebd658a2edb485ed15a72af7269e23b4f9912bddd7635b07d7f83566e9226eec89d9e887555c802ec54b4ae8d46fdb2bc3f7e52fa
@@ -102,6 +102,10 @@ module Gct
102
102
  else
103
103
  create_file('.gitlab-ci.yml', ci_content, 'init ci')
104
104
  end
105
+ isEmptyMR = mr_to_master
106
+ if !isEmptyMR
107
+ accept_merge_request
108
+ end
105
109
  end
106
110
 
107
111
  def get_spec_file
@@ -2,5 +2,5 @@ module Gct
2
2
  # freeze 冻结对象,将对象变成一个常量
3
3
  # unless 右边的代码块成立,才会运行左边的代码块
4
4
  # defined? 是用来判断本地变量是否存在,也可用来判断是否存在方法
5
- VERSION = "0.4.2".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.4.3".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.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming