Skip to content

Commit

Permalink
Update rubocop-performance requirement from 1.19.1 to 1.20.1 (#32)
Browse files Browse the repository at this point in the history
* Update rubocop-performance requirement from 1.19.1 to 1.20.1

Updates the requirements on [rubocop-performance](https://github.com/rubocop/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.19.1...v1.20.1)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply rubocop suggestion

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Brictson <matt@mattbrictson.com>
  • Loading branch information
dependabot[bot] and mattbrictson authored Jan 1, 2024
1 parent 3293f45 commit 37b43cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ gem "rake", "~> 13.0"
gem "rubocop", "1.59.0"
gem "rubocop-minitest", "0.34.3"
gem "rubocop-packaging", "0.5.2"
gem "rubocop-performance", "1.19.1"
gem "rubocop-performance", "1.20.1"
gem "rubocop-rake", "0.6.0"
2 changes: 1 addition & 1 deletion lib/nextgen/generators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.compatible_with(rails_opts:)
YAML.load_file(yaml_path).each do |name, options|
options ||= {}
requirements = Array(options["requires"])
next unless requirements.all? { |req| rails_opts.public_send("#{req}?") }
next unless requirements.all? { |req| rails_opts.public_send(:"#{req}?") }

g.add(
name.to_sym,
Expand Down

0 comments on commit 37b43cf

Please sign in to comment.