gitlabci-bundle-update-mr 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b573b689c6bf38bb800c26ffcbe5e34815bc4ad8f6ae5c92ae5ba7d83ec930e2
4
- data.tar.gz: ffba9360127be72feea30613f07ce99c8c3d55a2261ffe6acbfa55e2985db796
3
+ metadata.gz: 2f6e069d472e3b2f55ef91137eaa34be5f0b01fb6ed6034e56ac9b38892e18a9
4
+ data.tar.gz: 81880b1864a23db44575c1889f12c24156efa073c525036de84f85afce86beed
5
5
  SHA512:
6
- metadata.gz: 3242994d13cd7c4959d5399bee444e6d13d59ad54ae2d141c5952f669b0d53f3939c47f6e5fb9e943893e779022762494a16db40039a8c0c00f1da108479a464
7
- data.tar.gz: e9083b867e926800dc01b450b92da8c77eaeb5eb22f75f1b86627e8c209b09c5f7c9e206cd8e79581ab59ec29454dc8565cfbc65b8102cada9a9d4a94c53360b
6
+ metadata.gz: 1429807a4deb0f85e6b9e18130c6ee593c35997460724efdf6c67a9df22b5de213c5db0fd9c3cc2073a61d254a7d94ed4c860527885df7ecd31907be67ee80ea
7
+ data.tar.gz: d652adce7976d1588aaa68829a8c964f2c95b2fbdb2a400a0f05e96bb326ffb6d0ca71c12835d757c8161c94ea361f069000c27a9cb147aac8c671cc5e27dec0
data/.codeclimate.yml ADDED
@@ -0,0 +1,3 @@
1
+ plugins:
2
+ rubocop:
3
+ enabled: false
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
- except:
34
- - schedules
35
- - web
36
- - tags
37
-
38
- .test:
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
- test:2.5:
48
- extends: .test
49
-
50
- image: ruby:2.5
51
-
52
- test:2.6:
53
- extends: .test
54
-
55
- image: ruby:2.6
56
-
57
- test:2.7:
58
- extends: .test
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
- rubocop:
74
- extends: .default
69
+ artifacts:
70
+ paths: [gl-code-quality-report.json]
75
71
 
76
- stage: build
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
- image: ruby
79
+ code_quality_html:
80
+ extends: code_quality
79
81
 
80
- script:
81
- - bundle exec rubocop -P
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
- only:
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...master)
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.2)
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.7.0)
14
+ addressable (2.8.0)
15
15
  public_suffix (>= 2.0.2, < 5.0)
16
- ast (2.4.1)
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.3.4)
25
+ docile (1.4.0)
26
26
  dotenv (2.7.6)
27
- faraday (1.3.0)
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-net_http (1.0.0)
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.2)
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.18.1)
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.3.1)
61
+ mime-types (3.4.1)
48
62
  mime-types-data (~> 3.2015)
49
- mime-types-data (3.2020.1104)
63
+ mime-types-data (3.2021.1115)
50
64
  multi_xml (0.6.0)
51
65
  multipart-post (2.1.1)
52
- octokit (4.20.0)
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.20.1)
59
- parser (3.0.0.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.3)
83
+ rake (13.0.6)
70
84
  rchardet (1.8.0)
71
- regexp_parser (2.0.3)
85
+ regexp_parser (2.1.1)
72
86
  restore_bundled_with (1.0.0)
73
87
  git
74
88
  thor
75
- rexml (3.2.4)
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.1)
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.1)
105
+ rspec-support (3.10.3)
92
106
  rspec-temp_dir (1.1.0)
93
107
  rspec (>= 3.0)
94
- rubocop (1.7.0)
108
+ rubocop (1.23.0)
95
109
  parallel (~> 1.10)
96
- parser (>= 2.7.1.5)
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.2.0, < 2.0)
114
+ rubocop-ast (>= 1.12.0, < 2.0)
101
115
  ruby-progressbar (~> 1.7)
102
- unicode-display_width (>= 1.4.0, < 2.0)
103
- rubocop-ast (1.4.0)
104
- parser (>= 2.7.1.5)
105
- rubocop-performance (1.9.2)
106
- rubocop (>= 0.90.0, < 2.0)
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.1.0)
109
- rubocop (~> 1.0)
110
- rubocop-ast (>= 1.1.0)
111
- rubocop_auto_corrector (0.4.1)
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.2)
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.0)
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.2)
124
- terminal-table (1.8.0)
125
- unicode-display_width (~> 1.1, >= 1.1.1)
126
- thor (1.0.1)
127
- unicode-display_width (1.7.0)
128
- webmock (3.11.0)
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
- "public gem pushes."
25
+ "public gem pushes."
25
26
  end
26
27
 
27
28
  # Specify which files should be added to the gem when it is released.
@@ -2,7 +2,7 @@ module Gitlabci
2
2
  module Bundle
3
3
  module Update
4
4
  module Mr
5
- VERSION = "1.1.2".freeze
5
+ VERSION = "1.1.3".freeze
6
6
  end
7
7
  end
8
8
  end
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.2
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-01-04 00:00:00.000000000 Z
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.1.4
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