rubocop_challenger 2.0.1 → 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: 6750425d109e73b835ecb0287d57861eb6a7cc54bbf48ae13aba5ebad670b01a
4
- data.tar.gz: 7c15913ce9010838d5ee7637d55b6a90e2cb097cadc0c31d12b94ed78b054b9a
3
+ metadata.gz: d097a5ea1b6b131558d645c7d5b89a9be3c53e632f933ae4fa3ce239a9ddac23
4
+ data.tar.gz: b2a91d4b753a142d0f632816222a9c0e1257cc98a4dfd3948cade3aa1cbd370e
5
5
  SHA512:
6
- metadata.gz: 7fb4287bf9a2fddead8443186c84e4ab1083fbc66adb96f901b838803a8923e5aff67419b4d0b2c38bd9cdee170538693a1c993cb39295d8df5105f7a2a40a3d
7
- data.tar.gz: 272d169b16d6c4c40263405818d53d86e6189b97158728d835e4512db79ffb518c41eb1ae27a826425bb788ad2638baa176d11d76796eedc91c4245d47b1000b
6
+ metadata.gz: 6b1b6250da286f15506c6bcd700a9a5973a75e848ae34f71e653aef5f65733214e6b22e7cf06a104d993cfd13c4bcf4e231543ab5c0100cc7f4a1b6e16a20c45
7
+ data.tar.gz: e4b3fed47b69d1247e713365d517188d87f5f97aadf5e9f67256e8b6c9b798c52eaf0c385018fccc08cfbf5c23e3cb8957c9980e7e97c460f7295a49091d60b2
@@ -41,7 +41,7 @@ commands:
41
41
  - code-climate/format-coverage:
42
42
  input-type: simplecov
43
43
  prefix: $(readlink -f .)
44
- coverage-file: coverage/.resultset.json
44
+ coverage-file: coverage/coverage.json
45
45
  output: coverage/codeclimate.$CIRCLE_BUILD_NUM.json
46
46
  - persist_to_workspace:
