circleci-bundle-update-pr 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca0f586fe71477f8f9e4e1ea9d7a5459283b63cccfbb51dc38406a48ea0a543a
4
- data.tar.gz: 324a4619c170a0cfdb495d503eef5a178742c736f4304c8e298ceb20a8456952
3
+ metadata.gz: 4064052a0e9c870a53a20a780e08b6029a425ae39412427e3e2131caca05769f
4
+ data.tar.gz: 67c9498808dd3310240116f173b365e76e4336540458f334f4609d9e5a1373e4
5
5
  SHA512:
6
- metadata.gz: 2a7514514afd1cc031b42efb488b5db935e64aa52294c5695dc2aa6f61ed4a56dde6bc3af7fe9cd9b36154954289320ebd60086c513d503eed6c3794ac436c93
7
- data.tar.gz: 133c87fe7015b10c71acf4b0f53e94ed16ad4b79223f308f4063af4a86e06cdc53ffe190fcab3489ce2a0e73375055282e4d2fe3ace1ed5620c2bbcdf9d13238
6
+ metadata.gz: 4d69e9d58356f09fa2609030b13182475f9b92d438064983244253895cb56af5b8c7dee2a25b6e2fc438fbba38ca34ead4b297b5d65315859ef714e77de1dbda
7
+ data.tar.gz: 46e99f5fab63cd2c3a6d3e7a3965341e060aead0e971b7d4ae10950e91b6e8a8f7e28f85ddbbb18ae5cc8868570e6b3566dd84e9cb964fcf1ff3571634878582
@@ -1,14 +1,14 @@
1
1
  version: 2.1
2
2
 
3
3
  orbs:
4
- pushover: masutaka/pushover@dev:beta3
4
+ pushover: masutaka/pushover@dev:beta5
5
5
 
6
6
  executors:
7
7
  default:
8
8
  parameters:
9
9
  ruby_version:
10
10
  type: enum
11
- enum: ['2.4', '2.5', '2.6', '2.7']
11
+ enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
12
12
  docker:
13
13
  - image: cimg/ruby:<< parameters.ruby_version >>
14
14
  working_directory: ~/repo
@@ -16,11 +16,10 @@ executors:
16
16
  commands:
17
17
  notify_on_failure_on_default_branch:
18
18
  steps:
19
- - pushover/notify:
19
+ - pushover/notify-on-failure:
20
20
  title: "Failed: ${CIRCLE_PROJECT_REPONAME}'s job (${CIRCLE_JOB})"
21
21
  message: "failed ${CIRCLE_USERNAME:Bot}'s build (#${CIRCLE_BUILD_NUM}) in ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} (${CIRCLE_BRANCH})"
22
22
  priority: 1 # high
23
- fail_only: true
24
23
  only_for_branches: master
25
24
  setup_requirements:
26
25
  steps:
@@ -37,7 +36,7 @@ commands:
37
36
  parameters:
38
37
  ruby_version:
39
38
  type: enum
40
- enum: ['2.4', '2.5', '2.6', '2.7']
39
+ enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
41
40
  steps:
42
41
  - restore_cache:
43
42
  name: Restore bundle cache
@@ -48,7 +47,7 @@ commands:
48
47
  parameters:
49
48
  ruby_version:
50
49
  type: enum
51
- enum: ['2.4', '2.5', '2.6', '2.7']
50
+ enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
52
51
  steps:
53
52
  - save_cache:
54
53
  name: Save bundle cache
@@ -66,7 +65,7 @@ jobs:
66
65
  parameters:
67
66
  ruby_version:
68
67
  type: enum
69
- enum: ['2.4', '2.5', '2.6', '2.7']
68
+ enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
70
69
  executor:
71
70
  name: default
72
71
  ruby_version: << parameters.ruby_version >>
@@ -89,12 +88,12 @@ jobs:
89
88
  continuous_bundle_update:
90
89
  executor:
91
90
  name: default
92
- ruby_version: '2.7'
91
+ ruby_version: '3.0'
93
92
  steps:
94
93
  - setup_requirements
95
94
  - checkout
96
95
  - restore_bundle_cache:
97
- ruby_version: '2.7'
96
+ ruby_version: '3.0'
98
97
  - install_bundler
99
98
  - run:
100
99
  name: Install edge circleci-bundle-update-pr
@@ -122,6 +121,9 @@ workflows:
122
121
  - build:
123
122
  name: ruby-2.7
124
123
  ruby_version: '2.7'
124
+ - build:
125
+ name: ruby-3.0
126
+ ruby_version: '3.0'
125
127
  nightly:
126
128
  triggers:
127
129
  - schedule:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (2.0.0)
4
+ circleci-bundle-update-pr (2.1.0)
5
5
  compare_linker (>= 1.4.0)
6
6
  octokit
7
7
 
@@ -15,55 +15,57 @@ GEM
15
15
  httpclient
16
16
  octokit
17
17
  diff-lcs (1.4.4)
18
- faraday (1.1.0)
18
+ faraday (1.3.0)
19
+ faraday-net_http (~> 1.0)
19
20
  multipart-post (>= 1.2, < 3)
20
21
  ruby2_keywords
22
+ faraday-net_http (1.0.0)
21
23
  httpclient (2.8.3)
