Skip to content

Commit 865deea

Browse files
committed
Upgraded RuboCop to 0.28.0.
1 parent 4e1a489 commit 865deea

File tree

4 files changed

+26
-28
lines changed

4 files changed

+26
-28
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Gemfile.lock
22
doc
33
pkg
4+
.bundle

.rubocop.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,4 @@ AllCops:
33
- vendor/**/*
44
- bin/**/*
55

6-
LineLength:
7-
Enabled: false
8-
9-
MethodLength:
10-
Enabled: false
11-
12-
ClassLength:
13-
Enabled: false
14-
15-
Documentation:
16-
# don't require classes to be documented
17-
Enabled: false
18-
19-
CollectionMethods:
20-
# don't prefer map to collect, recuce to inject
21-
Enabled: false
22-
23-
Encoding:
24-
# no need to always specify encoding
25-
Enabled: false
26-
27-
FileName:
28-
# allow grape-roar.rb
29-
Enabled: false
6+
inherit_from: .rubocop_todo.yml

.rubocop_todo.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This configuration was generated by `rubocop --auto-gen-config`
2+
# on 2014-12-18 10:52:56 -0500 using RuboCop version 0.28.0.
3+
# The point is for the user to remove these configuration records
4+
# one by one as the offenses are removed from the code base.
5+
# Note that changes in the inspected code, or installation of new
6+
# versions of RuboCop, may require this file to be generated again.
7+
8+
# Offense count: 8
9+
# Configuration parameters: AllowURI, URISchemes.
10+
Metrics/LineLength:
11+
Max: 304
12+
13+
# Offense count: 13
14+
Style/Documentation:
15+
Enabled: false
16+
17+
# Offense count: 1
18+
# Configuration parameters: Exclude.
19+
Style/FileName:
20+
Enabled: false

Gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ source 'https://rubygems.org'
33
gemspec
44

55
group :development do
6-
gem "rake"
6+
gem 'rake'
77
end
88

99
group :test do
10-
gem "rspec", "~> 3.0"
11-
gem "rack-test"
10+
gem 'rspec', '~> 3.0'
11+
gem 'rack-test'
1212
end
1313

1414
group :development, :test do
15-
gem 'rubocop', '0.24.1'
15+
gem 'rubocop', '0.28.0'
1616
end

0 commit comments

Comments
 (0)