gitlab_mr_release 1.0.0 → 1.1.2

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
- SHA1:
3
- metadata.gz: cc48c402abe1f670c8c18c04c576c255a9cc1ec8
4
- data.tar.gz: d8b9de1a425fb13cb90385c06276bb974b52dcc3
2
+ SHA256:
3
+ metadata.gz: fce9fdb5d70a8f372a0d8ee7848a5b553062630bc256864dec6e03b04a3bc160
4
+ data.tar.gz: 7907f2ceb6b0113726f6228017cab3c4a4a1780f6afdc1bee2e2a02b8c149bde
5
5
  SHA512:
6
- metadata.gz: 1b78fb3343cdc42a95edbf9c1880e02f87c3f1f9b8591a86fb9dceb9308dae684d7744cc5e02aa77cad4408c62e1cd6e4bc677baee67cda937322c605bedc86c
7
- data.tar.gz: 1db0224850457c577ab8367766f9c76229bf5dae3a5c55424264f009394cd9e1a4ade55b97f3edc3f5441c25616c84ce9931f93b99b07aa0dceb67a19407fe45
6
+ metadata.gz: 77964b63d42c89d65a4edffb46438c86cc2f709afb5c4105180b03148ce6b7c4447cde6546883ddd808ae497c45adbe8453d7afd56bbb7ef2638a92bde9b5aa7
7
+ data.tar.gz: 620b5d8a6244118c48125568b9cc0ae530d0000a05bc206c86ced8fd0b2f8a534dc7df6ac2dd7d1516fa44c7ccf0771671d833567da58284aaf1e3bb3b01448c
@@ -0,0 +1,108 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+ schedule:
13
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
+
15
+ jobs:
16
+ test:
17
+ runs-on: ubuntu-latest
18
+
19
+ container: ${{ matrix.ruby }}
20
+
21
+ strategy:
22
+ fail-fast: false
23
+
24
+ matrix:
25
+ ruby:
26
+ - ruby:2.2
27
+ - ruby:2.3
28
+ - ruby:2.4
29
+ - ruby:2.5
30
+ - ruby:2.6
31
+ - ruby:2.7
32
+ - ruby:3.0
33
+ - rubylang/ruby:master-nightly-bionic
34
+ include:
35
+ - ruby: rubylang/ruby:master-nightly-bionic
36
+ allow_failures: "true"
37
+
38
+ steps:
39
+ - uses: actions/checkout@v2
40
+
41
+ - name: Cache vendor/bundle
42
+ uses: actions/cache@v1
43
+ id: cache_gem
44
+ with:
45
+ path: vendor/bundle
46
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
47
+ restore-keys: |
48
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
49
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
50
+
51
+ - name: bundle update
52
+ run: |
53
+ set -xe
54
+ bundle config path vendor/bundle
55
+ bundle update --jobs $(nproc) --retry 3
56
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
57
+
58
+ - name: Setup Code Climate Test Reporter
59
+ uses: aktions/codeclimate-test-reporter@v1
60
+ with:
61
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
62
+ command: before-build
63
+ if: matrix.ruby >= 'ruby:2.4'
64
+ continue-on-error: true
65
+
66
+ - name: Run test
67
+ run: |
68
+ set -xe
69
+ bundle exec rspec
70
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
71
+ timeout-minutes: 1
72
+
73
+ - name: Teardown Code Climate Test Reporter
74
+ uses: aktions/codeclimate-test-reporter@v1
75
+ with:
76
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
77
+ command: after-build
78
+ if: matrix.ruby >= 'ruby:2.4' && always()
79
+ continue-on-error: true
80
+
81
+ - name: Slack Notification (not success)
82
+ uses: lazy-actions/slatify@master
83
+ if: "! success()"
84
+ continue-on-error: true
85
+ with:
86
+ job_name: ${{ format('*build* ({0})', matrix.ruby) }}
87
+ type: ${{ job.status }}
88
+ icon_emoji: ":octocat:"
89
+ url: ${{ secrets.SLACK_WEBHOOK }}
90
+ token: ${{ secrets.GITHUB_TOKEN }}
91
+
92
+ notify:
93
+ needs:
94
+ - test
95
+
96
+ runs-on: ubuntu-latest
97
+
98
+ steps:
99
+ - name: Slack Notification (success)
100
+ uses: lazy-actions/slatify@master
101
+ if: always()
102
+ continue-on-error: true
103
+ with:
104
+ job_name: '*build*'
105
+ type: ${{ job.status }}
106
+ icon_emoji: ":octocat:"
107
+ url: ${{ secrets.SLACK_WEBHOOK }}
108
+ token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  ## Unreleased
2
- [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.0.0...master)
2
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.1.2...master)
3
+
4
+ ## v1.1.2
5
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.1.1...v1.1.2)
6
+
7
+ * Enable MFA requirement for gem releasing
8
+ * https://github.com/sue445/gitlab_mr_release/pull/53
9
+
10
+ ## v1.1.1
11
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.1.0...v1.1.1)
12
+
13
+ * Preserve checkbox statuses on update
14
+ * https://github.com/sue445/gitlab_mr_release/pull/45
15
+
16
+ ## v1.1.0
17
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.0.1...v1.1.0)
18
+
19
+ * Update the release MR when release MR is already exists
20
+ * https://github.com/sue445/gitlab_mr_release/pull/41
21
+
22
+ ## v1.0.1
23
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.0.0...v1.0.1)
24
+
25
+ * Support new merge commit format for GitLab v10.0.0+
26
+ * https://github.com/sue445/gitlab_mr_release/pull/25
3
27
 
