circleci-bundle-update-pr 2.1.0 → 3.0.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: 4064052a0e9c870a53a20a780e08b6029a425ae39412427e3e2131caca05769f
4
- data.tar.gz: 67c9498808dd3310240116f173b365e76e4336540458f334f4609d9e5a1373e4
3
+ metadata.gz: 10da4d9e8e3d7bcc1040720c63a9d62ea1689d0a1aba20af4afdacbc0aa259e7
4
+ data.tar.gz: 036edf4a72c54c7ac75cb1847cf2d18261018125ef213984ddb29af0b6ac7d04
5
5
  SHA512:
6
- metadata.gz: 4d69e9d58356f09fa2609030b13182475f9b92d438064983244253895cb56af5b8c7dee2a25b6e2fc438fbba38ca34ead4b297b5d65315859ef714e77de1dbda
7
- data.tar.gz: 46e99f5fab63cd2c3a6d3e7a3965341e060aead0e971b7d4ae10950e91b6e8a8f7e28f85ddbbb18ae5cc8868570e6b3566dd84e9cb964fcf1ff3571634878582
6
+ metadata.gz: a8a3a0f6db5c3e59bed66ba14dfbb8a7bbcd5cf608eba9d0f3a84e6e4af17dd7124fb8bb37a9b770326db656d8bc9dd7062b28a57b75b4a5ffadc9af1d5b2fdf
7
+ data.tar.gz: 7dc7f107ba41295e5641759ffd70c045cdaa728ab91bc40ed4c227e254139a8bcd9534c9fbbc42dde877969950a84804bee2ce073cd59d04649609b098968a76
data/.circleci/config.yml CHANGED
@@ -1,34 +1,21 @@
1
1
  version: 2.1
2
2
 
3
3
  orbs:
4
- pushover: masutaka/pushover@dev:beta5
4
+ pushover: masutaka/pushover@2
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', '3.0']
11
+ enum: ['2.5', '2.6', '2.7', '3.0']
12
12
  docker:
13
13
  - image: cimg/ruby:<< parameters.ruby_version >>
14
14
  working_directory: ~/repo
15
15
 
16
16
  commands:
17
- notify_on_failure_on_default_branch:
18
- steps:
19
- - pushover/notify-on-failure:
20
- title: "Failed: ${CIRCLE_PROJECT_REPONAME}'s job (${CIRCLE_JOB})"
21
- message: "failed ${CIRCLE_USERNAME:Bot}'s build (#${CIRCLE_BUILD_NUM}) in ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} (${CIRCLE_BRANCH})"
22
- priority: 1 # high
23
- only_for_branches: master
24
17
  setup_requirements:
25
18
  steps:
26
- - run:
27
- name: Install System Dependencies
28
- command: |
29
- # for cimg/ruby:2.4
30
- sudo apt update -q
31
- sudo apt install -q tzdata
32
19
  - run:
33
20
  name: Set timezone to Asia/Tokyo
34
21
  command: sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
@@ -36,7 +23,7 @@ commands:
36
23
  parameters:
37
24
  ruby_version:
38
25
  type: enum
39
- enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
26
+ enum: ['2.5', '2.6', '2.7', '3.0']
40
27
  steps:
41
28
  - restore_cache:
42
29
  name: Restore bundle cache
@@ -47,7 +34,7 @@ commands:
47
34
  parameters:
48
35
  ruby_version:
49
36
  type: enum
50
- enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
37
+ enum: ['2.5', '2.6', '2.7', '3.0']
51
38
  steps:
52
39
  - save_cache:
53
40
  name: Save bundle cache
@@ -65,7 +52,7 @@ jobs:
65
52
  parameters:
66
53
  ruby_version:
67
54
  type: enum
68
- enum: ['2.4', '2.5', '2.6', '2.7', '3.0']
55
+ enum: ['2.5', '2.6', '2.7', '3.0']
69
56
  executor:
70
57
  name: default
71
58
  ruby_version: << parameters.ruby_version >>
@@ -84,7 +71,7 @@ jobs:
84
71
  ruby_version: << parameters.ruby_version >>
85
72
  - run: bundle exec rubocop
86
73
  - run: bundle exec rspec
87
- - notify_on_failure_on_default_branch
74
+ - pushover/notify-on-failure
88
75
  continuous_bundle_update:
89
76
  executor:
90
77
  name: default
@@ -102,16 +89,13 @@ jobs:
102
89
  gem specific_install https://github.com/masutaka/circleci-bundle-update-pr.git
103
90
  - deploy:
104
91
  name: Run circleci-bundle-update-pr
105
- command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH
106
- - notify_on_failure_on_default_branch
92
+ command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH -d
93
+ - pushover/notify-on-failure
107
94
 
108
95
  workflows:
109
96
  version: 2
110
97
  ordinary:
111
98
  jobs:
112
- - build:
113
- name: ruby-2.4
114
- ruby_version: '2.4'
115
99
  - build:
116
100
  name: ruby-2.5
117
101
  ruby_version: '2.5'
@@ -127,7 +111,7 @@ workflows:
127
111
  nightly:
128
112
  triggers:
129
113
  - schedule:
130
- cron: "00 10 * * 2"
114
+ cron: "00 10 1 * *"
131
115
  filters:
132
116
  branches:
133
117
  only: master
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ require: rubocop-rspec
4
4
  AllCops:
