gitlabci-bundle-update-mr 2.0.0 → 2.0.1.rc1

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: f16bea62fc99ac5f2aa52d7cb47cdd19ae113f8ff17b0bfe8cdf09c8a3050575
4
- data.tar.gz: 3e3bfb1b3b39c8893e2f87410925ab83e1cf814a09399ada5a24cc604a0365ca
3
+ metadata.gz: d95d0d354233223f51c803a17a114e71674a18810699e2073104502398516b5f
4
+ data.tar.gz: dae0bbf254380bec0b164717ec41f0be1959e380bb70010361a7d25384bae20d
5
5
  SHA512:
6
- metadata.gz: 8e23aaad3dc82224d0518b75cde9f234b98a8a2ac563c22b637184a9566d620cd25e838c3bb320b4104f42a203d8e4d46745b30a2f63dcbc7775384ae3e6c654
7
- data.tar.gz: 166a9ab45ff3399bf15c762e44a9895502d956cc0ab314bd032d3cc72f59b232eaf5ce65a27e547598fdb212baa840a3647be951215a0588a805c0ff4e0136d4
6
+ metadata.gz: 15fed20615d18efc697d91e4b22cdf60592914b3ba1f785b854fd07d47e9fcdf2bb8a43c57956c4c6e1341a7a677898de87771cb452f49a77d4f7d2c3f688f19
7
+ data.tar.gz: cafc08d057ceb050a6ca57ddb54466389947cf216ca7806009ea36df2623df9d52fe2564e5b76a17ff6bc84c5cd4b3f447bc22d527932ba0ab36fa197899e55b
data/.gitlab-ci.yml CHANGED
@@ -14,6 +14,7 @@ continuous_bundle_update:
14
14
  GIT_USER: "GitLab CI"
15
15
  OPTIONS: "--merge-when-pipeline-succeeds"
16
16
  ASSIGNEES: "sue445"
17
+ GEM_VERSION: "2.0.1.rc1"
17
18
 
18
19
  before_script:
19
20
  # Set timezone to Asia/Tokyo
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlabci-bundle-update-mr (2.0.0)
4
+ gitlabci-bundle-update-mr (2.0.1.rc1)
5
5
  bundler
6
6
  compare_linker (>= 1.4.3)
7
7
  git (= 1.7.0)
@@ -23,11 +23,11 @@ GEM
23
23
  rexml
24
24
  diff-lcs (1.5.0)
25
25
  docile (1.4.0)
26
- dotenv (2.7.6)
27
- faraday (2.3.0)
28
- faraday-net_http (~> 2.0)
26
+ dotenv (2.8.1)
27
+ faraday (2.5.2)
28
+ faraday-net_http (>= 2.0, < 3.1)
29
29
  ruby2_keywords (>= 0.0.4)
30
- faraday-net_http (2.0.3)
30
+ faraday-net_http (3.0.0)
31
31
  git (1.7.0)
32
32
  rchardet (~> 1.8)
33
33
  gitlab (4.19.0)
@@ -55,7 +55,7 @@ GEM
55
55
  rubocop (>= 0.80.0)
56
56
  rubocop-rspec (>= 1.34.0)
57
57
  parallel (1.22.1)
58
- parser (3.1.2.0)
58
+ parser (3.1.2.1)
59
59
  ast (~> 2.4.1)
60
60
  pry (0.13.1)
61
61
  coderay (~> 1.1)
@@ -90,19 +90,19 @@ GEM
90
90
  rspec-support (3.11.0)
91
91
  rspec-temp_dir (1.1.1)
92
92
  rspec (>= 3.0)
93
- rubocop (1.31.2)
93
+ rubocop (1.35.0)
94
94
  json (~> 2.3)
95
95
  parallel (~> 1.10)
96
- parser (>= 3.1.0.0)
96
+ parser (>= 3.1.2.1)
97
97
  rainbow (>= 2.2.2, < 4.0)
98
98
  regexp_parser (>= 1.8, < 3.0)