4
28
  ## v1.0.0
5
29
  [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v0.4.0...v1.0.0)
data/Gemfile CHANGED
@@ -4,11 +4,24 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
7
- # NOTE: activesupport 5.x supports only ruby 2.2.2+
8
- gem "activesupport", "< 5.0.0"
7
+ group :development do
8
+ # NOTE: activesupport 5.x supports only ruby 2.2.2+
9
+ gem "activesupport", "< 5.0.0", group: :test
10
+ end
9
11
  end
10
12
 
11
- if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
12
- # NOTE: byebug 9.1.0+ requires ruby 2.2.0+
13
- gem "byebug", "< 9.1.0"
13
+ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
14
+ # NOTE: httparty v0.19.0+ requires Ruby 2.3+
15
+ gem "httparty", "< 0.19.0"
16
+ end
17
+
18
+ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
19
+ # NOTE: unparser v0.3.0+ requires Ruby 2.5+
20
+ gem "unparser", "< 0.3.0"
21
+ end
22
+
23
+ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.4.0")
24
+ # String#unpack1 is available since ruby 2.4, but gitlab gem uses String#unpack1 ...
25
+ # c.f. https://github.com/NARKOZ/gitlab/commit/d9ef580#diff-84e3ba49bf244c6684f7d26a3312adc4R81
26
+ gem "gitlab", "< 4.14.0"
14
27
  end
