Skip to content

Commit

Permalink
Update rubocop requirement from 1.9.1 to 1.10.0 (#226)
Browse files Browse the repository at this point in the history
* Update rubocop requirement from 1.9.1 to 1.10.0

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

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

* [Corrected] Style/HashConversion: Prefer ary.to_h to Hash[ary]

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Santiago Traversa <santiago.traversa@gmail.com>
  • Loading branch information
dependabot-preview[bot] and san983 committed Feb 16, 2021
1 parent d4538a8 commit 384066d
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 @@ -5,7 +5,7 @@ source 'https://rubygems.org'
gemspec

gem 'coveralls', require: false
gem 'rubocop', '1.9.1', require: false
gem 'rubocop', '1.10.0', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rake', require: false
gem 'rubocop-rspec', require: false
2 changes: 1 addition & 1 deletion lib/dnsimple/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def keys
# Configuration options
# @return [Hash]
def options
Hash[keys.map { |key| [key, send(key)] }]
keys.map { |key| [key, send(key)] }.to_h
end

# Default API endpoint from ENV or {BASE_URL}
Expand Down

0 comments on commit 384066d

Please sign in to comment.