99
99
  rexml (>= 3.2.5, < 4.0)
100
- rubocop-ast (>= 1.18.0, < 2.0)
100
+ rubocop-ast (>= 1.20.1, < 2.0)
101
101
  ruby-progressbar (~> 1.7)
102
102
  unicode-display_width (>= 1.4.0, < 3.0)
103
- rubocop-ast (1.19.1)
103
+ rubocop-ast (1.21.0)
104
104
  parser (>= 3.1.1.0)
105
- rubocop-performance (1.14.2)
105
+ rubocop-performance (1.14.3)
106
106
  rubocop (>= 1.7.0, < 2.0)
107
107
  rubocop-ast (>= 0.4.0)
108
108
  rubocop-rspec (2.12.1)
@@ -124,7 +124,7 @@ GEM
124
124
  unicode-display_width (>= 1.1.1, < 3)
125
125
  thor (1.2.1)
126
126
  unicode-display_width (2.2.0)
127
- webmock (3.14.0)
127
+ webmock (3.17.1)
128
128
  addressable (>= 2.8.0)
129
129
  crack (>= 0.3.2)
130
130
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -155,6 +155,3 @@ DEPENDENCIES
155
155
  simplecov
156
156
  webmock
157
157
  yard
158
-
159
- BUNDLED WITH
160
- 2.3.7
data/README.md CHANGED
@@ -101,8 +101,9 @@ continuous_bundle_update:
101
101
  GIT_EMAIL: "gitlabci@example.com"
102
102
  GIT_USER: "GitLab CI"
103
103
  LABELS: "bundle update"
104
- ASSIGNEES: "foo, bar, baz"
104
+ ASSIGNEES: "" # If you want to set up multiple assignees, please separate them by commas (e.g. "foo, bar, baz")
105
105
  OPTIONS: ""
106
+ GEM_VERSION: "" # default: install latest version of gitlabci-bundle-update-mr
106
107
 
107
108
  before_script:
108
109
  # Set timezone to Asia/Tokyo
@@ -16,7 +16,12 @@ continuous_bundle_update:
16
16
 
17
17
  script:
18
18
  - bundle install --path vendor/bundle --clean
19
- - gem install --no-doc gitlabci-bundle-update-mr
19
+ - |
20
+ GEM_INSTALL_OPTIONS="$GEM_INSTALL_OPTIONS --no-doc"
21
+ if [ -n "$GEM_VERSION" ]; then
22
+ GEM_INSTALL_OPTIONS="--version $GEM_VERSION $GEM_INSTALL_OPTIONS"
23
+ fi
24
+ - gem install gitlabci-bundle-update-mr $GEM_INSTALL_OPTIONS
20
25
  - |
21
26
  if [ -n "$ASSIGNEES" ]; then
22
27
  OPTIONS="--assignees $ASSIGNEES $OPTIONS"
@@ -216,7 +216,7 @@ module Gitlabci
216
216
  retry_count ||= 0
217
217
 
218
218
  yield
219
- rescue Gitlab::Error::MethodNotAllowed, Gitlab::Error::NotAcceptable => e
219
+ rescue Gitlab::Error::MethodNotAllowed, Gitlab::Error::NotAcceptable, Gitlab::Error::Unprocessable => e
220
220
  retry_count += 1
221
221
 
222
222
  if retry_count > MAX_RETRY_COUNT
@@ -2,7 +2,7 @@ module Gitlabci
2
2
  module Bundle
3
3
  module Update
4
4
  module Mr
5
- VERSION = "2.0.0".freeze
5
+ VERSION = "2.0.1.rc1".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: 2.0.0
4
+ version: 2.0.1.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-13 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -353,9 +353,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
353
353
  version: 2.6.0
354
354
  required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  requirements:
356
- - - ">="
356
+ - - ">"
357
357
  - !ruby/object:Gem::Version
358
- version: '0'
358
+ version: 1.3.1
359
359
  requirements: []
360
360
  rubygems_version: 3.3.7
361
361
  signing_key: