gitlabci-bundle-update-mr 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +3 -0
- data/.gitlab-ci.yml +47 -39
- data/CHANGELOG.md +6 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +54 -41
- data/gitlabci-bundle-update-mr.gemspec +2 -1
- data/lib/gitlabci/bundle/update/mr/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6e069d472e3b2f55ef91137eaa34be5f0b01fb6ed6034e56ac9b38892e18a9
|
4
|
+
data.tar.gz: 81880b1864a23db44575c1889f12c24156efa073c525036de84f85afce86beed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1429807a4deb0f85e6b9e18130c6ee593c35997460724efdf6c67a9df22b5de213c5db0fd9c3cc2073a61d254a7d94ed4c860527885df7ecd31907be67ee80ea
|
7
|
+
data.tar.gz: d652adce7976d1588aaa68829a8c964f2c95b2fbdb2a400a0f05e96bb326ffb6d0ca71c12835d757c8161c94ea361f069000c27a9cb147aac8c671cc5e27dec0
|
data/.codeclimate.yml
ADDED
data/.gitlab-ci.yml
CHANGED
@@ -4,6 +4,7 @@ stages:
|
|
4
4
|
|
5
5
|
include:
|
6
6
|
- local: "/gitlabci-templates/continuous_bundle_update.yml"
|
7
|
+
- template: Code-Quality.gitlab-ci.yml
|
7
8
|
|
8
9
|
continuous_bundle_update:
|
9
10
|
stage: build
|
@@ -30,55 +31,58 @@ continuous_bundle_update:
|
|
30
31
|
- bundle install --retry=3 --jobs=$(nproc)
|
31
32
|
- bundle clean
|
32
33
|
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
34
|
+
rules:
|
35
|
+
- if: '$CI_COMMIT_TAG'
|
36
|
+
when: never
|
37
|
+
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
38
|
+
when: never
|
39
|
+
- if: '$IMAGE == "rubylang/ruby:master-nightly-bionic"'
|
40
|
+
allow_failure: true
|
41
|
+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
42
|
+
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
43
|
+
|
44
|
+
test:
|
39
45
|
extends: .default
|
40
46
|
|
41
47
|
stage: build
|
42
48
|
|
49
|
+
image: $IMAGE
|
50
|
+
|
43
51
|
script:
|
44
52
|
- bundle exec rspec
|
45
53
|
- bundle exec ./exe/gitlabci-bundle-update-mr --help
|
54
|
+
- bundle exec rubocop -P
|
46
55
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
image: ruby:2.7
|
61
|
-
|
62
|
-
test:3.0:
|
63
|
-
extends: .test
|
64
|
-
|
65
|
-
image: ruby:3.0
|
66
|
-
|
67
|
-
test:trunk:
|
68
|
-
extends: .test
|
69
|
-
|
70
|
-
image: rubylang/ruby:trunk-nightly-bionic
|
71
|
-
allow_failure: true
|
56
|
+
parallel:
|
57
|
+
matrix:
|
58
|
+
- IMAGE:
|
59
|
+
- ruby:2.5
|
60
|
+
- ruby:2.6
|
61
|
+
- ruby:2.7
|
62
|
+
- ruby:3.0
|
63
|
+
- rubylang/ruby:master-nightly-bionic
|
64
|
+
|
65
|
+
# c.f. https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
|
66
|
+
code_quality:
|
67
|
+
stage: build
|
72
68
|
|
73
|
-
|
74
|
-
|
69
|
+
artifacts:
|
70
|
+
paths: [gl-code-quality-report.json]
|
75
71
|
|
76
|
-
|
72
|
+
rules:
|
73
|
+
- if: '$CODE_QUALITY_DISABLED'
|
74
|
+
when: never
|
75
|
+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
76
|
+
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
77
|
+
- if: '$CI_COMMIT_TAG'
|
77
78
|
|
78
|
-
|
79
|
+
code_quality_html:
|
80
|
+
extends: code_quality
|
79
81
|
|
80
|
-
|
81
|
-
|
82
|
+
variables:
|
83
|
+
REPORT_FORMAT: html
|
84
|
+
artifacts:
|
85
|
+
paths: [ gl-code-quality-report.html ]
|
82
86
|
|
83
87
|
pages:
|
84
88
|
extends: .default
|
@@ -87,13 +91,17 @@ pages:
|
|
87
91
|
|
88
92
|
image: ruby
|
89
93
|
|
94
|
+
dependencies:
|
95
|
+
- code_quality_html
|
96
|
+
|
90
97
|
script:
|
91
98
|
- bundle exec yard
|
99
|
+
- mv gl-code-quality-report.html public/
|
92
100
|
artifacts:
|
93
101
|
paths:
|
94
102
|
- public
|
95
|
-
|
96
|
-
- master
|
103
|
+
rules:
|
104
|
+
- if: '$CI_COMMIT_BRANCH == "master"'
|
97
105
|
|
98
106
|
gitlab_awesome_release:
|
99
107
|
stage: build
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
## Unreleased
|
2
|
-
[full changelog](https://gitlab.com/sue445/gitlabci-bundle-update-mr/compare/v1.1.
|
2
|
+
[full changelog](https://gitlab.com/sue445/gitlabci-bundle-update-mr/compare/v1.1.3...master)
|
3
|
+
|
4
|
+
## v1.1.3
|
5
|
+
[full changelog](https://gitlab.com/sue445/gitlabci-bundle-update-mr/compare/v1.1.2...v1.1.3)
|
6
|
+
|
7
|
+
* Enable MFA requirement for gem releasing [!181](https://gitlab.com/sue445/gitlabci-bundle-update-mr/merge_requests/181) *@sue445*
|
3
8
|
|
4
9
|
## v1.1.2
|
5
10
|
[full changelog](https://gitlab.com/sue445/gitlabci-bundle-update-mr/compare/v1.1.1...v1.1.2)
|
data/Gemfile
CHANGED
@@ -8,3 +8,7 @@ gemspec
|
|
8
8
|
gem "faraday", ">= 0.15.4"
|
9
9
|
gem "octokit", ">= 4.13.0"
|
10
10
|
gem "sawyer", ">= 0.8.1"
|
11
|
+
|
12
|
+
# v1.22.2 has a false positive. This issue has been fixed but has not yet been released at this time...
|
13
|
+
# c.f. https://github.com/rubocop/rubocop/pull/10207
|
14
|
+
gem "rubocop", ">= 1.22.1", "!= 1.22.2"
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlabci-bundle-update-mr (1.1.
|
4
|
+
gitlabci-bundle-update-mr (1.1.3)
|
5
5
|
bundler
|
6
6
|
compare_linker (>= 1.4.3)
|
7
7
|
git (= 1.7.0)
|
@@ -11,9 +11,9 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
addressable (2.
|
14
|
+
addressable (2.8.0)
|
15
15
|
public_suffix (>= 2.0.2, < 5.0)
|
16
|
-
ast (2.4.
|
16
|
+
ast (2.4.2)
|
17
17
|
byebug (11.1.3)
|
18
18
|
coderay (1.1.3)
|
19
19
|
compare_linker (1.4.4)
|
@@ -22,41 +22,55 @@ GEM
|
|
22
22
|
crack (0.4.5)
|
23
23
|
rexml
|
24
24
|
diff-lcs (1.4.4)
|
25
|
-
docile (1.
|
25
|
+
docile (1.4.0)
|
26
26
|
dotenv (2.7.6)
|
27
|
-
faraday (1.
|
27
|
+
faraday (1.8.0)
|
28
|
+
faraday-em_http (~> 1.0)
|
29
|
+
faraday-em_synchrony (~> 1.0)
|
30
|
+
faraday-excon (~> 1.1)
|
31
|
+
faraday-httpclient (~> 1.0.1)
|
28
32
|
faraday-net_http (~> 1.0)
|
33
|
+
faraday-net_http_persistent (~> 1.1)
|
34
|
+
faraday-patron (~> 1.0)
|
35
|
+
faraday-rack (~> 1.0)
|
29
36
|
multipart-post (>= 1.2, < 3)
|
30
|
-
ruby2_keywords
|
31
|
-
faraday-
|
37
|
+
ruby2_keywords (>= 0.0.4)
|
38
|
+
faraday-em_http (1.0.0)
|
39
|
+
faraday-em_synchrony (1.0.0)
|
40
|
+
faraday-excon (1.1.0)
|
41
|
+
faraday-httpclient (1.0.1)
|
42
|
+
faraday-net_http (1.0.1)
|
43
|
+
faraday-net_http_persistent (1.2.0)
|
44
|
+
faraday-patron (1.0.0)
|
45
|
+
faraday-rack (1.0.0)
|
32
46
|
git (1.7.0)
|
33
47
|
rchardet (~> 1.8)
|
34
48
|
gitlab (4.17.0)
|
35
49
|
httparty (~> 0.18)
|
36
50
|
terminal-table (~> 1.5, >= 1.5.1)
|
37
|
-
gitlab_awesome_release (1.0.
|
51
|
+
gitlab_awesome_release (1.0.3)
|
38
52
|
dotenv
|
39
53
|
gitlab (>= 4.0.0)
|
40
54
|
thor
|
41
55
|
hashdiff (1.0.1)
|
42
|
-
httparty (0.
|
56
|
+
httparty (0.20.0)
|
43
57
|
mime-types (~> 3.0)
|
44
58
|
multi_xml (>= 0.5.2)
|
45
59
|
httpclient (2.8.3)
|
46
60
|
method_source (1.0.0)
|
47
|
-
mime-types (3.
|
61
|
+
mime-types (3.4.1)
|
48
62
|
mime-types-data (~> 3.2015)
|
49
|
-
mime-types-data (3.
|
63
|
+
mime-types-data (3.2021.1115)
|
50
64
|
multi_xml (0.6.0)
|
51
65
|
multipart-post (2.1.1)
|
52
|
-
octokit (4.
|
66
|
+
octokit (4.21.0)
|
53
67
|
faraday (>= 0.9)
|
54
68
|
sawyer (~> 0.8.0, >= 0.5.3)
|
55
69
|
onkcop (1.0.0.0)
|
56
70
|
rubocop (>= 0.80.0)
|
57
71
|
rubocop-rspec (>= 1.34.0)
|
58
|
-
parallel (1.
|
59
|
-
parser (3.0.
|
72
|
+
parallel (1.21.0)
|
73
|
+
parser (3.0.2.0)
|
60
74
|
ast (~> 2.4.1)
|
61
75
|
pry (0.13.1)
|
62
76
|
coderay (~> 1.1)
|
@@ -66,13 +80,13 @@ GEM
|
|
66
80
|
pry (~> 0.13.0)
|
67
81
|
public_suffix (4.0.6)
|
68
82
|
rainbow (3.0.0)
|
69
|
-
rake (13.0.
|
83
|
+
rake (13.0.6)
|
70
84
|
rchardet (1.8.0)
|
71
|
-
regexp_parser (2.
|
85
|
+
regexp_parser (2.1.1)
|
72
86
|
restore_bundled_with (1.0.0)
|
73
87
|
git
|
74
88
|
thor
|
75
|
-
rexml (3.2.
|
89
|
+
rexml (3.2.5)
|
76
90
|
rspec (3.10.0)
|
77
91
|
rspec-core (~> 3.10.0)
|
78
92
|
rspec-expectations (~> 3.10.0)
|
@@ -85,48 +99,46 @@ GEM
|
|
85
99
|
rspec-its (1.3.0)
|
86
100
|
rspec-core (>= 3.0.0)
|
87
101
|
rspec-expectations (>= 3.0.0)
|
88
|
-
rspec-mocks (3.10.
|
102
|
+
rspec-mocks (3.10.2)
|
89
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
90
104
|
rspec-support (~> 3.10.0)
|
91
|
-
rspec-support (3.10.
|
105
|
+
rspec-support (3.10.3)
|
92
106
|
rspec-temp_dir (1.1.0)
|
93
107
|
rspec (>= 3.0)
|
94
|
-
rubocop (1.
|
108
|
+
rubocop (1.23.0)
|
95
109
|
parallel (~> 1.10)
|
96
|
-
parser (>=
|
110
|
+
parser (>= 3.0.0.0)
|
97
111
|
rainbow (>= 2.2.2, < 4.0)
|
98
112
|
regexp_parser (>= 1.8, < 3.0)
|
99
113
|
rexml
|
100
|
-
rubocop-ast (>= 1.
|
114
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
101
115
|
ruby-progressbar (~> 1.7)
|
102
|
-
unicode-display_width (>= 1.4.0, <
|
103
|
-
rubocop-ast (1.
|
104
|
-
parser (>=
|
105
|
-
rubocop-performance (1.
|
106
|
-
rubocop (>=
|
116
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
117
|
+
rubocop-ast (1.13.0)
|
118
|
+
parser (>= 3.0.1.1)
|
119
|
+
rubocop-performance (1.12.0)
|
120
|
+
rubocop (>= 1.7.0, < 2.0)
|
107
121
|
rubocop-ast (>= 0.4.0)
|
108
|
-
rubocop-rspec (2.
|
109
|
-
rubocop (~> 1.
|
110
|
-
|
111
|
-
|
112
|
-
rubocop (>= 0.87.0)
|
122
|
+
rubocop-rspec (2.6.0)
|
123
|
+
rubocop (~> 1.19)
|
124
|
+
rubocop_auto_corrector (0.4.2)
|
125
|
+
rubocop (>= 1.13.0)
|
113
126
|
ruby-progressbar (1.11.0)
|
114
|
-
ruby2_keywords (0.0.
|
127
|
+
ruby2_keywords (0.0.5)
|
115
128
|
sawyer (0.8.2)
|
116
129
|
addressable (>= 2.3.5)
|
117
130
|
faraday (> 0.8, < 2.0)
|
118
|
-
simplecov (0.21.
|
131
|
+
simplecov (0.21.2)
|
119
132
|
docile (~> 1.1)
|
120
133
|
simplecov-html (~> 0.11)
|
121
134
|
simplecov_json_formatter (~> 0.1)
|
122
135
|
simplecov-html (0.12.3)
|
123
|
-
simplecov_json_formatter (0.1.
|
124
|
-
terminal-table (1.
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
addressable (>= 2.3.6)
|
136
|
+
simplecov_json_formatter (0.1.3)
|
137
|
+
terminal-table (1.6.0)
|
138
|
+
thor (1.1.0)
|
139
|
+
unicode-display_width (2.1.0)
|
140
|
+
webmock (3.14.0)
|
141
|
+
addressable (>= 2.8.0)
|
130
142
|
crack (>= 0.3.2)
|
131
143
|
hashdiff (>= 0.4.0, < 2.0.0)
|
132
144
|
yard (0.9.26)
|
@@ -146,6 +158,7 @@ DEPENDENCIES
|
|
146
158
|
rspec (~> 3.0)
|
147
159
|
rspec-its
|
148
160
|
rspec-temp_dir
|
161
|
+
rubocop (>= 1.22.1, != 1.22.2)
|
149
162
|
rubocop-performance
|
150
163
|
rubocop_auto_corrector
|
151
164
|
sawyer (>= 0.8.1)
|
@@ -19,9 +19,10 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.metadata["homepage_uri"] = spec.homepage
|
20
20
|
spec.metadata["source_code_uri"] = spec.homepage
|
21
21
|
spec.metadata["changelog_uri"] = "https://gitlab.com/sue445/gitlabci-bundle-update-mr/blob/master/CHANGELOG.md"
|
22
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
22
23
|
else
|
23
24
|
raise "RubyGems 2.0 or newer is required to protect against " \
|
24
|
-
|
25
|
+
"public gem pushes."
|
25
26
|
end
|
26
27
|
|
27
28
|
# Specify which files should be added to the gem when it is released.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlabci-bundle-update-mr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -270,6 +270,7 @@ executables:
|
|
270
270
|
extensions: []
|
271
271
|
extra_rdoc_files: []
|
272
272
|
files:
|
273
|
+
- ".codeclimate.yml"
|
273
274
|
- ".env.example"
|
274
275
|
- ".env.gitlab"
|
275
276
|
- ".gitignore"
|
@@ -298,6 +299,7 @@ metadata:
|
|
298
299
|
homepage_uri: https://gitlab.com/sue445/gitlabci-bundle-update-mr
|
299
300
|
source_code_uri: https://gitlab.com/sue445/gitlabci-bundle-update-mr
|
300
301
|
changelog_uri: https://gitlab.com/sue445/gitlabci-bundle-update-mr/blob/master/CHANGELOG.md
|
302
|
+
rubygems_mfa_required: 'true'
|
301
303
|
post_install_message:
|
302
304
|
rdoc_options: []
|
303
305
|
require_paths:
|
@@ -313,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
315
|
- !ruby/object:Gem::Version
|
314
316
|
version: '0'
|
315
317
|
requirements: []
|
316
|
-
rubygems_version: 3.
|
318
|
+
rubygems_version: 3.2.22
|
317
319
|
signing_key:
|
318
320
|
specification_version: 4
|
319
321
|
summary: Create MergeRequest of bundle update in GitLab CI
|