rubocop_challenger 1.0.0 → 1.1.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 +6 -0
- data/.rubocop_todo.yml +1 -1
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/rubocop_challenger/cli.rb +2 -2
- data/lib/rubocop_challenger/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c067ca2d85a26c4e4870f7a83030e41c6c7b3f52f08d228ed0c5b5f9bc8fccf
|
4
|
+
data.tar.gz: 7d37ba10853b30d3f63bd04decefb895c6fa77720ea8950c57562ee3eb593010
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 242895abafca8d75d793d5163d21cd4fb94b4ba46d090cc73e57157878b60f1f18bfaca4ecca596ac764ee3fbca4c08113b2fd4754d958942f6b1e64e1262505
|
7
|
+
data.tar.gz: 9b1e9551fab46d305d5c323e328d75c7b72d54e503f84c3b265b962d85c695a43f09d4bbc8af1ddb227b510d53b6664245ef95b445a86cbddf6ef67d2c841c65
|
data/.circleci/config.yml
CHANGED
@@ -94,6 +94,10 @@ jobs:
|
|
94
94
|
docker:
|
95
95
|
- image: circleci/ruby:2.5-node-browsers
|
96
96
|
<<: *build
|
97
|
+
build_on_ruby_2.6:
|
98
|
+
docker:
|
99
|
+
- image: circleci/ruby:2.6-node-browsers
|
100
|
+
<<: *build
|
97
101
|
build_on_ruby_latest:
|
98
102
|
docker:
|
99
103
|
- image: circleci/ruby:latest-node-browsers-legacy
|
@@ -172,6 +176,7 @@ workflows:
|
|
172
176
|
- build_on_ruby_2.3
|
173
177
|
- build_on_ruby_2.4
|
174
178
|
- build_on_ruby_2.5
|
179
|
+
- build_on_ruby_2.6
|
175
180
|
- build_on_ruby_latest
|
176
181
|
- rubocop
|
177
182
|
- yardoc
|
@@ -182,6 +187,7 @@ workflows:
|
|
182
187
|
- build_on_ruby_2.3
|
183
188
|
- build_on_ruby_2.4
|
184
189
|
- build_on_ruby_2.5
|
190
|
+
- build_on_ruby_2.6
|
185
191
|
- build_on_ruby_latest
|
186
192
|
- rubocop
|
187
193
|
filters:
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-12-
|
3
|
+
# on 2018-12-29 00:37:25 +0900 using RuboCop version 0.61.1.
|
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/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_challenger (1.
|
4
|
+
rubocop_challenger (1.1.0)
|
5
5
|
octokit
|
6
6
|
rubocop
|
7
7
|
rubocop-rspec
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
rspec-support (3.8.0)
|
46
46
|
rspec_junit_formatter (0.4.1)
|
47
47
|
rspec-core (>= 2, < 4, != 2.12.0)
|
48
|
-
rubocop (0.
|
48
|
+
rubocop (0.61.1)
|
49
49
|
jaro_winkler (~> 1.5.1)
|
50
50
|
parallel (~> 1.10)
|
51
51
|
parser (>= 2.5, != 2.5.1.1)
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
simplecov-html (~> 0.10.0)
|
66
66
|
simplecov-html (0.10.2)
|
67
67
|
thor (0.20.3)
|
68
|
-
unicode-display_width (1.4.
|
68
|
+
unicode-display_width (1.4.1)
|
69
69
|
yard (0.9.16)
|
70
70
|
|
71
71
|
PLATFORMS
|
data/README.md
CHANGED
@@ -83,14 +83,14 @@ module RubocopChallenger
|
|
83
83
|
|
84
84
|
def rubocop_challenge
|
85
85
|
target_rule = Rubocop::Challenge.exec(options[:file_path], options[:mode])
|
86
|
-
pr_creater.commit ":
|
86
|
+
pr_creater.commit ":police_car: #{target_rule.title}"
|
87
87
|
target_rule
|
88
88
|
end
|
89
89
|
|
90
90
|
def regenerate_rubocop_todo
|
91
91
|
return unless options[:'regenerate-rubocop-todo']
|
92
92
|
|
93
|
-
pr_creater.commit ':
|
93
|
+
pr_creater.commit ':police_car: regenerate rubocop todo' do
|
94
94
|
Rubocop::Command.new.auto_gen_config
|
95
95
|
end
|
96
96
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_challenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryosuke_sato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -216,8 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
|
220
|
-
rubygems_version: 2.7.8
|
219
|
+
rubygems_version: 3.0.1
|
221
220
|
signing_key:
|
222
221
|
specification_version: 4
|
223
222
|
summary: Make a clean your rubocop_todo.yml with CI
|