danger-rubocop 0.7.1 → 0.9.1

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: 7b288b71917f30ef97bf3fc0c1f8724b46a88e7df67b892b6150c61c17a7de98
4
- data.tar.gz: 0cfe9c4bab2641bca6fcc424d1fe696880b1707c6d95090f0daf3329c7dd1abf
3
+ metadata.gz: e9a9adf95fe6fc6b0f29c5a34a521eafcb26a10791dd9fe3d4126ce55bae3ee5
4
+ data.tar.gz: c8731c9a5353f01ef27d295af64d0be6df245a75b243a428fd2373c009eeb866
5
5
  SHA512:
6
- metadata.gz: f47e4da17133f200a872614aecafed97f9ea9cd7461e46c8389fbea70f9f8ebccc74d4910ac228b76caa90f8d112a553939741c98a61c5e073d135dae7330ef4
7
- data.tar.gz: 70268a8ab1c21d2b68ea5a4455177998562322cc3cf5d2d9b1decf710085bec6fd162bada84d1727420665d8ce49fa29afa0479921bd460775cffa76d7aa0d3b
6
+ metadata.gz: eed612a6b9874424d3cd336acef1321b7555ec7e4920092f0c87a9af5f470c6febb9012cdd3ddd5220b2c8fcb1e20631af5f3132871f7c790de1a668f1a2e125
7
+ data.tar.gz: 6ade89d66c71e050f1938cba1e2f7827742b5ce9ac939baa73104c35f7a85723e788fd437ee91574de18732a790a2f9206d602e5ac0217bd97178f23ff37fdb1
@@ -0,0 +1,30 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ docker:
5
+ - image: circleci/ruby:2.6
6
+
7
+ working_directory: ~/repo
8
+
9
+ steps:
10
+ - checkout
11
+
12
+ - restore_cache:
13
+ keys:
14
+ - v1-dependencies-{{ checksum "Gemfile.lock" }}
15
+ # fallback to using the latest cache if no exact match is found
16
+ - v1-dependencies-
17
+
18
+ - run:
19
+ name: install dependencies
20
+ command: |
21
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
22
+
23
+ - save_cache:
24
+ paths:
25
+ - ./vendor/bundle
26
+ key: v1-dependencies-{{ checksum "Gemfile.lock" }}
27
+
28
+ - run:
29
+ name: run tests
30
+ command: bundle exec rake spec
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ruby '>= 2.0'
3
+ ruby '>= 2.6.0'
4
4
 
5
5
  gemspec
6
6
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-rubocop (0.7.0)
4
+ danger-rubocop (0.8.0)
5
5
  danger
6
6
  rubocop
7
7
 
@@ -10,7 +10,7 @@ GEM
10
10
  specs:
11
11
  addressable (2.7.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
- ast (2.4.0)
13
+ ast (2.4.1)
14
14
  bacon (1.2.0)
15
15
  claide (1.0.3)
16
16
  claide-plugins (0.9.2)
@@ -21,27 +21,28 @@ GEM
21
21
  colored2 (3.1.2)
22
22
  cork (0.3.0)
23
23
  colored2 (~> 3.1)
24
- danger (6.0.9)
24
+ danger (8.0.1)
25
25
  claide (~> 1.0)
26
26
  claide-plugins (>= 0.9.2)
27
27
  colored2 (~> 3.1)
28
28
  cork (~> 0.1)
29
- faraday (~> 0.9)
29
+ faraday (>= 0.9.0, < 2.0)
30
30
  faraday-http-cache (~> 2.0)
31
- git (~> 1.5)
31
+ git (~> 1.7)
32
32
  kramdown (~> 2.0)
33
33
  kramdown-parser-gfm (~> 1.0)
34
34
  no_proxy_fix
35
35
  octokit (~> 4.7)
36
36
  terminal-table (~> 1)
37
37
  diff-lcs (1.2.5)
38
- faraday (0.15.4)
38
+ faraday (1.0.1)
39
39
  multipart-post (>= 1.2, < 3)
40
- faraday-http-cache (2.0.0)
41
- faraday (~> 0.8)
40
+ faraday-http-cache (2.2.0)
41
+ faraday (>= 0.8)
42
42
  ffi (1.9.10)
43
43
  formatador (0.2.5)
44
- git (1.5.0)
44
+ git (1.7.0)
45
+ rchardet (~> 1.8)
45
46
  guard (2.14.0)
46
47
  formatador (>= 0.2.4)
47
48
  listen (>= 2.7, < 4.0)
@@ -56,8 +57,8 @@ GEM
56
57
  guard (~> 2.1)
57
58
  guard-compat (~> 1.1)
58
59
  rspec (>= 2.99.0, < 4.0)
59
- jaro_winkler (1.5.3)
60
- kramdown (2.1.0)
60
+ kramdown (2.3.0)
61
+ rexml
61
62
  kramdown-parser-gfm (1.1.0)
62
63
  kramdown (~> 2.0)
63
64
  listen (3.0.7)
@@ -77,11 +78,12 @@ GEM
77
78
  notiffany (0.1.0)
78
79
  nenv (~> 0.1)
79
80
  shellany (~> 0.0)
80
- octokit (4.14.0)
81
+ octokit (4.18.0)
82
+ faraday (>= 0.9)
81
83
  sawyer (~> 0.8.0, >= 0.5.3)
82
84
  open4 (1.3.4)
83
- parallel (1.17.0)
84
- parser (2.6.4.1)
85
+ parallel (1.19.1)
86
+ parser (2.7.1.3)
85
87
  ast (~> 2.4.0)
86
88
  prettybacon (0.0.2)
87
89
  bacon (~> 1.2)
@@ -89,12 +91,15 @@ GEM
89
91
  coderay (~> 1.1.0)
90
92
  method_source (~> 0.8.1)
91
93
  slop (~> 3.4)
92
- public_suffix (4.0.1)
94
+ public_suffix (4.0.5)
93
95
  rainbow (3.0.0)
94
- rake (10.5.0)
96
+ rake (13.0.1)
95
97
  rb-fsevent (0.9.7)
96
98
  rb-inotify (0.9.7)
97
99
  ffi (>= 0.5.0)
100
+ rchardet (1.8.0)
101
+ regexp_parser (1.7.1)
102
+ rexml (3.2.4)
98
103
  rspec (3.4.0)
99
104
  rspec-core (~> 3.4.0)
100
105
  rspec-expectations (~> 3.4.0)
@@ -108,13 +113,17 @@ GEM
108
113
  diff-lcs (>= 1.2.0, < 2.0)
109
114
  rspec-support (~> 3.4.0)
110
115
  rspec-support (3.4.1)
111
- rubocop (0.74.0)
112
- jaro_winkler (~> 1.5.1)
116
+ rubocop (0.85.1)
113
117
  parallel (~> 1.10)
114
- parser (>= 2.6)
118
+ parser (>= 2.7.0.1)
115
119
  rainbow (>= 2.2.2, < 4.0)
120
+ regexp_parser (>= 1.7)
121
+ rexml
122
+ rubocop-ast (>= 0.0.3)
116
123
  ruby-progressbar (~> 1.7)
117
- unicode-display_width (>= 1.4.0, < 1.7)
124
+ unicode-display_width (>= 1.4.0, < 2.0)
125
+ rubocop-ast (0.0.3)
126
+ parser (>= 2.7.0.1)
118
127
  ruby-progressbar (1.10.1)
119
128
  sawyer (0.8.2)
120
129
  addressable (>= 2.3.5)
@@ -124,7 +133,7 @@ GEM
124
133
  terminal-table (1.8.0)
125
134
  unicode-display_width (~> 1.1, >= 1.1.1)
126
135
  thor (0.19.1)
127
- unicode-display_width (1.6.0)
136
+ unicode-display_width (1.7.0)
128
137
  yard (0.9.20)
129
138
 
130
139
  PLATFORMS
@@ -141,12 +150,12 @@ DEPENDENCIES
141
150
  mocha-on-bacon
142
151
  prettybacon
143
152
  pry
144
- rake (~> 10.0)
153
+ rake (~> 13.0)
145
154
  rspec (~> 3.4)
146
155
  yard
147
156
 
148
157
  RUBY VERSION
149
- ruby 2.3.1p112
158
+ ruby 2.6.0p0
150
159
 
151
160
  BUNDLED WITH
152
161
  1.17.3
data/README.md CHANGED
@@ -43,7 +43,7 @@ rubocop.lint inline_comment: true
43
43
 
44
44
  Runs Ruby files through Rubocop. Generates a `markdown` list of warnings.
45
45
 
46
- This method accepts configuration hash.
46
+ This method accepts a configuration hash.
47
47
  The following keys are supported:
48
48
 
49
49
  * `files`: array of file names or glob patterns to determine files to lint
@@ -56,6 +56,7 @@ The following keys are supported:
56
56
  * `config`: path to the `.rubocop.yml` file.
57
57
  * `only_report_new_offenses`: pass `true` to only report offenses that are in current user's scope.
58
58
  Note that this won't mark offenses for _Metrics/XXXLength_ if you add lines to an already existing scope.
59
+ * `include_cop_names`: Prepends cop names to the output messages. Example: "Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end."
59
60
 
60
61
 
61
62
  Passing `files` as only argument is also supported for backward compatibility.
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  spec.add_dependency 'danger'
21
- spec.add_dependency 'rubocop'
21
+ spec.add_dependency 'rubocop', '~> 0.83'
22
22
 
23
23
  # General ruby development
24
24
  spec.add_development_dependency 'bundler', '~> 1.3'
25
- spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rake', '~> 13.0'
26
26
 
27
27
  # For validating the plugin lints
28
28
  spec.add_development_dependency 'yard'
@@ -35,6 +35,7 @@ module Danger
35
35
  only_report_new_offenses = config[:only_report_new_offenses] || false
36
36
  inline_comment = config[:inline_comment] || false
37
37
  fail_on_inline_comment = config[:fail_on_inline_comment] || false
38
+ include_cop_names = config[:include_cop_names] || false
38
39
 
39
40
  files_to_lint = fetch_files_to_lint(files)
40
41
  files_to_report = rubocop(files_to_lint, force_exclusion, only_report_new_offenses, config_path: config_path)
@@ -43,16 +44,16 @@ module Danger
43
44
  return report_failures files_to_report if report_danger
44
45
 
45
46
  if inline_comment
46
- add_violation_for_each_line(files_to_report, fail_on_inline_comment)
47
+ add_violation_for_each_line(files_to_report, fail_on_inline_comment, include_cop_names: include_cop_names)
47
48
  else
48
- markdown offenses_message(files_to_report)
49
+ markdown offenses_message(files_to_report, include_cop_names: include_cop_names)
49
50
  end
50
51
  end
51
52
 
52
53
  private
53
54
 
54
55
  def rubocop(files_to_lint, force_exclusion, only_report_new_offenses, config_path: nil)
55
- base_command = ['rubocop', '-f', 'json']
56
+ base_command = ['rubocop', '-f', 'json', '--only-recognized-file-types']
56
57
  base_command.concat(['--force-exclusion']) if force_exclusion
57
58
  base_command.concat(['--config', config_path.shellescape]) unless config_path.nil?
58
59
 
@@ -84,7 +85,7 @@ module Danger
84
85
  .flat_map do |chunk|
85
86
  first_line, *diff = chunk.split("\n")
86
87
  # Get start from diff.
87
- lineno = first_line.match(/\+(\d+),(\d+)/).captures.first.to_i
88
+ lineno = first_line.match(/\+(\d+),?(\d?)/).captures.first.to_i
88
89
  diff.each_with_object([]) do |current_line, added_lines|
89
90
  added_lines << lineno if current_line.start_with?('+')
90
91
  lineno += 1 unless current_line.start_with?('-')
@@ -93,7 +94,7 @@ module Danger
93
94
  end
94
95
  end
95
96
 
96
- def offenses_message(offending_files)
97
+ def offenses_message(offending_files, include_cop_names: false)
97
98
  require 'terminal-table'
98
99
 
99
100
  message = "### Rubocop violations\n\n"
@@ -102,7 +103,9 @@ module Danger
102
103
  style: { border_i: '|' },
103
104
  rows: offending_files.flat_map do |file|
104
105
  file['offenses'].map do |offense|
105
- [file['path'], offense['location']['line'], offense['message']]
106
+ offense_message = offense['message']
107
+ offense_message = offense['cop_name'] + ': ' + offense_message if include_cop_names
108
+ [file['path'], offense['location']['line'], offense_message]
106
109
  end
107
110
  end
108
111
  ).to_s
