circleci-bundle-update-pr 1.19.0 → 3.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 +31 -31
- data/.rubocop.yml +2 -1
- data/Gemfile.lock +59 -34
- data/README.md +1 -1
- data/circleci-bundle-update-pr.gemspec +4 -1
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- data/spec/circleci/bundle/update/pr_spec.rb +1 -1
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10da4d9e8e3d7bcc1040720c63a9d62ea1689d0a1aba20af4afdacbc0aa259e7
|
4
|
+
data.tar.gz: 036edf4a72c54c7ac75cb1847cf2d18261018125ef213984ddb29af0b6ac7d04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8a3a0f6db5c3e59bed66ba14dfbb8a7bbcd5cf608eba9d0f3a84e6e4af17dd7124fb8bb37a9b770326db656d8bc9dd7062b28a57b75b4a5ffadc9af1d5b2fdf
|
7
|
+
data.tar.gz: 7dc7f107ba41295e5641759ffd70c045cdaa728ab91bc40ed4c227e254139a8bcd9534c9fbbc42dde877969950a84804bee2ce073cd59d04649609b098968a76
|
data/.circleci/config.yml
CHANGED
@@ -1,32 +1,29 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
|
+
orbs:
|
4
|
+
pushover: masutaka/pushover@2
|
5
|
+
|
3
6
|
executors:
|
4
7
|
default:
|
5
8
|
parameters:
|
6
9
|
ruby_version:
|
7
10
|
type: enum
|
8
|
-
enum: ['2.
|
11
|
+
enum: ['2.5', '2.6', '2.7', '3.0']
|
9
12
|
docker:
|
10
|
-
- image: ruby:<< parameters.ruby_version
|
11
|
-
working_directory:
|
13
|
+
- image: cimg/ruby:<< parameters.ruby_version >>
|
14
|
+
working_directory: ~/repo
|
12
15
|
|
13
16
|
commands:
|
14
17
|
setup_requirements:
|
15
18
|
steps:
|
16
|
-
- run:
|
17
|
-
name: Install System Dependencies
|
18
|
-
command: |
|
19
|
-
# See also https://circleci.com/docs/2.0/custom-images/#adding-required-and-custom-tools-or-files
|
20
|
-
apk add --update-cache --no-cache --no-progress git openssh-client tar gzip ca-certificates \
|
21
|
-
build-base tzdata
|
22
19
|
- run:
|
23
20
|
name: Set timezone to Asia/Tokyo
|
24
|
-
command: cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
|
21
|
+
command: sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
|
25
22
|
restore_bundle_cache:
|
26
23
|
parameters:
|
27
24
|
ruby_version:
|
28
25
|
type: enum
|
29
|
-
enum: ['2.
|
26
|
+
enum: ['2.5', '2.6', '2.7', '3.0']
|
30
27
|
steps:
|
31
28
|
- restore_cache:
|
32
29
|
name: Restore bundle cache
|
@@ -37,20 +34,25 @@ commands:
|
|
37
34
|
parameters:
|
38
35
|
ruby_version:
|
39
36
|
type: enum
|
40
|
-
enum: ['2.
|
37
|
+
enum: ['2.5', '2.6', '2.7', '3.0']
|
41
38
|
steps:
|
42
39
|
- save_cache:
|
43
40
|
name: Save bundle cache
|
44
41
|
key: gems-ruby<< parameters.ruby_version >>-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
|
45
42
|
paths:
|
46
|
-
- /
|
43
|
+
- ~/repo/vendor/bundle
|
44
|
+
install_bundler:
|
45
|
+
steps:
|
46
|
+
- run:
|
47
|
+
name: install bundler
|
48
|
+
command: gem install -N bundler:1.17.3 # same version as Gemfile.lock
|
47
49
|
|
48
50
|
jobs:
|
49
51
|
build:
|
50
52
|
parameters:
|
51
53
|
ruby_version:
|
52
54
|
type: enum
|
53
|
-
enum: ['2.
|
55
|
+
enum: ['2.5', '2.6', '2.7', '3.0']
|
54
56
|
executor:
|
55
57
|
name: default
|
56
58
|
ruby_version: << parameters.ruby_version >>
|
@@ -59,27 +61,27 @@ jobs:
|
|
59
61
|
- checkout
|
60
62
|
- restore_bundle_cache:
|
61
63
|
ruby_version: << parameters.ruby_version >>
|
62
|
-
-
|
63
|
-
name: install bundler
|
64
|
-
command: gem install -N bundler:1.17.2 # same version as Gemfile.lock
|
64
|
+
- install_bundler
|
65
65
|
- run:
|
66
66
|
name: bundle install
|
67
67
|
command: |
|
68
|
-
bundle check || bundle install --jobs=4 --retry=3
|
69
|
-
bundle clean
|
68
|
+
bundle check || bundle install --jobs=4 --retry=3 --path=vendor/bundle
|
69
|
+
bundle clean
|
70
70
|
- save_bundle_cache:
|
71
71
|
ruby_version: << parameters.ruby_version >>
|
72
|
-
- run: rubocop
|
73
|
-
- run: rspec
|
72
|
+
- run: bundle exec rubocop
|
73
|
+
- run: bundle exec rspec
|
74
|
+
- pushover/notify-on-failure
|
74
75
|
continuous_bundle_update:
|
75
76
|
executor:
|
76
77
|
name: default
|
77
|
-
ruby_version: '
|
78
|
+
ruby_version: '3.0'
|
78
79
|
steps:
|
79
80
|
- setup_requirements
|
80
81
|
- checkout
|
81
82
|
- restore_bundle_cache:
|
82
|
-
ruby_version: '
|
83
|
+
ruby_version: '3.0'
|
84
|
+
- install_bundler
|
83
85
|
- run:
|
84
86
|
name: Install edge circleci-bundle-update-pr
|
85
87
|
command: |
|
@@ -87,18 +89,13 @@ jobs:
|
|
87
89
|
gem specific_install https://github.com/masutaka/circleci-bundle-update-pr.git
|
88
90
|
- deploy:
|
89
91
|
name: Run circleci-bundle-update-pr
|
90
|
-
command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH
|
92
|
+
command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH -d
|
93
|
+
- pushover/notify-on-failure
|
91
94
|
|
92
95
|
workflows:
|
93
96
|
version: 2
|
94
97
|
ordinary:
|
95
98
|
jobs:
|
96
|
-
- build:
|
97
|
-
name: ruby-2.3
|
98
|
-
ruby_version: '2.3'
|
99
|
-
- build:
|
100
|
-
name: ruby-2.4
|
101
|
-
ruby_version: '2.4'
|
102
99
|
- build:
|
103
100
|
name: ruby-2.5
|
104
101
|
ruby_version: '2.5'
|
@@ -108,10 +105,13 @@ workflows:
|
|
108
105
|
- build:
|
109
106
|
name: ruby-2.7
|
110
107
|
ruby_version: '2.7'
|
108
|
+
- build:
|
109
|
+
name: ruby-3.0
|
110
|
+
ruby_version: '3.0'
|
111
111
|
nightly:
|
112
112
|
triggers:
|
113
113
|
- schedule:
|
114
|
-
cron: "00 10 * *
|
114
|
+
cron: "00 10 1 * *"
|
115
115
|
filters:
|
116
116
|
branches:
|
117
117
|
only: master
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,61 +1,84 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
circleci-bundle-update-pr (
|
4
|
+
circleci-bundle-update-pr (3.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.
|
11
|
+
addressable (2.8.0)
|
12
12
|
public_suffix (>= 2.0.2, < 5.0)
|
13
|
-
ast (2.4.
|
14
|
-
compare_linker (1.4.
|
13
|
+
ast (2.4.2)
|
14
|
+
compare_linker (1.4.4)
|
15
15
|
httpclient
|
16
16
|
octokit
|
17
|
-
diff-lcs (1.
|
18
|
-
faraday (1.
|
17
|
+
diff-lcs (1.4.4)
|
18
|
+
faraday (1.8.0)
|
19
|
+
faraday-em_http (~> 1.0)
|
20
|
+
faraday-em_synchrony (~> 1.0)
|
21
|
+
faraday-excon (~> 1.1)
|
22
|
+
faraday-httpclient (~> 1.0.1)
|
23
|
+
faraday-net_http (~> 1.0)
|
24
|
+
faraday-net_http_persistent (~> 1.1)
|
25
|
+
faraday-patron (~> 1.0)
|
26
|
+
faraday-rack (~> 1.0)
|
19
27
|
multipart-post (>= 1.2, < 3)
|
28
|
+
ruby2_keywords (>= 0.0.4)
|
29
|
+
faraday-em_http (1.0.0)
|
30
|
+
faraday-em_synchrony (1.0.0)
|
31
|
+
faraday-excon (1.1.0)
|
32
|
+
faraday-httpclient (1.0.1)
|
33
|
+
faraday-net_http (1.0.1)
|
34
|
+
faraday-net_http_persistent (1.2.0)
|
35
|
+
faraday-patron (1.0.0)
|
36
|
+
faraday-rack (1.0.0)
|
20
37
|
httpclient (2.8.3)
|
21
|
-
jaro_winkler (1.5.4)
|
22
38
|
multipart-post (2.1.1)
|
23
|
-
octokit (4.
|
39
|
+
octokit (4.21.0)
|
24
40
|
faraday (>= 0.9)
|
25
41
|
sawyer (~> 0.8.0, >= 0.5.3)
|
26
|
-
parallel (1.19.
|
27
|
-
parser (
|
28
|
-
ast (~> 2.4.
|
29
|
-
public_suffix (4.0.
|
42
|
+
parallel (1.19.2)
|
43
|
+
parser (3.0.2.0)
|
44
|
+
ast (~> 2.4.1)
|
45
|
+
public_suffix (4.0.6)
|
30
46
|
rainbow (3.0.0)
|
31
|
-
rake (13.0.
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
rspec-
|
36
|
-
|
37
|
-
rspec-
|
38
|
-
rspec-
|
47
|
+
rake (13.0.6)
|
48
|
+
regexp_parser (2.1.1)
|
49
|
+
rexml (3.2.5)
|
50
|
+
rspec (3.10.0)
|
51
|
+
rspec-core (~> 3.10.0)
|
52
|
+
rspec-expectations (~> 3.10.0)
|
53
|
+
rspec-mocks (~> 3.10.0)
|
54
|
+
rspec-core (3.10.1)
|
55
|
+
rspec-support (~> 3.10.0)
|
56
|
+
rspec-expectations (3.10.1)
|
39
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-mocks (3.
|
58
|
+
rspec-support (~> 3.10.0)
|
59
|
+
rspec-mocks (3.10.2)
|
42
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-support (3.
|
45
|
-
rubocop (
|
46
|
-
jaro_winkler (~> 1.5.1)
|
61
|
+
rspec-support (~> 3.10.0)
|
62
|
+
rspec-support (3.10.2)
|
63
|
+
rubocop (1.22.0)
|
47
64
|
parallel (~> 1.10)
|
48
|
-
parser (>=
|
65
|
+
parser (>= 3.0.0.0)
|
49
66
|
rainbow (>= 2.2.2, < 4.0)
|
67
|
+
regexp_parser (>= 1.8, < 3.0)
|
68
|
+
rexml
|
69
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
50
70
|
ruby-progressbar (~> 1.7)
|
51
|
-
unicode-display_width (>= 1.4.0, <
|
52
|
-
rubocop-
|
53
|
-
|
54
|
-
|
71
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
72
|
+
rubocop-ast (1.12.0)
|
73
|
+
parser (>= 3.0.1.1)
|
74
|
+
rubocop-rspec (2.5.0)
|
75
|
+
rubocop (~> 1.19)
|
76
|
+
ruby-progressbar (1.11.0)
|
77
|
+
ruby2_keywords (0.0.5)
|
55
78
|
sawyer (0.8.2)
|
56
79
|
addressable (>= 2.3.5)
|
57
80
|
faraday (> 0.8, < 2.0)
|
58
|
-
unicode-display_width (1.
|
81
|
+
unicode-display_width (2.1.0)
|
59
82
|
|
60
83
|
PLATFORMS
|
61
84
|
ruby
|
@@ -63,14 +86,16 @@ PLATFORMS
|
|
63
86
|
x86_64-darwin-17
|
64
87
|
x86_64-darwin-18
|
65
88
|
x86_64-darwin-19
|
89
|
+
x86_64-linux
|
66
90
|
|
67
91
|
DEPENDENCIES
|
68
92
|
bundler
|
69
93
|
circleci-bundle-update-pr!
|
94
|
+
parallel (< 1.20.0)
|
70
95
|
rake
|
71
|
-
rspec
|
96
|
+
rspec
|
72
97
|
rubocop
|
73
98
|
rubocop-rspec
|
74
99
|
|
75
100
|
BUNDLED WITH
|
76
|
-
1.17.
|
101
|
+
1.17.3
|
data/README.md
CHANGED
@@ -19,12 +19,15 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
+
spec.required_ruby_version = '>= 2.5.0'
|
23
|
+
|
22
24
|
spec.add_dependency 'compare_linker', '>= 1.4.0'
|
23
25
|
spec.add_dependency 'octokit'
|
24
26
|
|
25
27
|
spec.add_development_dependency 'bundler'
|
28
|
+
spec.add_development_dependency 'parallel', '< 1.20.0' # parallel-1.20.0 requires ruby version >= 2.5, which used by rubocop
|
26
29
|
spec.add_development_dependency 'rake'
|
27
|
-
spec.add_development_dependency 'rspec'
|
30
|
+
spec.add_development_dependency 'rspec'
|
28
31
|
spec.add_development_dependency 'rubocop'
|
29
32
|
spec.add_development_dependency 'rubocop-rspec'
|
30
33
|
end
|
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: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compare_linker
|
@@ -52,6 +52,20 @@ 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
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,16 +84,16 @@ dependencies:
|
|
70
84
|
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rubocop
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +152,7 @@ homepage: https://github.com/masutaka/circleci-bundle-update-pr
|
|
138
152
|
licenses:
|
139
153
|
- MIT
|
140
154
|
metadata: {}
|
141
|
-
post_install_message:
|
155
|
+
post_install_message:
|
142
156
|
rdoc_options: []
|
143
157
|
require_paths:
|
144
158
|
- lib
|
@@ -146,15 +160,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
160
|
requirements:
|
147
161
|
- - ">="
|
148
162
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
163
|
+
version: 2.5.0
|
150
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
165
|
requirements:
|
152
166
|
- - ">="
|
153
167
|
- !ruby/object:Gem::Version
|
154
168
|
version: '0'
|
155
169
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
157
|
-
signing_key:
|
170
|
+
rubygems_version: 3.2.22
|
171
|
+
signing_key:
|
158
172
|
specification_version: 4
|
159
173
|
summary: Provide continues bundle update using CircleCI
|
160
174
|
test_files:
|