Skip to content

Commit 07fa61a

Browse files
authored
Merge pull request #2251 from dblock/upgrade-rubocop
Upgraded RuboCop to 1.25.1.
2 parents 34cff2c + c72f0f2 commit 07fa61a

22 files changed

+56
-75
lines changed

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
#### Features
44

5-
* [#2233](https://github.com/ruby-grape/grape/pull/2233): A setting for disabling documentation to internal APIs - [@dnesteryuk](https://github.com/dnesteryuk).
6-
* [#2235](https://github.com/ruby-grape/grape/pull/2235): Add Ruby 3.1 to CI - [@petergoldstein](https://github.com/petergoldstein).
5+
* [#2233](https://github.com/ruby-grape/grape/pull/2233): Added `do_not_document!` for disabling documentation to internal APIs - [@dnesteryuk](https://github.com/dnesteryuk).
6+
* [#2235](https://github.com/ruby-grape/grape/pull/2235): Add support for Ruby 3.1 - [@petergoldstein](https://github.com/petergoldstein).
77
* [#2248](https://github.com/ruby-grape/grape/pull/2248): Upgraded to rspec 3.11.0 - [@dblock](https://github.com/dblock).
8-
* [#2249](https://github.com/ruby-grape/grape/pull/2249): Split ci matrix, extract edge - [@dblock](https://github.com/dblock).
8+
* [#2249](https://github.com/ruby-grape/grape/pull/2249): Split CI matrix, extract edge - [@dblock](https://github.com/dblock).
9+
* [#2249](https://github.com/ruby-grape/grape/pull/2251): Upgraded to RuboCop 1.25.1 - [@dblock](https://github.com/dblock).
910
* Your contribution here.
1011

1112
#### Fixes
1213

1314
* [#2222](https://github.com/ruby-grape/grape/pull/2222): Autoload types and validators - [@ericproulx](https://github.com/ericproulx).
1415
* [#2232](https://github.com/ruby-grape/grape/pull/2232): Fix kwargs support in shared params definition - [@dm1try](https://github.com/dm1try).
1516
* [#2229](https://github.com/ruby-grape/grape/pull/2229): Do not collect params in route settings - [@dnesteryuk](https://github.com/dnesteryuk).
16-
* [#2234](https://github.com/ruby-grape/grape/pull/2234): Remove non-utf-8 characters from format before generating JSON error - [@bschmeck](https://github.com/bschmeck).
17-
* [#2227](https://github.com/ruby-grape/grape/pull/2222): Rename "MissingGroupType" and "UnsupportedGroupType" exceptions - [@ericproulx](https://github.com/ericproulx).
17+
* [#2234](https://github.com/ruby-grape/grape/pull/2234): Remove non-UTF8 characters from format before generating JSON error - [@bschmeck](https://github.com/bschmeck).
18+
* [#2227](https://github.com/ruby-grape/grape/pull/2222): Rename `MissingGroupType` and `UnsupportedGroupType` exceptions - [@ericproulx](https://github.com/ericproulx).
1819
* [#2244](https://github.com/ruby-grape/grape/pull/2244): Fix a breaking change in `Grape::Validations` provided in 1.6.1 - [@dm1try](https://github.com/dm1try).
19-
* [#2250](https://github.com/ruby-grape/grape/pull/2250): Add deprecation warning for unsupportedgrouptypeerror and missinggrouptypeerror - [@ericproulx](https://github.com/ericproulx).
20+
* [#2250](https://github.com/ruby-grape/grape/pull/2250): Add deprecation warning for `UnsupportedGroupTypeError` and `MissingGroupTypeError` - [@ericproulx](https://github.com/ericproulx).
2021
* Your contribution here.
2122

2223
### 1.6.2 (2021/12/30)

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ group :development, :test do
1010
gem 'bundler'
1111
gem 'hashie'
1212
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
13+
gem 'rubocop', '1.25.1'
14+
gem 'rubocop-ast'
1515
gem 'rubocop-performance', require: false
1616
gem 'rubocop-rspec', require: false
1717
end

gemfiles/multi_json.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/multi_xml.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/rack1.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/rack2.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/rack2_2.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ group :development, :test do
1010
gem 'bundler'
1111
gem 'hashie'
1212
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
13+
gem 'rubocop', '1.25.1'
14+
gem 'rubocop-ast'
1515
gem 'rubocop-performance', require: false
1616
gem 'rubocop-rspec', require: false
1717
end

gemfiles/rack_edge.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/rails_5.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

gemfiles/rails_6.gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file was generated by Appraisal
42

53
source 'https://rubygems.org'
@@ -10,8 +8,8 @@ group :development, :test do
108
gem 'bundler'
119
gem 'hashie'
1210
gem 'rake'
13-
gem 'rubocop', '~> 1.23.0'
14-
gem 'rubocop-ast', '~> 1.14.0'
11+
gem 'rubocop', '1.25.1'
12+
gem 'rubocop-ast'
1513
gem 'rubocop-performance', require: false
1614
gem 'rubocop-rspec', require: false
1715
end

0 commit comments

Comments
 (0)