Skip to content

Commit

Permalink
Upgraded to Rubocop 0.84.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed May 26, 2020
1 parent 567755c commit bed22d5
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-05-18 14:31:59 +0200 using RuboCop version 0.83.0.
# on 2020-05-26 08:28:37 -0400 using RuboCop version 0.84.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -223,7 +223,7 @@ Style/WordArray:
- 'spec/grape/validations/validators/except_values_spec.rb'
- 'spec/grape/validations/validators/values_spec.rb'

# Offense count: 1339
# Offense count: 125
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#### Features

* [#2060](https://github.com/ruby-grape/grape/pull/2060): Upgraded Rubocop to 0.84.0 - [@dblock](https://github.com/dblock).
* Your contribution here.

#### Fixes
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/multi_json.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/multi_xml.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bundler'
gem 'hashie'
gem 'rake'
gem 'rubocop', '0.80.1'
gem 'rubocop', '0.84.0'
gem 'rubocop-performance', require: false
end

Expand Down
2 changes: 1 addition & 1 deletion spec/grape/middleware/auth/strategies_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def app
RSpec::Matchers.define :be_challenge do
match do |actual_response|
actual_response.status == 401 &&
actual_response['WWW-Authenticate'] =~ /^Digest / &&
actual_response['WWW-Authenticate'].start_with?('Digest ') &&
actual_response.body.empty?
end
end
Expand Down

0 comments on commit bed22d5

Please sign in to comment.