22
24
  multipart-post (2.1.1)
23
- octokit (4.19.0)
25
+ octokit (4.20.0)
24
26
  faraday (>= 0.9)
25
27
  sawyer (~> 0.8.0, >= 0.5.3)
26
28
  parallel (1.19.2)
27
- parser (2.7.2.0)
29
+ parser (3.0.0.0)
28
30
  ast (~> 2.4.1)
29
31
  public_suffix (4.0.6)
30
32
  rainbow (3.0.0)
31
- rake (13.0.1)
32
- regexp_parser (1.8.2)
33
+ rake (13.0.3)
34
+ regexp_parser (2.0.3)
33
35
  rexml (3.2.4)
34
- rspec (3.9.0)
35
- rspec-core (~> 3.9.0)
36
- rspec-expectations (~> 3.9.0)
37
- rspec-mocks (~> 3.9.0)
38
- rspec-core (3.9.3)
39
- rspec-support (~> 3.9.3)
40
- rspec-expectations (3.9.3)
36
+ rspec (3.10.0)
37
+ rspec-core (~> 3.10.0)
38
+ rspec-expectations (~> 3.10.0)
39
+ rspec-mocks (~> 3.10.0)
40
+ rspec-core (3.10.1)
41
+ rspec-support (~> 3.10.0)
42
+ rspec-expectations (3.10.1)
41
43
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.9.0)
43
- rspec-mocks (3.9.1)
44
+ rspec-support (~> 3.10.0)
45
+ rspec-mocks (3.10.1)
44
46
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.9.0)
46
- rspec-support (3.9.4)
47
- rubocop (0.93.1)
47
+ rspec-support (~> 3.10.0)
48
+ rspec-support (3.10.1)
49
+ rubocop (1.8.1)
48
50
  parallel (~> 1.10)
49
- parser (>= 2.7.1.5)
51
+ parser (>= 3.0.0.0)
50
52
  rainbow (>= 2.2.2, < 4.0)
51
- regexp_parser (>= 1.8)
53
+ regexp_parser (>= 1.8, < 3.0)
52
54
  rexml
53
- rubocop-ast (>= 0.6.0)
55
+ rubocop-ast (>= 1.2.0, < 2.0)
54
56
  ruby-progressbar (~> 1.7)
55
- unicode-display_width (>= 1.4.0, < 2.0)
56
- rubocop-ast (1.1.0)
57
+ unicode-display_width (>= 1.4.0, < 3.0)
58
+ rubocop-ast (1.4.0)
57
59
  parser (>= 2.7.1.5)
58
- rubocop-rspec (1.44.1)
59
- rubocop (~> 0.87)
60
- rubocop-ast (>= 0.7.1)
61
- ruby-progressbar (1.10.1)
60
+ rubocop-rspec (2.1.0)
61
+ rubocop (~> 1.0)
62
+ rubocop-ast (>= 1.1.0)
63
+ ruby-progressbar (1.11.0)
62
64
  ruby2_keywords (0.0.2)
63
65
  sawyer (0.8.2)
64
66
  addressable (>= 2.3.5)
65
67
  faraday (> 0.8, < 2.0)
66
- unicode-display_width (1.7.0)
68
+ unicode-display_width (2.0.0)
67
69
 
68
70
  PLATFORMS
69
71
  ruby
@@ -75,8 +77,9 @@ PLATFORMS
75
77
  DEPENDENCIES
76
78
  bundler
77
79
  circleci-bundle-update-pr!
80
+ parallel (< 1.20.0)
78
81
  rake
79
- rspec (~> 3.7)
82
+ rspec
80
83
  rubocop
81
84
  rubocop-rspec
82
85
 
@@ -25,8 +25,9 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'octokit'
26
26
 
27
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
28
29
  spec.add_development_dependency 'rake'
29
- spec.add_development_dependency 'rspec', '~> 3.7'
30
+ spec.add_development_dependency 'rspec'
30
31
  spec.add_development_dependency 'rubocop'
31
32
  spec.add_development_dependency 'rubocop-rspec'
32
33
  end
@@ -4,7 +4,7 @@ module Circleci
4
4
  module Bundle
5
5
  module Update
6
6
  module Pr
7
- VERSION = '2.0.0'
7
+ VERSION = '2.1.0'
8
8
  end
9
9
  end
10
10
  end
@@ -69,7 +69,7 @@ describe Circleci::Bundle::Update::Pr do
69
69
  end
70
70
 
71
71
  context "when ENV['CIRCLE_WORKING_DIRECTORY'] is not set" do
72
- let(:workdir_env) {}
72
+ let(:workdir_env) { nil }
73
73
 
74
74
  it { is_expected.to eq 'Gemfile.lock' }
75
75
  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: 2.0.0
4
+ version: 2.1.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: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2021-01-12 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: '3.7'
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: '3.7'
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
@@ -153,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
167
  - !ruby/object:Gem::Version
154
168
  version: '0'
155
169
  requirements: []
156
- rubygems_version: 3.1.2
157
- signing_key:
170
+ rubygems_version: 3.2.3
171
+ signing_key:
158
172
  specification_version: 4
159
173
  summary: Provide continues bundle update using CircleCI
160
174
  test_files: