File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed
Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,11 @@ AllCops:
77 - bin/**/*
88
99require :
10- - rubocop-performance
1110 - rubocop-rspec
1211
12+ plugins :
13+ - rubocop-performance
14+
1315inherit_from : .rubocop_todo.yml
1416
1517Layout/LineLength :
Original file line number Diff line number Diff line change 1515* [ #2557 ] ( https://github.com/ruby-grape/grape/pull/2557 ) : Add ` lint! ` - [ @ericproulx ] ( https://github.com/ericproulx ) .
1616* [ #2561 ] ( https://github.com/ruby-grape/grape/pull/2561 ) : Optimize hash alloc for middleware's default options - [ @ericproulx ] ( https://github.com/ericproulx ) .
1717* [ #2563 ] ( https://github.com/ruby-grape/grape/pull/2563 ) : Update ` Grape::Middleware::Auth::Base ` - [ @ericproulx ] ( https://github.com/ericproulx ) .
18+ * [ #2571 ] ( https://github.com/ruby-grape/grape/pull/2571 ) : Update RuboCop 1.75.8 - [ @pieterocp ] ( https://github.com/pieterocp ) .
1819* Your contribution here.
1920
2021#### Fixes
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ group :development, :test do
1010 gem 'builder' , require : false
1111 gem 'bundler'
1212 gem 'rake'
13- gem 'rubocop' , '1.71.2 ' , require : false
14- gem 'rubocop-performance' , '1.23.1 ' , require : false
13+ gem 'rubocop' , '1.75.8 ' , require : false
14+ gem 'rubocop-performance' , '1.25.0 ' , require : false
1515 gem 'rubocop-rspec' , '3.4.0' , require : false
1616end
1717
Original file line number Diff line number Diff line change @@ -1422,7 +1422,7 @@ def to_txt
14221422 def initialize ( app , *args )
14231423 @args = args
14241424 @app = app
1425- @block = block_given? ? true : nil
1425+ @block = block_given? || nil
14261426 end
14271427
14281428 def call ( env )
@@ -4536,8 +4536,8 @@ def inherited(api)
45364536
45374537 let ( :shared_api_module ) do
45384538 Module . new do
4539- # rubocop:disable Style/ExplicitBlockArgument because this causes
4540- # the underlying issue in this form
4539+ # rubocop:disable Style/ExplicitBlockArgument -- because
4540+ # this causes the underlying issue in this form
45414541 def uniqe_id_route
45424542 params do
45434543 use :unique_id
Original file line number Diff line number Diff line change 33module Spec
44 module Support
55 module Helpers
6- INTEGER_CLASS_NAME = 0 . to_i . class . to_s . freeze
6+ INTEGER_CLASS_NAME = 0 . class . to_s . freeze
77
88 def integer_class_name
99 INTEGER_CLASS_NAME
You can’t perform that action at this time.
0 commit comments