pr_comet 0.5.1 → 0.6.0

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: 1de5a702a941ad3f61b8a3b87f765da115e1feadd39210b45f80e3809d5e123f
4
- data.tar.gz: 50a81dd0413e6a0d22e992a6f4d757a7180678e54221f1004590a1821f12e345
3
+ metadata.gz: 77589286f546a554d6b79f093d278ca0e4584849dc9f5e866f348a9352c08db2
4
+ data.tar.gz: 77eb62d799e25a8ee8e1329044a225e76047a12df04aed1e5f7eb0c291e3089c
5
5
  SHA512:
6
- metadata.gz: 81d78d0f2aaabbc1a28374d42591b2e6e413ed18dbf62a5989b206e81b5651534ba8c5115c42dfc2c8731f6fa2865a5857bc4dc50e6f8e5e7e0ead19c5a49a5e
7
- data.tar.gz: 4a9951f3871295496a7f956d4452d1d5120ee198d00c076f7272f9a271a8f30531c9b49d6c4d95edce5d26d1d80b0c18d2b281cd55c3e8cfefc423a8cb8863e3
6
+ metadata.gz: 48beaa2b233ee327ffda29761d180b35566d5444dc55e67e27db3a76800b3769b963efcd9f1b3dbf7d5f6d0d79fdae7c5e290a56913679d257f31b1f6fefdf8c
7
+ data.tar.gz: 276d72a911940603928768debfa233694b22c47950632135c6b23352847f245230eb9c94783059c142909c629fa8e248d027fdb7867e8f4542c89d8e994a8425
data/.circleci/config.yml CHANGED
@@ -5,22 +5,22 @@
5
5
  version: 2.1
6
6
 
7
7
  orbs:
8
- ruby-orbs: sue445/ruby-orbs@1.6.1
8
+ ruby-orbs: sue445/ruby-orbs@1.6.2
9
9
  code-climate: rvla/code-climate@0.0.2
10
10
 
11
11
  references:
12
12
  - &ruby_version
13
13
  ruby_version:
14
14
  type: enum
15
- enum: ['2.5', '2.6', '2.7', '3.0', 'latest']
16
- default: '3.0'
15
+ enum: ["2.6", "2.7", "3.0", "3.1"]
16
+ default: "3.1"
17
17
 
18
18
  executors:
19
19
  default:
20
20
  parameters:
21
21
  <<: *ruby_version
22
22
  docker:
23
- - image: circleci/ruby:<< parameters.ruby_version >>
23
+ - image: cimg/ruby:<< parameters.ruby_version >>
24
24
  working_directory: ~/repo
25
25
 
26
26
  commands:
@@ -59,7 +59,7 @@ commands:
59
59
  name: Run RuboCop
60
60
  command: bundle exec rubocop
61
61
  yardoc:
62
- description: 'Generate YARDoc'
62
+ description: "Generate YARDoc"
63
63
  steps:
64
64
  - run: bundle exec yardoc -o ./yardoc
65
65
  - store_artifacts:
@@ -75,7 +75,7 @@ commands:
75
75
  - run:
76
76
  name: Rubocop Challenge
77
77
  command: |
78
- gem install rubocop_challenger --pre
78
+ gem install rubocop_challenger
79
79
  rubocop_challenger go --email=ryz310@gmail.com --name=ryz310
80
80
  release:
81
81
  description: Release to RubyGems.org
@@ -127,7 +127,7 @@ jobs:
127
127
  - code-climate/install
128
128
  - code-climate/sum-coverage:
129
129
  input: codeclimate.*.json
130
- parts: 5
130
+ parts: 4
131
131
  - code-climate/upload-coverage
132
132
  rubocop:
133
133
  executor: default
@@ -155,38 +155,33 @@ workflows:
155
155
 
156
156
  commit:
157
157
  jobs:
158
- - build:
159
- name: build_on_ruby_2.5
160
- ruby_version: '2.5'
161
158
  - build:
162
159
  name: build_on_ruby_2.6
163
- ruby_version: '2.6'
160
+ ruby_version: "2.6"
164
161
  - build:
165
162
  name: build_on_ruby_2.7
166
- ruby_version: '2.7'
163
+ ruby_version: "2.7"
167
164
  - build:
168
165
  name: build_on_ruby_3.0
169
- ruby_version: '3.0'
166
+ ruby_version: "3.0"
170
167
  - build:
