Skip to content

Commit

Permalink
Update rubocop to latest (#2497)
Browse files Browse the repository at this point in the history
* Update rubocop to 1.66.1
Update rubocop-performance 1.21.1
Update rubocop-rspec 3.0.5
Change add_runtime_dependency to add_dependency Gemspec/AddRuntimeDependency

* Add CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>

---------

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
  • Loading branch information
ericproulx and dblock authored Sep 15, 2024
1 parent ea9c76d commit 4a8b8c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
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

* [#2497](https://github.com/ruby-grape/grape/pull/2497): Update RuboCop to 1.66.1 - [@ericproulx](https://github.com/ericproulx).
* Your contribution here.

#### Fixes
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ group :development, :test do
gem 'builder', require: false
gem 'bundler'
gem 'rake'
gem 'rubocop', '1.64.1', require: false
gem 'rubocop-performance', '1.21.0', require: false
gem 'rubocop-rspec', '3.0.1', require: false
gem 'rubocop', '1.66.1', require: false
gem 'rubocop-performance', '1.21.1', require: false
gem 'rubocop-rspec', '3.0.5', require: false
end

group :development do
Expand Down
10 changes: 5 additions & 5 deletions grape.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

s.add_runtime_dependency 'activesupport', '>= 6'
s.add_runtime_dependency 'dry-types', '>= 1.1'
s.add_runtime_dependency 'mustermann-grape', '~> 1.1.0'
s.add_runtime_dependency 'rack', '>= 2'
s.add_runtime_dependency 'zeitwerk'
s.add_dependency 'activesupport', '>= 6'
s.add_dependency 'dry-types', '>= 1.1'
s.add_dependency 'mustermann-grape', '~> 1.1.0'
s.add_dependency 'rack', '>= 2'
s.add_dependency 'zeitwerk'

s.files = Dir['lib/**/*', 'CHANGELOG.md', 'CONTRIBUTING.md', 'README.md', 'grape.png', 'UPGRADING.md', 'LICENSE', 'grape.gemspec']
s.require_paths = ['lib']
Expand Down

0 comments on commit 4a8b8c4

Please sign in to comment.