@@ -117,11 +120,13 @@ module Danger
117
120
  end
118
121
  end
119
122
 
120
- def add_violation_for_each_line(offending_files, fail_on_inline_comment)
123
+ def add_violation_for_each_line(offending_files, fail_on_inline_comment, include_cop_names: false)
121
124
  offending_files.flat_map do |file|
122
125
  file['offenses'].map do |offense|
126
+ offense_message = offense['message']
127
+ offense_message = offense['cop_name'] + ': ' + offense_message if include_cop_names
123
128
  arguments = [
124
- offense['message'],
129
+ offense_message,
125
130
  {
126
131
  file: file['path'],
127
132
  line: offense['location']['line']
@@ -1,3 +1,3 @@
1
1
  module DangerRubocop
2
- VERSION = '0.7.1'.freeze
2
+ VERSION = '0.9.1'.freeze
3
3
  end
@@ -107,6 +107,26 @@ module Danger
107
107
  it 'handles git diff' do
108
108
  expect(@rubocop.send(:added_lines, 'SAMPLE')).to eq([1, 2])
109
109
  end
110
+
111
+ context "single line added to a new file" do
112
+ before do
113
+ allow(@rubocop.git).to receive(:diff_for_file).with('SAMPLE') do
114
+ instance_double('Git::Diff::DiffFile', patch: <<~DIFF)
115
+ diff --git a/SAMPLE b/SAMPLE
116
+ new file mode 100644
117
+ index 0000000..7bba8c8
118
+ --- /dev/null
119
+ +++ b/SAMPLE
120
+ @@ -0,0 +1 @@
121
+ +line 1
122
+ DIFF
123
+ end
124
+ end
125
+
126
+ it 'handles git diff' do
127
+ expect(@rubocop.send(:added_lines, 'SAMPLE')).to eq([1])
128
+ end
129
+ end
110
130
  end
111
131
 
112
132
  describe :lint_files do
@@ -117,6 +137,7 @@ module Danger
117
137
  'path' => 'spec/fixtures/ruby_file.rb',
118
138
  'offenses' => [
119
139
  {
140
+ 'cop_name' => 'Syntax/WhetherYouShouldDoThat',
120
141
  'message' => "Don't do that!",
121
142
  'location' => { 'line' => 13 }
122
143
  }
@@ -133,6 +154,7 @@ module Danger
133
154
  'path' => 'spec/fixtures/another_ruby_file.rb',
134
155
  'offenses' => [
135
156
  {
157
+ 'cop_name' => 'Syntax/WhetherYouShouldDoThat',
136
158
  'message' => "Don't do that!",
137
159
  'location' => { 'line' => 23 }
138
160
  }
@@ -144,7 +166,7 @@ module Danger
144
166
 
145
167
  it 'handles a rubocop report for specified files' do
146
168
  allow(@rubocop).to receive(:`)
147
- .with('bundle exec rubocop -f json --config path/to/rubocop.yml spec/fixtures/ruby_file.rb')
169
+ .with('bundle exec rubocop -f json --only-recognized-file-types --config path/to/rubocop.yml spec/fixtures/ruby_file.rb')
148
170
  .and_return(response_ruby_file)
149
171
 
150
172
  # Do it
@@ -158,9 +180,25 @@ module Danger
158
180
  expect(output).to include("spec/fixtures/ruby_file.rb | 13 | Don't do that!")
159
181
  end
160
182
 
183
+ it 'includes cop names when include_cop_names is set' do
184
+ allow(@rubocop).to receive(:`)
185
+ .with('bundle exec rubocop -f json --only-recognized-file-types --config path/to/rubocop.yml spec/fixtures/ruby_file.rb')
186
+ .and_return(response_ruby_file)
187
+
188
+ # Do it
189
+ @rubocop.lint(files: 'spec/fixtures/ruby*.rb', config: 'path/to/rubocop.yml', include_cop_names: true)
190
+
191
+ output = @rubocop.status_report[:markdowns].first.message
192
+
193
+ # A title
194
+ expect(output).to include('Rubocop violations')
195
+ # A warning
196
+ expect(output).to include("spec/fixtures/ruby_file.rb | 13 | Syntax/WhetherYouShouldDoThat: Don't do that!")
197
+ end
198
+
161
199
  it 'handles a rubocop report for specified files (legacy)' do
162
200
  allow(@rubocop).to receive(:`)
163
- .with('bundle exec rubocop -f json spec/fixtures/ruby_file.rb')
201
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/ruby_file.rb')
164
202
  .and_return(response_ruby_file)
165
203
 
166
204
  # Do it
@@ -176,7 +214,7 @@ module Danger
176
214
 
177
215
  it 'appends --force-exclusion argument when force_exclusion is set' do
178
216
  allow(@rubocop).to receive(:`)
179
- .with('bundle exec rubocop -f json --force-exclusion spec/fixtures/ruby_file.rb')
217
+ .with('bundle exec rubocop -f json --only-recognized-file-types --force-exclusion spec/fixtures/ruby_file.rb')
180
218
  .and_return(response_ruby_file)
181
219
 
182
220
  # Do it
@@ -196,7 +234,7 @@ module Danger
196
234
  .and_return(["spec/fixtures/another_ruby_file.rb"])
197
235
 
198
236
  allow(@rubocop).to receive(:`)
199
- .with('bundle exec rubocop -f json spec/fixtures/another_ruby_file.rb')
237
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/another_ruby_file.rb')
200
238
  .and_return(response_another_ruby_file)
201
239
 
202
240
  @rubocop.lint
@@ -212,7 +250,7 @@ module Danger
212
250
  .and_return(['spec/fixtures/ruby_file.rb'])
213
251
  allow(@rubocop.git).to receive(:added_files).and_return([])
214
252
  allow(@rubocop).to receive(:`)
215
- .with('bundle exec rubocop -f json spec/fixtures/ruby_file.rb')
253
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/ruby_file.rb')
216
254
  .and_return(response_ruby_file)
217
255
 
218
256
  @rubocop.lint
@@ -234,13 +272,13 @@ EOS
234
272
  .and_return(['spec/fixtures/ruby_file.rb'])
235
273
  allow(@rubocop.git).to receive(:added_files).and_return([])
236
274
  allow(@rubocop).to receive(:`)
237
- .with('bundle exec rubocop -f json spec/fixtures/ruby_file.rb')
275
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/ruby_file.rb')
238
276
  .and_return(response_ruby_file)
239
277
 
240
278
  @rubocop.lint(inline_comment: true)
241
279
 
242
280
  expect(@rubocop.violation_report[:warnings].first.to_s)
243
- .to eq("Violation Don't do that! { sticky: false, file: spec/fixtures/ruby_file.rb, line: 13 }")
281
+ .to eq("Violation Don't do that! { sticky: false, file: spec/fixtures/ruby_file.rb, line: 13, type: warning }")
244
282
  end
245
283
  end
246
284
 
@@ -250,13 +288,13 @@ EOS
250
288
  .and_return(['spec/fixtures/ruby_file.rb'])
251
289
  allow(@rubocop.git).to receive(:added_files).and_return([])
252
290
  allow(@rubocop).to receive(:`)
253
- .with('bundle exec rubocop -f json spec/fixtures/ruby_file.rb')
291
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/ruby_file.rb')
254
292
  .and_return(response_ruby_file)
255
293
 
256
294
  @rubocop.lint(fail_on_inline_comment: true, inline_comment: true)
257
295
 
258
296
  expect(@rubocop.violation_report[:errors].first.to_s)
259
- .to eq("Violation Don't do that! { sticky: false, file: spec/fixtures/ruby_file.rb, line: 13 }")
297
+ .to eq("Violation Don't do that! { sticky: false, file: spec/fixtures/ruby_file.rb, line: 13, type: error }")
260
298
  end
261
299
  end
262
300
  end
@@ -283,7 +321,7 @@ EOS
283
321
  .and_return(['spec/fixtures/ruby_file.rb'])
284
322
  allow(@rubocop.git).to receive(:added_files).and_return([])
285
323
  allow(@rubocop).to receive(:`)
286
- .with('bundle exec rubocop -f json spec/fixtures/ruby_file.rb')
324
+ .with('bundle exec rubocop -f json --only-recognized-file-types spec/fixtures/ruby_file.rb')
287
325
  .and_return(response_ruby_file)
288
326
 
289
327
  expect(@rubocop).to receive(:fail).with(fail_msg)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ash Furrow
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-21 00:00:00.000000000 Z
11
+ date: 2020-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.83'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.83'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: yard
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +156,7 @@ executables: []
156
156
  extensions: []
157
157
  extra_rdoc_files: []
158
158
  files:
159
+ - ".circleci/config.yml"
159
160
  - ".gitignore"
160
161
  - Gemfile
161
162
  - Gemfile.lock
@@ -163,7 +164,6 @@ files:
163
164
  - LICENSE
164
165
  - README.md
165
166
  - Rakefile
166
- - circle.yml
167
167
  - danger-rubocop.gemspec
168
168
  - lib/danger_plugin.rb
169
169
  - lib/version.rb
@@ -177,7 +177,7 @@ homepage: https://github.com/ashfurrow/danger-rubocop
177
177
  licenses:
178
178
  - MIT
179
179
  metadata: {}
180
- post_install_message:
180
+ post_install_message:
181
181
  rdoc_options: []
182
182
  require_paths:
183
183
  - lib
@@ -192,9 +192,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubyforge_project:
196
- rubygems_version: 2.7.6
197
- signing_key:
195
+ rubygems_version: 3.0.8
196
+ signing_key:
198
197
  specification_version: 4
199
198
  summary: A Danger plugin for running Ruby files through Rubocop.
200
199
  test_files:
data/circle.yml DELETED
@@ -1,3 +0,0 @@
1
- machine:
2
- ruby:
3
- version: "2.2.5"