171
- name: build_on_ruby_latest
172
- ruby_version: 'latest'
168
+ name: build_on_ruby_3.1
169
+ ruby_version: "3.1"
173
170
  - rubocop
174
171
  - yardoc
175
172
  - upload-coverage:
176
173
  requires:
177
- - build_on_ruby_2.5
178
174
  - build_on_ruby_2.6
179
175
  - build_on_ruby_2.7
180
176
  - build_on_ruby_3.0
181
- - build_on_ruby_latest
177
+ - build_on_ruby_3.1
182
178
  - release:
183
179
  context: RubyGems API Key
184
180
  requires:
185
- - build_on_ruby_2.5
186
181
  - build_on_ruby_2.6
187
182
  - build_on_ruby_2.7
188
183
  - build_on_ruby_3.0
189
- - build_on_ruby_latest
184
+ - build_on_ruby_3.1
190
185
  - rubocop
191
186
  filters:
192
187
  branches:
data/.gem_comet.yml CHANGED
@@ -6,10 +6,19 @@
6
6
  # $ gem_comet changelog
7
7
  # $ gem_comet versions
8
8
 
9
- version: 1.1
9
+ version: 1.2
10
10
 
11
11
  release:
12
12
  base_branch: master
13
13
  release_branch: production
14
14
  version_file_path: lib/pr_comet/version.rb
15
15
  changelog_file_path: CHANGELOG.md
16
+ changelog:
17
+ categories:
18
+ - Feature
19
+ - Bugfix
20
+ - Security
21
+ - Breaking Change
22
+ - Rubocop Challenge
23
+ - Dependabot
24
+ - Misc
@@ -0,0 +1,19 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "08:00"
8
+ timezone: Japan
9
+ open-pull-requests-limit: 10
10
+ reviewers:
11
+ - ryz310
12
+ assignees:
13
+ - ryz310
14
+ labels:
15
+ - dependabot
16
+ ignore:
17
+ - dependency-name: simplecov
18
+ versions:
19
+ - ">= 0.19.a, < 0.20"
data/.rubocop.yml CHANGED
@@ -5,12 +5,12 @@ require:
5
5
  inherit_from: .rubocop_todo.yml
6
6
 
7
7
  AllCops:
8
- TargetRubyVersion: 2.5
8
+ TargetRubyVersion: 2.6
9
9
 
10
10
  Metrics/BlockLength:
11
11
  Exclude:
12
- - 'pr_comet.gemspec'
13
- - 'spec/**/*'
12
+ - "pr_comet.gemspec"
13
+ - "spec/**/*"
14
14
 
15
15
  RSpec/NestedGroups:
16
16
  Max: 4
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2021-01-11 09:02:52 UTC using RuboCop version 1.8.0.
3
+ # on 2022-04-25 23:31:08 UTC using RuboCop version 1.28.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
data/CHANGELOG.md CHANGED
@@ -1,113 +1,141 @@
1
1
  # Change log
2
2
 
