circleci-bundle-update-pr 3.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +11 -13
- data/.rubocop.yml +3 -0
- data/Gemfile.lock +42 -58
- data/circleci-bundle-update-pr.gemspec +0 -2
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- data/spec/circleci/bundle/update/pr_spec.rb +1 -5
- metadata +4 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 988716c33812da28b13641f57780aed6130741771d549fe11d92333bc7e5b449
|
4
|
+
data.tar.gz: e1f52e9dbcaf1c833e721b47c902dfc92ab79b441e885fc50da4d8708744710d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f44eee34a01a224b41c24b8ec44db37c2893fd158bf2d9e35a85197108ce7a9d6dedf26e7174464eb209a403920970dd57f16d993ec43402d68faeb1fd2374db
|
7
|
+
data.tar.gz: e0f1e14c82f981197d1b826028c26e02f1ccaa3002373af23c8e9814d89ae93129dd496f87810203e8efdeae8fc77ac7d9d7b2e99f9173b02c63e7de3f4d2c99
|
data/.circleci/config.yml
CHANGED
@@ -8,7 +8,7 @@ executors:
|
|
8
8
|
parameters:
|
9
9
|
ruby_version:
|
10
10
|
type: enum
|
11
|
-
enum: ['2.
|
11
|
+
enum: ['2.7', '3.0', '3.1', '3.2']
|
12
12
|
docker:
|
13
13
|
- image: cimg/ruby:<< parameters.ruby_version >>
|
14
14
|
working_directory: ~/repo
|
@@ -23,7 +23,7 @@ commands:
|
|
23
23
|
parameters:
|
24
24
|
ruby_version:
|
25
25
|
type: enum
|
26
|
-
enum: ['2.
|
26
|
+
enum: ['2.7', '3.0', '3.1', '3.2']
|
27
27
|
steps:
|
28
28
|
- restore_cache:
|
29
29
|
name: Restore bundle cache
|
@@ -34,7 +34,7 @@ commands:
|
|
34
34
|
parameters:
|
35
35
|
ruby_version:
|
36
36
|
type: enum
|
37
|
-
enum: ['2.
|
37
|
+
enum: ['2.7', '3.0', '3.1', '3.2']
|
38
38
|
steps:
|
39
39
|
- save_cache:
|
40
40
|
name: Save bundle cache
|
@@ -47,7 +47,7 @@ jobs:
|
|
47
47
|
parameters:
|
48
48
|
ruby_version:
|
49
49
|
type: enum
|
50
|
-
enum: ['2.
|
50
|
+
enum: ['2.7', '3.0', '3.1', '3.2']
|
51
51
|
executor:
|
52
52
|
name: default
|
53
53
|
ruby_version: << parameters.ruby_version >>
|
@@ -59,7 +59,8 @@ jobs:
|
|
59
59
|
- run:
|
60
60
|
name: bundle install
|
61
61
|
command: |
|
62
|
-
bundle
|
62
|
+
bundle config set --local path vendor/bundle
|
63
|
+
bundle check || bundle install --jobs=4 --retry=3
|
63
64
|
bundle clean
|
64
65
|
- save_bundle_cache:
|
65
66
|
ruby_version: << parameters.ruby_version >>
|
@@ -69,12 +70,12 @@ jobs:
|
|
69
70
|
continuous_bundle_update:
|
70
71
|
executor:
|
71
72
|
name: default
|
72
|
-
ruby_version: '3.
|
73
|
+
ruby_version: '3.2'
|
73
74
|
steps:
|
74
75
|
- setup_requirements
|
75
76
|
- checkout
|
76
77
|
- restore_bundle_cache:
|
77
|
-
ruby_version: '3.
|
78
|
+
ruby_version: '3.2'
|
78
79
|
- run:
|
79
80
|
name: Install edge circleci-bundle-update-pr
|
80
81
|
command: |
|
@@ -89,12 +90,6 @@ workflows:
|
|
89
90
|
version: 2
|
90
91
|
ordinary:
|
91
92
|
jobs:
|
92
|
-
- build:
|
93
|
-
name: ruby-2.5
|
94
|
-
ruby_version: '2.5'
|
95
|
-
- build:
|
96
|
-
name: ruby-2.6
|
97
|
-
ruby_version: '2.6'
|
98
93
|
- build:
|
99
94
|
name: ruby-2.7
|
100
95
|
ruby_version: '2.7'
|
@@ -104,6 +99,9 @@ workflows:
|
|
104
99
|
- build:
|
105
100
|
name: ruby-3.1
|
106
101
|
ruby_version: '3.1'
|
102
|
+
- build:
|
103
|
+
name: ruby-3.2
|
104
|
+
ruby_version: '3.2'
|
107
105
|
nightly:
|
108
106
|
triggers:
|
109
107
|
- schedule:
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,90 +1,75 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
circleci-bundle-update-pr (
|
4
|
+
circleci-bundle-update-pr (4.0.0)
|
5
5
|
compare_linker (>= 1.4.0)
|
6
6
|
octokit
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.8.
|
12
|
-
public_suffix (>= 2.0.2, <
|
11
|
+
addressable (2.8.1)
|
12
|
+
public_suffix (>= 2.0.2, < 6.0)
|
13
13
|
ast (2.4.2)
|
14
14
|
compare_linker (1.4.4)
|
15
15
|
httpclient
|
16
16
|
octokit
|
17
17
|
diff-lcs (1.5.0)
|
18
|
-
faraday (
|
19
|
-
faraday-
|
20
|
-
faraday-em_synchrony (~> 1.0)
|
21
|
-
faraday-excon (~> 1.1)
|
22
|
-
faraday-httpclient (~> 1.0)
|
23
|
-
faraday-multipart (~> 1.0)
|
24
|
-
faraday-net_http (~> 1.0)
|
25
|
-
faraday-net_http_persistent (~> 1.0)
|
26
|
-
faraday-patron (~> 1.0)
|
27
|
-
faraday-rack (~> 1.0)
|
28
|
-
faraday-retry (~> 1.0)
|
18
|
+
faraday (2.7.4)
|
19
|
+
faraday-net_http (>= 2.0, < 3.1)
|
29
20
|
ruby2_keywords (>= 0.0.4)
|
30
|
-
faraday-
|
31
|
-
faraday-em_synchrony (1.0.0)
|
32
|
-
faraday-excon (1.1.0)
|
33
|
-
faraday-httpclient (1.0.1)
|
34
|
-
faraday-multipart (1.0.3)
|
35
|
-
multipart-post (>= 1.2, < 3)
|
36
|
-
faraday-net_http (1.0.1)
|
37
|
-
faraday-net_http_persistent (1.2.0)
|
38
|
-
faraday-patron (1.0.0)
|
39
|
-
faraday-rack (1.0.0)
|
40
|
-
faraday-retry (1.0.3)
|
21
|
+
faraday-net_http (3.0.2)
|
41
22
|
httpclient (2.8.3)
|
42
|
-
|
43
|
-
octokit (
|
44
|
-
faraday (>=
|
45
|
-
sawyer (~> 0.
|
46
|
-
parallel (1.
|
47
|
-
parser (3.1.
|
23
|
+
json (2.6.3)
|
24
|
+
octokit (6.0.1)
|
25
|
+
faraday (>= 1, < 3)
|
26
|
+
sawyer (~> 0.9)
|
27
|
+
parallel (1.22.1)
|
28
|
+
parser (3.2.1.0)
|
48
29
|
ast (~> 2.4.1)
|
49
|
-
public_suffix (
|
30
|
+
public_suffix (5.0.1)
|
50
31
|
rainbow (3.1.1)
|
51
32
|
rake (13.0.6)
|
52
|
-
regexp_parser (2.
|
33
|
+
regexp_parser (2.7.0)
|
53
34
|
rexml (3.2.5)
|
54
|
-
rspec (3.
|
55
|
-
rspec-core (~> 3.
|
56
|
-
rspec-expectations (~> 3.
|
57
|
-
rspec-mocks (~> 3.
|
58
|
-
rspec-core (3.
|
59
|
-
rspec-support (~> 3.
|
60
|
-
rspec-expectations (3.
|
35
|
+
rspec (3.12.0)
|
36
|
+
rspec-core (~> 3.12.0)
|
37
|
+
rspec-expectations (~> 3.12.0)
|
38
|
+
rspec-mocks (~> 3.12.0)
|
39
|
+
rspec-core (3.12.1)
|
40
|
+
rspec-support (~> 3.12.0)
|
41
|
+
rspec-expectations (3.12.2)
|
61
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
62
|
-
rspec-support (~> 3.
|
63
|
-
rspec-mocks (3.
|
43
|
+
rspec-support (~> 3.12.0)
|
44
|
+
rspec-mocks (3.12.3)
|
64
45
|
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
-
rspec-support (~> 3.
|
66
|
-
rspec-support (3.
|
67
|
-
rubocop (1.
|
46
|
+
rspec-support (~> 3.12.0)
|
47
|
+
rspec-support (3.12.0)
|
48
|
+
rubocop (1.45.1)
|
49
|
+
json (~> 2.3)
|
68
50
|
parallel (~> 1.10)
|
69
|
-
parser (>= 3.
|
51
|
+
parser (>= 3.2.0.0)
|
70
52
|
rainbow (>= 2.2.2, < 4.0)
|
71
53
|
regexp_parser (>= 1.8, < 3.0)
|
72
|
-
rexml
|
73
|
-
rubocop-ast (>= 1.
|
54
|
+
rexml (>= 3.2.5, < 4.0)
|
55
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
74
56
|
ruby-progressbar (~> 1.7)
|
75
|
-
unicode-display_width (>=
|
76
|
-
rubocop-ast (1.
|
77
|
-
parser (>= 3.
|
57
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
58
|
+
rubocop-ast (1.26.0)
|
59
|
+
parser (>= 3.2.1.0)
|
60
|
+
rubocop-capybara (2.17.0)
|
61
|
+
rubocop (~> 1.41)
|
78
62
|
rubocop-rake (0.6.0)
|
79
63
|
rubocop (~> 1.0)
|
80
|
-
rubocop-rspec (2.
|
81
|
-
rubocop (~> 1.
|
64
|
+
rubocop-rspec (2.18.1)
|
65
|
+
rubocop (~> 1.33)
|
66
|
+
rubocop-capybara (~> 2.17)
|
82
67
|
ruby-progressbar (1.11.0)
|
83
68
|
ruby2_keywords (0.0.5)
|
84
|
-
sawyer (0.
|
69
|
+
sawyer (0.9.2)
|
85
70
|
addressable (>= 2.3.5)
|
86
|
-
faraday (
|
87
|
-
unicode-display_width (2.
|
71
|
+
faraday (>= 0.17.3, < 3)
|
72
|
+
unicode-display_width (2.4.2)
|
88
73
|
|
89
74
|
PLATFORMS
|
90
75
|
ruby
|
@@ -97,7 +82,6 @@ PLATFORMS
|
|
97
82
|
DEPENDENCIES
|
98
83
|
bundler
|
99
84
|
circleci-bundle-update-pr!
|
100
|
-
parallel (< 1.20.0)
|
101
85
|
rake
|
102
86
|
rspec
|
103
87
|
rubocop
|
@@ -105,4 +89,4 @@ DEPENDENCIES
|
|
105
89
|
rubocop-rspec
|
106
90
|
|
107
91
|
BUNDLED WITH
|
108
|
-
2.
|
92
|
+
2.4.6
|
@@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0")
|
20
20
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
21
|
spec.require_paths = ['lib']
|
23
22
|
|
24
23
|
spec.required_ruby_version = '>= 2.5.0'
|
@@ -27,7 +26,6 @@ Gem::Specification.new do |spec|
|
|
27
26
|
spec.add_dependency 'octokit'
|
28
27
|
|
29
28
|
spec.add_development_dependency 'bundler'
|
30
|
-
spec.add_development_dependency 'parallel', '< 1.20.0' # parallel-1.20.0 requires ruby version >= 2.5, which used by rubocop
|
31
29
|
spec.add_development_dependency 'rake'
|
32
30
|
spec.add_development_dependency 'rspec'
|
33
31
|
spec.add_development_dependency 'rubocop'
|
@@ -75,11 +75,7 @@ describe Circleci::Bundle::Update::Pr do
|
|
75
75
|
end
|
76
76
|
|
77
77
|
context "when ENV['CIRCLE_WORKING_DIRECTORY'] is relative path" do
|
78
|
-
let(:workdir_env)
|
79
|
-
project_dir = Pathname.getwd.to_s
|
80
|
-
home_dir = Pathname.new(ENV.fetch('HOME', nil)).to_s
|
81
|
-
project_dir.sub(home_dir, '~')
|
82
|
-
end
|
78
|
+
let(:workdir_env) { Pathname.getwd.to_s.sub(Dir.home, '~') }
|
83
79
|
let(:src_dir) { 'spec/tmp' }
|
84
80
|
|
85
81
|
around do |e|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circleci-bundle-update-pr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compare_linker
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: parallel
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "<"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.20.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "<"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.20.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,11 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
168
|
- !ruby/object:Gem::Version
|
183
169
|
version: '0'
|
184
170
|
requirements: []
|
185
|
-
rubygems_version: 3.
|
171
|
+
rubygems_version: 3.4.6
|
186
172
|
signing_key:
|
187
173
|
specification_version: 4
|
188
174
|
summary: Provide continues bundle update using CircleCI
|
189
|
-
test_files:
|
190
|
-
- spec/circleci/bundle/update/pr/note_spec.rb
|
191
|
-
- spec/circleci/bundle/update/pr_spec.rb
|
192
|
-
- spec/spec_helper.rb
|
175
|
+
test_files: []
|