Skip to content

Commit 5d1f2e6

Browse files
committed
Bump rubocop
1 parent 577186c commit 5d1f2e6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.rubocop_todo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This configuration was generated by `rubocop --auto-gen-config`
2-
# on 2015-03-22 20:12:08 -0300 using RuboCop version 0.28.0.
2+
# on 2015-05-21 22:47:03 +0700 using RuboCop version 0.31.0.
33
# The point is for the user to remove these configuration records
44
# one by one as the offenses are removed from the code base.
55
# Note that changes in the inspected code, or installation of new
@@ -12,13 +12,13 @@ Metrics/AbcSize:
1212
# Offense count: 1
1313
# Configuration parameters: CountComments.
1414
Metrics/ClassLength:
15-
Max: 337
15+
Max: 328
1616

1717
# Offense count: 5
1818
Metrics/CyclomaticComplexity:
1919
Max: 17
2020

21-
# Offense count: 175
21+
# Offense count: 176
2222
# Configuration parameters: AllowURI, URISchemes.
2323
Metrics/LineLength:
2424
Max: 146

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ group :development, :test do
1212
gem 'json'
1313
gem 'rspec'
1414
gem 'rack-test', '~> 0.6.2', require: 'rack/test'
15-
gem 'rubocop', '0.28.0'
15+
gem 'rubocop', '0.31.0'
1616
end

lib/grape_entity/entity.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ def presented
433433
end
434434

435435
def initialize(object, options = {})
436-
@object, @options = object, options
436+
@object = object
437+
@options = options
437438
end
438439

439440
def exposures

0 commit comments

Comments
 (0)