3
+ ## v0.6.0 (May 08, 2022)
4
+
5
+ ### Feature
6
+
7
+ - [#321](https://github.com/ryz310/pr_comet/pull/321) display git status on error. ([@mathieujobin](https://github.com/mathieujobin))
8
+
9
+ ### Breaking Change
10
+
11
+ - [#323](https://github.com/ryz310/pr_comet/pull/323) Support ruby 3.1 and close 2.5 ([@ryz310](https://github.com/ryz310))
12
+
13
+ ### Rubocop Challenge
14
+
15
+ - [#320](https://github.com/ryz310/pr_comet/pull/320) Re-generate .rubocop_todo.yml with RuboCop v1.28.2 ([@ryz310](https://github.com/ryz310))
16
+
17
+ ### Dependabot
18
+
19
+ - [#247](https://github.com/ryz310/pr_comet/pull/247) ryz310/dependabot/bundler/octokit-4.21.0 ([@ryz310](https://github.com/ryz310))
20
+ - [#278](https://github.com/ryz310/pr_comet/pull/278) Bump rake from 13.0.5 to 13.0.6 ([@ryz310](https://github.com/ryz310))
21
+ - [#302](https://github.com/ryz310/pr_comet/pull/302) Bump yard from 0.9.26 to 0.9.27 ([@ryz310](https://github.com/ryz310))
22
+ - [#308](https://github.com/ryz310/pr_comet/pull/308) ryz310/dependabot/bundler/rspec_junit_formatter-0.5.1 ([@ryz310](https://github.com/ryz310))
23
+ - [#309](https://github.com/ryz310/pr_comet/pull/309) Bump rainbow from 3.0.0 to 3.1.1 ([@ryz310](https://github.com/ryz310))
24
+ - [#310](https://github.com/ryz310/pr_comet/pull/310) Bump octokit from 4.21.0 to 4.22.0 ([@ryz310](https://github.com/ryz310))
25
+ - [#314](https://github.com/ryz310/pr_comet/pull/314) Bump rspec from 3.10.0 to 3.11.0 ([@ryz310](https://github.com/ryz310))
26
+
27
+ ### Misc
28
+
29
+ - [#229](https://github.com/ryz310/pr_comet/pull/229) Update ruby-orbs orb to v1.6.2 ([@ryz310](https://github.com/ryz310))
30
+
3
31
  ## v0.5.1 (Jan 11, 2021)
4
32
 
5
33
  ### Bugfix
6
34
 
7
- * [#220](https://github.com/ryz310/pr_comet/pull/220) Fix verbose option ([@ryz310](https://github.com/ryz310))
35
+ - [#220](https://github.com/ryz310/pr_comet/pull/220) Fix verbose option ([@ryz310](https://github.com/ryz310))
8
36
 
9
37
  ### Dependabot
10
38
 
11
- * [#199](https://github.com/ryz310/pr_comet/pull/199) Update bundler requirement from ~> 1.16 to ~> 2.2 ([@ryz310](https://github.com/ryz310))
12
- * [#219](https://github.com/ryz310/pr_comet/pull/219) ryz310/dependabot/bundler/rubocop-1.8.1 ([@ryz310](https://github.com/ryz310))
39
+ - [#199](https://github.com/ryz310/pr_comet/pull/199) Update bundler requirement from ~> 1.16 to ~> 2.2 ([@ryz310](https://github.com/ryz310))
40
+ - [#219](https://github.com/ryz310/pr_comet/pull/219) ryz310/dependabot/bundler/rubocop-1.8.1 ([@ryz310](https://github.com/ryz310))
13
41
 
14
42
  ## v0.5.0 (Jan 11, 2021)
15
43
 
16
44
  ### Feature
17
45
 
18
- * [#216](https://github.com/ryz310/pr_comet/pull/216) Add verbose option ([@ryz310](https://github.com/ryz310))
46
+ - [#216](https://github.com/ryz310/pr_comet/pull/216) Add verbose option ([@ryz310](https://github.com/ryz310))
19
47
 
20
48
  ### Dependabot
21
49
 
22
- * [#215](https://github.com/ryz310/pr_comet/pull/215) Update simplecov requirement from = 0.17.1 to = 0.21.2 ([@ryz310](https://github.com/ryz310))
23
- * [#214](https://github.com/ryz310/pr_comet/pull/214) ryz310/dependabot/bundler/rubocop-1.8.0 ([@ryz310](https://github.com/ryz310))
50
+ - [#215](https://github.com/ryz310/pr_comet/pull/215) Update simplecov requirement from = 0.17.1 to = 0.21.2 ([@ryz310](https://github.com/ryz310))
51
+ - [#214](https://github.com/ryz310/pr_comet/pull/214) ryz310/dependabot/bundler/rubocop-1.8.0 ([@ryz310](https://github.com/ryz310))
24
52
 
25
53
  ## v0.4.0 (Jan 04, 2021)
26
54
 
27
55
  ### Feature
28
56
 
29
- * [#210](https://github.com/ryz310/pr_comet/pull/210) Support ruby 3.0 ([@ryz310](https://github.com/ryz310))
57
+ - [#210](https://github.com/ryz310/pr_comet/pull/210) Support ruby 3.0 ([@ryz310](https://github.com/ryz310))
30
58
 
31
59
  ### Breaking Change
32
60
 
33
- * [#176](https://github.com/ryz310/pr_comet/pull/176) End of support for Ruby 2.4 ([@ryz310](https://github.com/ryz310))
61
+ - [#176](https://github.com/ryz310/pr_comet/pull/176) End of support for Ruby 2.4 ([@ryz310](https://github.com/ryz310))
34
62
 
35
63
  ### Rubocop Challenge
36
64
 
37
- * [#127](https://github.com/ryz310/pr_comet/pull/127) Style/IfUnlessModifier-20200523233029 ([@ryz310](https://github.com/ryz310))
38
- * [#129](https://github.com/ryz310/pr_comet/pull/129) Performance/StartWith-20200525233033 ([@ryz310](https://github.com/ryz310))
39
- * [#204](https://github.com/ryz310/pr_comet/pull/204) Re-generate .rubocop_todo.yml with RuboCop v1.7.0 ([@ryz310](https://github.com/ryz310))
65
+ - [#127](https://github.com/ryz310/pr_comet/pull/127) Style/IfUnlessModifier-20200523233029 ([@ryz310](https://github.com/ryz310))
66
+ - [#129](https://github.com/ryz310/pr_comet/pull/129) Performance/StartWith-20200525233033 ([@ryz310](https://github.com/ryz310))
67
+ - [#204](https://github.com/ryz310/pr_comet/pull/204) Re-generate .rubocop_todo.yml with RuboCop v1.7.0 ([@ryz310](https://github.com/ryz310))
40
68
 
41
69
  ### Dependabot
42
70
 
43
- * [#110](https://github.com/ryz310/pr_comet/pull/110) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
44
- * [#174](https://github.com/ryz310/pr_comet/pull/174) ryz310/dependabot/bundler/rspec-3.10.0 ([@ryz310](https://github.com/ryz310))
45
- * [#198](https://github.com/ryz310/pr_comet/pull/198) ryz310/dependabot/bundler/rubocop-1.6.1 ([@ryz310](https://github.com/ryz310))
46
- * [#201](https://github.com/ryz310/pr_comet/pull/201) ryz310/dependabot/bundler/rubocop-rspec-2.1.0 ([@ryz310](https://github.com/ryz310))
47
- * [#202](https://github.com/ryz310/pr_comet/pull/202) ryz310/dependabot/bundler/rake-13.0.2 ([@ryz310](https://github.com/ryz310))
48
- * [#205](https://github.com/ryz310/pr_comet/pull/205) ryz310/dependabot/bundler/yard-0.9.26 ([@ryz310](https://github.com/ryz310))
49
- * [#206](https://github.com/ryz310/pr_comet/pull/206) ryz310/dependabot/bundler/octokit-4.20.0 ([@ryz310](https://github.com/ryz310))
50
- * [#209](https://github.com/ryz310/pr_comet/pull/209) ryz310/dependabot/bundler/rubocop-performance-1.9.2 ([@ryz310](https://github.com/ryz310))
71
+ - [#110](https://github.com/ryz310/pr_comet/pull/110) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
72
+ - [#174](https://github.com/ryz310/pr_comet/pull/174) ryz310/dependabot/bundler/rspec-3.10.0 ([@ryz310](https://github.com/ryz310))
73
+ - [#198](https://github.com/ryz310/pr_comet/pull/198) ryz310/dependabot/bundler/rubocop-1.6.1 ([@ryz310](https://github.com/ryz310))
74
+ - [#201](https://github.com/ryz310/pr_comet/pull/201) ryz310/dependabot/bundler/rubocop-rspec-2.1.0 ([@ryz310](https://github.com/ryz310))
75
+ - [#202](https://github.com/ryz310/pr_comet/pull/202) ryz310/dependabot/bundler/rake-13.0.2 ([@ryz310](https://github.com/ryz310))
76
+ - [#205](https://github.com/ryz310/pr_comet/pull/205) ryz310/dependabot/bundler/yard-0.9.26 ([@ryz310](https://github.com/ryz310))
77
+ - [#206](https://github.com/ryz310/pr_comet/pull/206) ryz310/dependabot/bundler/octokit-4.20.0 ([@ryz310](https://github.com/ryz310))
78
+ - [#209](https://github.com/ryz310/pr_comet/pull/209) ryz310/dependabot/bundler/rubocop-performance-1.9.2 ([@ryz310](https://github.com/ryz310))
51
79
 
52
80
  ### Misc
53
81
 
54
- * [#91](https://github.com/ryz310/pr_comet/pull/91) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
55
- * [#111](https://github.com/ryz310/pr_comet/pull/111) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
82
+ - [#91](https://github.com/ryz310/pr_comet/pull/91) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
83
+ - [#111](https://github.com/ryz310/pr_comet/pull/111) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
56
84
 
57
85
  ## v0.3.1 (Nov 02, 2019)
58
86
 
59
87
  ### Feature
60
88
 
61
- * [#60](https://github.com/ryz310/pr_comet/pull/60) Stub pr comet ([@ryz310](https://github.com/ryz310))
89
+ - [#60](https://github.com/ryz310/pr_comet/pull/60) Stub pr comet ([@ryz310](https://github.com/ryz310))
62
90
 
63
91
  ### Rubocop Challenge
64
92
 
65
- * [#37](https://github.com/ryz310/pr_comet/pull/37) Re-generate .rubocop_todo.yml with RuboCop v0.73.0 ([@ryz310](https://github.com/ryz310))
66
- * [#38](https://github.com/ryz310/pr_comet/pull/38) Performance/RegexpMatch-20190729233036 ([@ryz310](https://github.com/ryz310))
67
- * [#39](https://github.com/ryz310/pr_comet/pull/39) Re-generate .rubocop_todo.yml with RuboCop v0.74.0 ([@ryz310](https://github.com/ryz310))
68
- * [#45](https://github.com/ryz310/pr_comet/pull/45) Re-generate .rubocop_todo.yml with RuboCop v0.75.0 ([@ryz310](https://github.com/ryz310))
69
- * [#50](https://github.com/ryz310/pr_comet/pull/50) Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([@ryz310](https://github.com/ryz310))
70
- * [#55](https://github.com/ryz310/pr_comet/pull/55) Re-generate .rubocop_todo.yml with RuboCop v0.76.0 ([@ryz310](https://github.com/ryz310))
93
+ - [#37](https://github.com/ryz310/pr_comet/pull/37) Re-generate .rubocop_todo.yml with RuboCop v0.73.0 ([@ryz310](https://github.com/ryz310))
94
+ - [#38](https://github.com/ryz310/pr_comet/pull/38) Performance/RegexpMatch-20190729233036 ([@ryz310](https://github.com/ryz310))
95
+ - [#39](https://github.com/ryz310/pr_comet/pull/39) Re-generate .rubocop_todo.yml with RuboCop v0.74.0 ([@ryz310](https://github.com/ryz310))
96
+ - [#45](https://github.com/ryz310/pr_comet/pull/45) Re-generate .rubocop_todo.yml with RuboCop v0.75.0 ([@ryz310](https://github.com/ryz310))
97
+ - [#50](https://github.com/ryz310/pr_comet/pull/50) Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([@ryz310](https://github.com/ryz310))
98
+ - [#55](https://github.com/ryz310/pr_comet/pull/55) Re-generate .rubocop_todo.yml with RuboCop v0.76.0 ([@ryz310](https://github.com/ryz310))
71
99
 
72
100
  ### Misc
73
101
 
74
- * [#44](https://github.com/ryz310/pr_comet/pull/44) Bump rubocop-rspec from 1.34.1 to 1.36.0 ([@ryz310](https://github.com/ryz310))
75
- * [#40](https://github.com/ryz310/pr_comet/pull/40) ryz310/dependabot/bundler/simplecov-0.17.1 ([@ryz310](https://github.com/ryz310))
76
- * [#43](https://github.com/ryz310/pr_comet/pull/43) ryz310/dependabot/bundler/rake-tw-13.0 ([@ryz310](https://github.com/ryz310))
77
- * [#48](https://github.com/ryz310/pr_comet/pull/48) ryz310/dependabot/bundler/rspec-3.9.0 ([@ryz310](https://github.com/ryz310))
78
- * [#47](https://github.com/ryz310/pr_comet/pull/47) ryz310/dependabot/bundler/rubocop-performance-1.5.0 ([@ryz310](https://github.com/ryz310))
79
- * [#53](https://github.com/ryz310/pr_comet/pull/53) Configure Renovate ([@ryz310](https://github.com/ryz310))
80
- * [#56](https://github.com/ryz310/pr_comet/pull/56) Update ruby-orbs orb to v1.4.4 ([@ryz310](https://github.com/ryz310))
81
- * [#61](https://github.com/ryz310/pr_comet/pull/61) Install gem_comet :comet: ([@ryz310](https://github.com/ryz310))
102
+ - [#44](https://github.com/ryz310/pr_comet/pull/44) Bump rubocop-rspec from 1.34.1 to 1.36.0 ([@ryz310](https://github.com/ryz310))
103
+ - [#40](https://github.com/ryz310/pr_comet/pull/40) ryz310/dependabot/bundler/simplecov-0.17.1 ([@ryz310](https://github.com/ryz310))
104
+ - [#43](https://github.com/ryz310/pr_comet/pull/43) ryz310/dependabot/bundler/rake-tw-13.0 ([@ryz310](https://github.com/ryz310))
105
+ - [#48](https://github.com/ryz310/pr_comet/pull/48) ryz310/dependabot/bundler/rspec-3.9.0 ([@ryz310](https://github.com/ryz310))
106
+ - [#47](https://github.com/ryz310/pr_comet/pull/47) ryz310/dependabot/bundler/rubocop-performance-1.5.0 ([@ryz310](https://github.com/ryz310))
107
+ - [#53](https://github.com/ryz310/pr_comet/pull/53) Configure Renovate ([@ryz310](https://github.com/ryz310))
108
+ - [#56](https://github.com/ryz310/pr_comet/pull/56) Update ruby-orbs orb to v1.4.4 ([@ryz310](https://github.com/ryz310))
109
+ - [#61](https://github.com/ryz310/pr_comet/pull/61) Install gem_comet :comet: ([@ryz310](https://github.com/ryz310))
82
110
 
83
111
  ## v0.3.0 (Jul 12, 2019)
84
112
 
85
113
  ### Feature
86
114
 
87
- * [#34](https://github.com/ryz310/pr_comet/pull/34) Support blank PR creation ([@ryz310](https://github.com/ryz310))
115
+ - [#34](https://github.com/ryz310/pr_comet/pull/34) Support blank PR creation ([@ryz310](https://github.com/ryz310))
88
116
 
89
117
  ## v0.2.1 (Jul 12, 2019)
90
118
 
91
119
  ### Misc
92
120
 
93
- * [#28](https://github.com/ryz310/pr_comet/pull/28) Re-generate .rubocop_todo.yml with RuboCop v0.72.0 ([@ryz310](https://github.com/ryz310))
94
- * [#29](https://github.com/ryz310/pr_comet/pull/29) Migrate cirecle ci config to v2.1 ([@ryz310](https://github.com/ryz310))
95
- * [#30](https://github.com/ryz310/pr_comet/pull/30) Improvement of the test coverage ([@ryz310](https://github.com/ryz310))
121
+ - [#28](https://github.com/ryz310/pr_comet/pull/28) Re-generate .rubocop_todo.yml with RuboCop v0.72.0 ([@ryz310](https://github.com/ryz310))
122
+ - [#29](https://github.com/ryz310/pr_comet/pull/29) Migrate cirecle ci config to v2.1 ([@ryz310](https://github.com/ryz310))
123
+ - [#30](https://github.com/ryz310/pr_comet/pull/30) Improvement of the test coverage ([@ryz310](https://github.com/ryz310))
96
124
 
97
125
  ## v0.2.0 (Jun 09, 2019)
98
126
 
99
127
  ### Feature
100
128
 
101
- * [#16](https://github.com/ryz310/pr_comet/pull/16) Use rainbow gem ([@ryz310](https://github.com/ryz310))
102
- * [#18](https://github.com/ryz310/pr_comet/pull/18) Support GitHub project ([@ryz310](https://github.com/ryz310))
129
+ - [#16](https://github.com/ryz310/pr_comet/pull/16) Use rainbow gem ([@ryz310](https://github.com/ryz310))
130
+ - [#18](https://github.com/ryz310/pr_comet/pull/18) Support GitHub project ([@ryz310](https://github.com/ryz310))
103
131
 
104
132
  ### Misc
105
133
 
106
- * [#5](https://github.com/ryz310/pr_comet/pull/5) Re-generate .rubocop_todo.yml with RuboCop v0.68.0 ([@ryz310](https://github.com/ryz310))
107
- * [#12](https://github.com/ryz310/pr_comet/pull/12) Re-generate .rubocop_todo.yml with RuboCop v0.68.1 ([@ryz310](https://github.com/ryz310))
108
- * [#13](https://github.com/ryz310/pr_comet/pull/13) Re-generate .rubocop_todo.yml with RuboCop v0.69.0 ([@ryz310](https://github.com/ryz310))
109
- * [#15](https://github.com/ryz310/pr_comet/pull/15) Re-generate .rubocop_todo.yml with RuboCop v0.70.0 ([@ryz310](https://github.com/ryz310))
110
- * [#17](https://github.com/ryz310/pr_comet/pull/17) Re-generate .rubocop_todo.yml with RuboCop v0.71.0 ([@ryz310](https://github.com/ryz310))
134
+ - [#5](https://github.com/ryz310/pr_comet/pull/5) Re-generate .rubocop_todo.yml with RuboCop v0.68.0 ([@ryz310](https://github.com/ryz310))
135
+ - [#12](https://github.com/ryz310/pr_comet/pull/12) Re-generate .rubocop_todo.yml with RuboCop v0.68.1 ([@ryz310](https://github.com/ryz310))
136
+ - [#13](https://github.com/ryz310/pr_comet/pull/13) Re-generate .rubocop_todo.yml with RuboCop v0.69.0 ([@ryz310](https://github.com/ryz310))
137
+ - [#15](https://github.com/ryz310/pr_comet/pull/15) Re-generate .rubocop_todo.yml with RuboCop v0.70.0 ([@ryz310](https://github.com/ryz310))
138
+ - [#17](https://github.com/ryz310/pr_comet/pull/17) Re-generate .rubocop_todo.yml with RuboCop v0.71.0 ([@ryz310](https://github.com/ryz310))
111
139
 
112
140
  ## v0.1.1 (Apr 08, 2019)
113
141
 
data/Gemfile.lock CHANGED
@@ -1,32 +1,50 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pr_comet (0.5.1)
4
+ pr_comet (0.6.0)
5
5
  octokit
6
6
  rainbow
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
  byebug (11.1.3)
15
15
  coderay (1.1.3)
16
- diff-lcs (1.4.4)
17
- docile (1.3.4)
18
- faraday (1.3.0)
16
+ diff-lcs (1.5.0)
17
+ docile (1.4.0)
18
+ faraday (1.10.0)
19
+ faraday-em_http (~> 1.0)
20
+ faraday-em_synchrony (~> 1.0)
21
+ faraday-excon (~> 1.1)
22
+ faraday-httpclient (~> 1.0)
23
+ faraday-multipart (~> 1.0)
19
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)
29
+ ruby2_keywords (>= 0.0.4)
30
+ faraday-em_http (1.0.0)
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)
20
35
  multipart-post (>= 1.2, < 3)
21
- ruby2_keywords
22
- faraday-net_http (1.0.0)
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)
23
41
  method_source (1.0.0)
24
42
  multipart-post (2.1.1)
25
- octokit (4.20.0)
43
+ octokit (4.22.0)
26
44
  faraday (>= 0.9)
27
45
  sawyer (~> 0.8.0, >= 0.5.3)
28
- parallel (1.20.1)
29
- parser (3.0.0.0)
46
+ parallel (1.22.1)
47
+ parser (3.1.2.0)
30
48
  ast (~> 2.4.1)
31
49
  pry (0.13.1)
32
50
  coderay (~> 1.1)
@@ -34,45 +52,44 @@ GEM
34
52
  pry-byebug (3.9.0)
35
53
  byebug (~> 11.0)
36
54
  pry (~> 0.13.0)
37
- public_suffix (4.0.6)
38
- rainbow (3.0.0)
39
- rake (13.0.3)
40
- regexp_parser (2.0.3)
41
- rexml (3.2.4)
42
- rspec (3.10.0)
43
- rspec-core (~> 3.10.0)
44
- rspec-expectations (~> 3.10.0)
45
- rspec-mocks (~> 3.10.0)
46
- rspec-core (3.10.1)
47
- rspec-support (~> 3.10.0)
48
- rspec-expectations (3.10.1)
55
+ public_suffix (4.0.7)
56
+ rainbow (3.1.1)
57
+ rake (13.0.6)
58
+ regexp_parser (2.3.1)
59
+ rexml (3.2.5)
60
+ rspec (3.11.0)
61
+ rspec-core (~> 3.11.0)
62
+ rspec-expectations (~> 3.11.0)
63
+ rspec-mocks (~> 3.11.0)
64
+ rspec-core (3.11.0)
65
+ rspec-support (~> 3.11.0)
66
+ rspec-expectations (3.11.0)
49
67
  diff-lcs (>= 1.2.0, < 2.0)
50
- rspec-support (~> 3.10.0)
51
- rspec-mocks (3.10.1)
68
+ rspec-support (~> 3.11.0)
69
+ rspec-mocks (3.11.1)
52
70
  diff-lcs (>= 1.2.0, < 2.0)
53
- rspec-support (~> 3.10.0)
54
- rspec-support (3.10.1)
55
- rspec_junit_formatter (0.4.1)
71
+ rspec-support (~> 3.11.0)
72
+ rspec-support (3.11.0)
73
+ rspec_junit_formatter (0.5.1)
56
74
  rspec-core (>= 2, < 4, != 2.12.0)
57
- rubocop (1.8.1)
75
+ rubocop (1.29.0)
58
76
  parallel (~> 1.10)
59
- parser (>= 3.0.0.0)
77
+ parser (>= 3.1.0.0)
60
78
  rainbow (>= 2.2.2, < 4.0)
61
79
  regexp_parser (>= 1.8, < 3.0)
62
- rexml
63
- rubocop-ast (>= 1.2.0, < 2.0)
80
+ rexml (>= 3.2.5, < 4.0)
81
+ rubocop-ast (>= 1.17.0, < 2.0)
64
82
  ruby-progressbar (~> 1.7)
65
83
  unicode-display_width (>= 1.4.0, < 3.0)
66
- rubocop-ast (1.4.0)
67
- parser (>= 2.7.1.5)
68
- rubocop-performance (1.9.2)
69
- rubocop (>= 0.90.0, < 2.0)
84
+ rubocop-ast (1.17.0)
85
+ parser (>= 3.1.1.0)
86
+ rubocop-performance (1.13.3)
87
+ rubocop (>= 1.7.0, < 2.0)
70
88
  rubocop-ast (>= 0.4.0)
71
- rubocop-rspec (2.1.0)
72
- rubocop (~> 1.0)
73
- rubocop-ast (>= 1.1.0)
89
+ rubocop-rspec (2.10.0)
90
+ rubocop (~> 1.19)
74
91
  ruby-progressbar (1.11.0)
75
- ruby2_keywords (0.0.2)
92
+ ruby2_keywords (0.0.5)
76
93
  sawyer (0.8.2)
77
94
  addressable (>= 2.3.5)
78
95
  faraday (> 0.8, < 2.0)
@@ -81,9 +98,11 @@ GEM
81
98
  simplecov-html (~> 0.11)
82
99
  simplecov_json_formatter (~> 0.1)
83
100
  simplecov-html (0.12.3)
84
- simplecov_json_formatter (0.1.2)
85
- unicode-display_width (2.0.0)
86
- yard (0.9.26)
101
+ simplecov_json_formatter (0.1.4)
102
+ unicode-display_width (2.1.0)
103
+ webrick (1.7.0)
104
+ yard (0.9.27)
105
+ webrick (~> 1.7.0)
87
106
 
88
107
  PLATFORMS
89
108
  ruby
@@ -102,4 +121,4 @@ DEPENDENCIES
102
121
  yard
103
122
 
104
123
  BUNDLED WITH
105
- 2.2.4
124
+ 2.2.32
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PrComet
4
- VERSION = '0.5.1'
4
+ VERSION = '0.6.0'
5
5
  end
data/lib/pr_comet.rb CHANGED
@@ -40,6 +40,8 @@ class PrComet
40
40
  git.add('.')
41
41
  git.commit(message)
42
42
  result
43
+ rescue PrComet::Errors::ExistUncommittedModify
44
+ raise `git status`
43
45
  end
44
46
 
45
47
  # Create a pull request. You should call #commit before calling this method.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pr_comet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-11 00:00:00.000000000 Z
11
+ date: 2022-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -186,9 +186,9 @@ extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
188
  - ".circleci/config.yml"
189
- - ".dependabot/config.yml"
190
189
  - ".envrc.skeleton"
191
190
  - ".gem_comet.yml"
191
+ - ".github/dependabot.yml"
192
192
  - ".gitignore"
193
193
  - ".rspec"
194
194
  - ".rubocop.yml"
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.2.3
236
+ rubygems_version: 3.3.11
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: Create a lots of pull request like comets
@@ -1,18 +0,0 @@
1
- version: 1
2
- update_configs:
3
- - package_manager: "ruby:bundler"
4
- directory: "/"
5
- update_schedule: "live"
6
- default_reviewers:
7
- - "ryz310"
8
- default_assignees:
9
- - "ryz310"
10
- default_labels:
11
- - "dependabot"
12
- automerged_updates:
13
- - match:
14
- dependency_type: "development"
15
- update_type: "all"
16
- - match:
17
- dependency_type: "production"
18
- update_type: "semver:patch"