5
5
  DisplayCopNames: true
6
6
  NewCops: enable
7
- TargetRubyVersion: 2.4
7
+ TargetRubyVersion: 2.5
8
8
 
9
9
  Layout/LineLength:
10
10
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,38 +1,52 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (2.1.0)
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.7.0)
11
+ addressable (2.8.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
- ast (2.4.1)
13
+ ast (2.4.2)
14
14
  compare_linker (1.4.4)
15
15
  httpclient
16
16
  octokit
17
17
  diff-lcs (1.4.4)
18
- faraday (1.3.0)
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)
19
23
  faraday-net_http (~> 1.0)
24
+ faraday-net_http_persistent (~> 1.1)
25
+ faraday-patron (~> 1.0)
26
+ faraday-rack (~> 1.0)
20
27
  multipart-post (>= 1.2, < 3)
21
- ruby2_keywords
22
- faraday-net_http (1.0.0)
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)
23
37
  httpclient (2.8.3)
24
38
  multipart-post (2.1.1)
25
- octokit (4.20.0)
39
+ octokit (4.21.0)
26
40
  faraday (>= 0.9)
27
41
  sawyer (~> 0.8.0, >= 0.5.3)
28
42
  parallel (1.19.2)
29
- parser (3.0.0.0)
43
+ parser (3.0.2.0)
30
44
  ast (~> 2.4.1)
31
45
  public_suffix (4.0.6)
32
46
  rainbow (3.0.0)
33
- rake (13.0.3)
34
- regexp_parser (2.0.3)
35
- rexml (3.2.4)
47
+ rake (13.0.6)
48
+ regexp_parser (2.1.1)
49
+ rexml (3.2.5)
36
50
  rspec (3.10.0)
37
51
  rspec-core (~> 3.10.0)
38
52
  rspec-expectations (~> 3.10.0)
@@ -42,30 +56,29 @@ GEM
42
56
  rspec-expectations (3.10.1)
43
57
  diff-lcs (>= 1.2.0, < 2.0)
44
58
  rspec-support (~> 3.10.0)
45
- rspec-mocks (3.10.1)
59
+ rspec-mocks (3.10.2)
46
60
  diff-lcs (>= 1.2.0, < 2.0)
47
61
  rspec-support (~> 3.10.0)
48
- rspec-support (3.10.1)
49
- rubocop (1.8.1)
62
+ rspec-support (3.10.2)
63
+ rubocop (1.22.0)
50
64
  parallel (~> 1.10)
51
65
  parser (>= 3.0.0.0)
52
66
  rainbow (>= 2.2.2, < 4.0)
53
67
  regexp_parser (>= 1.8, < 3.0)
54
68
  rexml
55
- rubocop-ast (>= 1.2.0, < 2.0)
69
+ rubocop-ast (>= 1.12.0, < 2.0)
56
70
  ruby-progressbar (~> 1.7)
57
71
  unicode-display_width (>= 1.4.0, < 3.0)
58
- rubocop-ast (1.4.0)
59
- parser (>= 2.7.1.5)
60
- rubocop-rspec (2.1.0)
61
- rubocop (~> 1.0)
62
- rubocop-ast (>= 1.1.0)
72
+ rubocop-ast (1.12.0)
73
+ parser (>= 3.0.1.1)
74
+ rubocop-rspec (2.5.0)
75
+ rubocop (~> 1.19)
63
76
  ruby-progressbar (1.11.0)
64
- ruby2_keywords (0.0.2)
77
+ ruby2_keywords (0.0.5)
65
78
  sawyer (0.8.2)
66
79
  addressable (>= 2.3.5)
67
80
  faraday (> 0.8, < 2.0)
68
- unicode-display_width (2.0.0)
81
+ unicode-display_width (2.1.0)
69
82
 
70
83
  PLATFORMS
71
84
  ruby
@@ -73,6 +86,7 @@ PLATFORMS
73
86
  x86_64-darwin-17
74
87
  x86_64-darwin-18
75
88
  x86_64-darwin-19
89
+ x86_64-linux
76
90
 
77
91
  DEPENDENCIES
78
92
  bundler
data/README.md CHANGED
@@ -46,7 +46,7 @@ jobs:
46
46
  # snip
47
47
  continuous_bundle_update:
48
48
  docker:
49
- - image: ruby:2.4.2-alpine
49
+ - image: ruby:3.0.1-alpine
50
50
  working_directory: /work
51
51
  steps:
52
52
  - run:
@@ -19,7 +19,7 @@ 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.4.0'
22
+ spec.required_ruby_version = '>= 2.5.0'
23
23
 
24
24
  spec.add_dependency 'compare_linker', '>= 1.4.0'
25
25
  spec.add_dependency 'octokit'
@@ -4,7 +4,7 @@ module Circleci
4
4
  module Bundle
5
5
  module Update
6
6
  module Pr
7
- VERSION = '2.1.0'
7
+ VERSION = '3.0.0'
8
8
  end
9
9
  end
10
10
  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.1.0
4
+ version: 3.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: 2021-01-12 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compare_linker
@@ -160,14 +160,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
162
162
  - !ruby/object:Gem::Version
163
- version: 2.4.0
163
+ version: 2.5.0
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubygems_version: 3.2.3
170
+ rubygems_version: 3.2.22
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Provide continues bundle update using CircleCI