47
47
  root: coverage
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --exclude-limit 30 --no-auto-gen-timestamp`
3
- # using RuboCop version 1.7.0.
3
+ # using RuboCop version 1.8.0.
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
@@ -1,5 +1,19 @@
1
1
  # Change log
2
2
 
3
+ ## v2.1.0 (Jan 11, 2021)
4
+
5
+ ### Feature
6
+
7
+ * [#441](https://github.com/ryz310/rubocop_challenger/pull/441) Improve PR description generation ([@ryz310](https://github.com/ryz310))
8
+
9
+ ### Rubocop Challenge
10
+
11
+ * [#442](https://github.com/ryz310/rubocop_challenger/pull/442) Re-generate .rubocop_todo.yml with RuboCop v1.8.0 ([@ryz310](https://github.com/ryz310))
12
+
13
+ ### Dependabot
14
+
15
+ * [#444](https://github.com/ryz310/rubocop_challenger/pull/444) Update simplecov requirement from = 0.17.1 to = 0.21.2 ([@ryz310](https://github.com/ryz310))
16
+
3
17
  ## v2.0.1 (Jan 06, 2021)
4
18
 
5
19
  ### Bugfix
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop_challenger (2.0.1)
4
+ rubocop_challenger (2.1.0)
5
5
  pr_comet (~> 0.4.0)
6
6
  rainbow
7
7
  rubocop (>= 0.87)
@@ -15,7 +15,7 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- activesupport (6.1.0)
18
+ activesupport (6.1.1)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (>= 1.6, < 2)
21
21
  minitest (>= 5.1)
@@ -36,9 +36,8 @@ GEM
36
36
  faraday-net_http (1.0.0)
37
37
  i18n (1.8.7)
38
38
  concurrent-ruby (~> 1.0)
39
- json (2.5.1)
40
39
  method_source (1.0.0)
41
- minitest (5.14.2)
40
+ minitest (5.14.3)
42
41
  multipart-post (2.1.1)
43
42
  octokit (4.20.0)
44
43
  faraday (>= 0.9)
@@ -76,15 +75,15 @@ GEM
76
75
  rspec-support (3.10.1)
77
76
  rspec_junit_formatter (0.4.1)
78
77
  rspec-core (>= 2, < 4, != 2.12.0)
79
- rubocop (1.7.0)
78
+ rubocop (1.8.0)
80
79
  parallel (~> 1.10)
81
- parser (>= 2.7.1.5)
80
+ parser (>= 3.0.0.0)
82
81
  rainbow (>= 2.2.2, < 4.0)
83
82
  regexp_parser (>= 1.8, < 3.0)
84
83
  rexml
85
84
  rubocop-ast (>= 1.2.0, < 2.0)
86
85
  ruby-progressbar (~> 1.7)
87
- unicode-display_width (>= 1.4.0, < 2.0)
86
+ unicode-display_width (>= 1.4.0, < 3.0)
88
87
  rubocop-ast (1.4.0)
89
88
  parser (>= 2.7.1.5)
90
89
  rubocop-performance (1.9.2)
@@ -104,15 +103,16 @@ GEM
104
103
  sawyer (0.8.2)
105
104
  addressable (>= 2.3.5)
106
105
  faraday (> 0.8, < 2.0)
107
- simplecov (0.17.1)
106
+ simplecov (0.21.2)
108
107
  docile (~> 1.1)
109
- json (>= 1.8, < 3)
110
- simplecov-html (~> 0.10.0)
111
- simplecov-html (0.10.2)
108
+ simplecov-html (~> 0.11)
109
+ simplecov_json_formatter (~> 0.1)
110
+ simplecov-html (0.12.3)
111
+ simplecov_json_formatter (0.1.2)
112
112
  thor (1.0.1)
113
113
  tzinfo (2.0.4)
114
114
  concurrent-ruby (~> 1.0)
115
- unicode-display_width (1.7.0)
115
+ unicode-display_width (2.0.0)
116
116
  yard (0.9.26)
117
117
  zeitwerk (2.4.2)
118
118
 
@@ -126,7 +126,7 @@ DEPENDENCIES
126
126
  rspec
127
127
  rspec_junit_formatter
128
128
  rubocop_challenger!
129
- simplecov (= 0.17.1)
129
+ simplecov (= 0.21.2)
130
130
 
131
131
  BUNDLED WITH
132
132
  2.2.3
@@ -39,5 +39,5 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency 'rake', '~> 13.0'
40
40
  spec.add_development_dependency 'rspec'
41
41
  spec.add_development_dependency 'rspec_junit_formatter'
42
- spec.add_development_dependency 'simplecov', '0.17.1'
42
+ spec.add_development_dependency 'simplecov', '0.21.2'
43
43
  end
@@ -52,11 +52,15 @@ module RubocopChallenger
52
52
  end
53
53
 
54
54
  def source_file_path
55
- instance_methods
56
- .map { |m| cop_class.instance_method(m).source_location }
57
- .reject(&:nil?)
58
- .map(&:first)
59
- .first
55
+ if Object.respond_to?(:const_source_location)
56
+ Object.const_source_location(cop_class.name).first
57
+ else
58
+ instance_methods
59
+ .map { |m| cop_class.instance_method(m).source_location }
60
+ .reject(&:nil?)
61
+ .map(&:first)
62
+ .first
63
+ end
60
64
  end
61
65
  end
62
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopChallenger
4
- VERSION = '2.0.1'
4
+ VERSION = '2.1.0'
5
5
  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: 2.0.1
4
+ version: 2.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: 2021-01-06 00:00:00.000000000 Z
11
+ date: 2021-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pr_comet
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 0.17.1
215
+ version: 0.21.2
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 0.17.1
222
+ version: 0.21.2
223
223
  description: Make a clean your rubocop_todo.yml with CI
224
224
  email:
225
225
  - r-sato@feedforce.jp