data/README.md CHANGED
@@ -3,10 +3,9 @@
3
3
  Release MergeRequest generator for [GitLab](https://about.gitlab.com/)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/gitlab_mr_release.svg)](https://badge.fury.io/rb/gitlab_mr_release)
6
- [![Build Status](https://travis-ci.org/sue445/gitlab_mr_release.svg?branch=master)](https://travis-ci.org/sue445/gitlab_mr_release)
6
+ [![Build Status](https://github.com/sue445/gitlab_mr_release/workflows/test/badge.svg?branch=master)](https://github.com/sue445/gitlab_mr_release/actions?query=workflow%3Atest)
7
7
  [![Code Climate](https://codeclimate.com/github/sue445/gitlab_mr_release/badges/gpa.svg)](https://codeclimate.com/github/sue445/gitlab_mr_release)
8
8
  [![Coverage Status](https://coveralls.io/repos/sue445/gitlab_mr_release/badge.svg?branch=master&service=github)](https://coveralls.io/github/sue445/gitlab_mr_release?branch=master)
9
- [![Dependency Status](https://gemnasium.com/sue445/gitlab_mr_release.svg)](https://gemnasium.com/sue445/gitlab_mr_release)
10
9
 
11
10
  This is inspired by the [git-pr-release](https://github.com/motemen/git-pr-release)
12
11
 
data/bin/console CHANGED
@@ -9,14 +9,11 @@ require "gitlab_mr_release"
9
9
  require "dotenv"
10
10
  Dotenv.load(".env.gitlab", "~/.env.gitlab")
11
11
 
12
- clean_room = Object.new
13
- clean_room.instance_eval do
14
- @project = GitlabMrRelease::Project.new(
15
- api_endpoint: ENV["GITLAB_API_ENDPOINT"],
16
- private_token: ENV["GITLAB_API_PRIVATE_TOKEN"],
17
- project_name: ENV["GITLAB_PROJECT_NAME"],
18
- )
19
- end
12
+ @project = GitlabMrRelease::Project.new(
13
+ api_endpoint: ENV["GITLAB_API_ENDPOINT"],
14
+ private_token: ENV["GITLAB_API_PRIVATE_TOKEN"],
15
+ project_name: ENV["GITLAB_PROJECT_NAME"],
16
+ )
20
17
 
21
- require "pry"
22
- Pry.start(clean_room)
18
+ require "irb"
19
+ IRB.start
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/sue445/gitlab_mr_release"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["rubygems_mfa_required"] = "true"
21
+
17
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
23
  spec.bindir = "exe"
19
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -24,13 +29,12 @@ Gem::Specification.new do |spec|
24
29
  spec.add_dependency "thor"
25
30
 
26
31
  spec.add_development_dependency "activesupport"
27
- spec.add_development_dependency "bundler", "~> 1.10"
32
+ spec.add_development_dependency "bundler", ">= 1.10"
28
33
  spec.add_development_dependency "coveralls"
29
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
30
- spec.add_development_dependency "pry-byebug"
31
- spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rake"
32
35
  spec.add_development_dependency "rspec"
33
36
  spec.add_development_dependency "rspec-parameterized"
34
37
  spec.add_development_dependency "simplecov"
38
+ spec.add_development_dependency "unparser", ">= 0.4.5"
35
39
  spec.add_development_dependency "webmock", ">= 3.0.0"
36
40
  end
@@ -78,60 +78,62 @@ MergeRequest is created
78
78
 
79
79
  private
80
80
 
81
- def assert_env(name)
82
- if !ENV[name] || ENV[name].empty?
83
- puts "Error: Environment variable #{name} is required"
84
- exit!
81
+ no_commands do
82
+ def assert_env(name)
83
+ if !ENV[name] || ENV[name].empty?
84
+ puts "Error: Environment variable #{name} is required"
85
+ exit!
86
+ end
85
87
  end
86
- end
87
88
 
88
- def assert_option_or_env(option_name, env_name)
89
- option_or_env!(option_name, env_name)
90
- end
89
+ def assert_option_or_env(option_name, env_name)
90
+ option_or_env!(option_name, env_name)
91
+ end
91
92
 
92
- def generate_title
93
- return options[:title] if options[:title]
93
+ def generate_title
94
+ return options[:title] if options[:title]
94
95
 
95
- generate_default_title(
96
- title_template: ENV["DEFAULT_TITLE"],
97
- source_branch: source_branch,
98
- target_branch: target_branch,
99
- )
100
- end
96
+ generate_default_title(
97
+ title_template: ENV["DEFAULT_TITLE"],
98
+ source_branch: source_branch,
99
+ target_branch: target_branch,
100
+ )
101
+ end
101
102
 
102
- def generate_default_title(title_template:, source_branch:, target_branch:)
103
- title_template ||= DEFAULT_TITLE_TEMPLATE
104
- ERB.new(title_template).result(binding).strip
105
- end
103
+ def generate_default_title(title_template:, source_branch:, target_branch:)
104
+ title_template ||= DEFAULT_TITLE_TEMPLATE
105
+ ERB.new(title_template).result(binding).strip
106
+ end
106
107
 
107
- def template_file
108
- ENV["TEMPLATE_FILE"] || "#{__dir__}/../templates/gitlab_mr_release.md.erb"
109
- end
108
+ def template_file
109
+ ENV["TEMPLATE_FILE"] || "#{__dir__}/../templates/gitlab_mr_release.md.erb"
110
+ end
110
111
 
111
- def source_branch
112
- option_or_env(:source, "DEFAULT_SOURCE_BRANCH")
113
- end
112
+ def source_branch
113
+ option_or_env(:source, "DEFAULT_SOURCE_BRANCH")
114
+ end
114
115
 
115
- def target_branch
116
- option_or_env(:target, "DEFAULT_TARGET_BRANCH")
117
- end
116
+ def target_branch
117
+ option_or_env(:target, "DEFAULT_TARGET_BRANCH")
118
+ end
118
119
 
119
- def labels
120
- option_or_env(:labels, "DEFAULT_LABELS")
121
- end
120
+ def labels
121
+ option_or_env(:labels, "DEFAULT_LABELS")
122
+ end
122
123
 
123
- def option_or_env(option_name, env_name, default = nil)
124
- return options[option_name] if options[option_name] && !options[option_name].empty?
125
- return ENV[env_name] if ENV[env_name] && !ENV[env_name].empty?
126
- default
127
- end
124
+ def option_or_env(option_name, env_name, default = nil)
125
+ return options[option_name] if options[option_name] && !options[option_name].empty?
126
+ return ENV[env_name] if ENV[env_name] && !ENV[env_name].empty?
127
+ default
128
+ end
128
129
 
129
- def option_or_env!(option_name, env_name)
130
- value = option_or_env(option_name, env_name)
131
- return value if value
130
+ def option_or_env!(option_name, env_name)
131
+ value = option_or_env(option_name, env_name)
132
+ return value if value
132
133
 
133
- puts "Error: --#{option_name} or #{env_name} is either required!"
134
- exit!
134
+ puts "Error: --#{option_name} or #{env_name} is either required!"
135
+ exit!
136
+ end
135
137
  end
136
138
  end
137
139
  end
@@ -30,7 +30,7 @@ module GitlabMrRelease
30
30
  def merge_request_iids_between(from, to)
31
31
  commits = Gitlab.repo_compare(@project_name, from, to).commits
32
32
  commits.map do |commit|
33
- commit["message"] =~ /^Merge branch .*See merge request \!(\d+)$/m
33
+ commit["message"] =~ /^Merge branch .*See merge request .*\!(\d+)$/m
34
34
  $1
35
35
  end.compact.map(&:to_i)
36
36
  end
@@ -42,13 +42,45 @@ module GitlabMrRelease
42
42
 
43
43
  def create_merge_request(source_branch:, target_branch:, title:, template:, labels:)
44
44
  iids = merge_request_iids_between(target_branch, source_branch)
45
- options = {
46
- source_branch: source_branch,
47
- target_branch: target_branch,
48
- description: generate_description(iids, template),
49
- labels: labels,
50
- }
51
- Gitlab.create_merge_request(@project_name, title, options)
45
+ description = generate_description(iids, template)
46
+
47
+ mr = find_current_release_mr(source_branch, target_branch)
48
+ if mr.nil?
49
+ options = {
50
+ source_branch: source_branch,
51
+ target_branch: target_branch,
52
+ description: description,
53
+ labels: labels,
54
+ }
55
+ Gitlab.create_merge_request(@project_name, title, options)
56
+ else
57
+ options = {
58
+ title: title,
59
+ description: apply_checkbox_statuses(description, mr.description)
60
+ }
61
+ Gitlab.update_merge_request(@project_name, mr.iid, options)
62
+ end
63
+ end
64
+
65
+ # find release mr already exists
66
+ def find_current_release_mr(source_branch, target_branch)
67
+ Gitlab.merge_requests(@project_name, state: :opened).find do |mr|
68
+ mr.source_branch == source_branch && mr.target_branch == target_branch
69
+ end
70
+ end
71
+
72
+ def apply_checkbox_statuses(new_desc, old_desc)
73
+ checked_iids = old_desc.split("\n").select{ |line| line.include?("[x]") }.map{ |line| /\!\d+/.match(line).to_a.first }.compact
74
+
75
+ applied_lines = new_desc.split("\n").map do |line|
76
+ iid = /\!\d+/.match(line).to_a.first
77
+ if !iid.nil? && checked_iids.include?(iid)
78
+ line.gsub(/^( *)(\d+?\.|-|\*) \[ \]/) { "#{$1}#{$2} [x]" }
79
+ else
80
+ line
81
+ end
82
+ end
83
+ applied_lines.join("\n")
52
84
  end
53
85
  end
54
86
  end
@@ -1,3 +1,3 @@
1
1
  module GitlabMrRelease
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_mr_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-01 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.10'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.10'
83
83
  - !ruby/object:Gem::Dependency
@@ -95,21 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: codeclimate-test-reporter
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 1.0.0
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 1.0.0
111
- - !ruby/object:Gem::Dependency
112
- name: pry-byebug
98
+ name: rake
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - ">="
@@ -123,21 +109,21 @@ dependencies:
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
- name: rake
112
+ name: rspec
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
- - - "~>"
115
+ - - ">="
130
116
  - !ruby/object:Gem::Version
131
- version: '10.0'
117
+ version: '0'
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
- - - "~>"
122
+ - - ">="
137
123
  - !ruby/object:Gem::Version
138
- version: '10.0'
124
+ version: '0'
139
125
  - !ruby/object:Gem::Dependency
140
- name: rspec
126
+ name: rspec-parameterized
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - ">="
@@ -151,7 +137,7 @@ dependencies:
151
137
  - !ruby/object:Gem::Version
152
138
  version: '0'
153
139
  - !ruby/object:Gem::Dependency
154
- name: rspec-parameterized
140
+ name: simplecov
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - ">="
@@ -165,19 +151,19 @@ dependencies:
165
151
  - !ruby/object:Gem::Version
166
152
  version: '0'
167
153
  - !ruby/object:Gem::Dependency
168
- name: simplecov
154
+ name: unparser
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - ">="
172
158
  - !ruby/object:Gem::Version
173
- version: '0'
159
+ version: 0.4.5
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - ">="
179
165
  - !ruby/object:Gem::Version
180
- version: '0'
166
+ version: 0.4.5
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: webmock
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -202,9 +188,9 @@ extra_rdoc_files: []
202
188
  files:
203
189
  - ".coveralls.yml"
204
190
  - ".env.gitlab.example"
191
+ - ".github/workflows/test.yml"
205
192
  - ".gitignore"
206
193
  - ".rspec"
207
- - ".travis.yml"
208
194
  - CHANGELOG.md
209
195
  - Gemfile
210
196
  - LICENSE.txt
@@ -224,8 +210,12 @@ files:
224
210
  homepage: https://github.com/sue445/gitlab_mr_release
225
211
  licenses:
226
212
  - MIT
227
- metadata: {}
228
- post_install_message:
213
+ metadata:
214
+ homepage_uri: https://github.com/sue445/gitlab_mr_release
215
+ source_code_uri: https://github.com/sue445/gitlab_mr_release
216
+ changelog_uri: https://github.com/sue445/gitlab_mr_release/blob/master/CHANGELOG.md
217
+ rubygems_mfa_required: 'true'
218
+ post_install_message:
229
219
  rdoc_options: []
230
220
  require_paths:
231
221
  - lib
@@ -240,9 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
230
  - !ruby/object:Gem::Version
241
231
  version: '0'
242
232
  requirements: []
243
- rubyforge_project:
244
- rubygems_version: 2.6.11
245
- signing_key:
233
+ rubygems_version: 3.2.22
234
+ signing_key:
246
235
  specification_version: 4
247
236
  summary: Release MergeRequest generator for GitLab
248
237
  test_files: []
data/.travis.yml DELETED
@@ -1,26 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1
4
- - 2.2.5
5
- - 2.3.1
6
- - 2.4.1
7
- - ruby-head
8
- cache: bundler
9
- sudo: false
10
- before_install: gem install bundler -v 1.10.6
11
- before_script:
12
- - export CODECLIMATE_REPO_TOKEN=771643fe0b3a3f2185eacf5fb025ec009d40cab4402d97b83ece04436e5e1739
13
- - export CI=true
14
- script:
15
- - bundle exec rspec
16
- - bundle exec codeclimate-test-reporter
17
- branches:
18
- only:
19
- - master
20
- notifications:
21
- email: false
22
- slack:
23
- secure: dkjEtoWyHEstKewrX6InD/wym1hmUZMdr/JfSP2HJLWS5U4mWyq8UY3ulvRWgoElKFhEUtQYYTzAp0BwoM4pQ9VdXX+tR0wIg6ETte2uP/ETTv/bZLbCm6ZfD0pk86Wq5NJVAVskwjZcxL3GKYVJz5kru83h7yGGHJ2oxB0ClZLK0DPJSReC7fItzcKHiz0LQe1P26BqOSeRIzTLiJldNiu/tCQyZxN8m5rRiaDfsWxeH0oRnz0VCY8L3ZU0ji5qTXZeE89o+TikL4fNri78bziDRXOiC+PGAsr03F8fNCja6UgofNSRsVkpjkbQhyBnjQJnU4aVzRIOcZDcRXXRvk/VNfvxiodZ8EpEwn9qkjx71rfklTyOj2HMNpuWLeNfFkdnh2qaVOfKAQ/hW0wfStn2Pcxm1mBV0bAFQuon2mXcj+vUYrXo9iHslXlzO6nf/wQR7R6rvqJGgmjSpVomehoR5EllD6AmhaWyboh0i0Kyr6INKzvLtV4bHqaYlZXD931gRXGW0PWHrX8KvXAtYVngjmouJ8Jqu5PdJm2nH0OQMHfwxWbh991gGG76UIga4Pfou+XSxTji3G3T0D1btHvMLpNvx6rfeL+cPXq5LGc2UVf9QEwEwJyKB/i2XjXUNQE4X5yl+rfgky9dWOBu+D8yYxnoUoKYfo1uOg/kns8=
24
- matrix:
25
- allow_failures:
26
- - rvm: ruby-head