Skip to content

Commit 2ad2542

Browse files
authored
Upgrade rubocop to version 0.52.1 (#193)
1 parent 49d91b2 commit 2ad2542

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Make dry-validation dependency less strict allowing to use newer versions ([#183](https://github.com/railsconfig/config/pull/183))
66
* Fix `key?` and `has_key?`, which raise NoMethodError in non Rails environment, by using ActiveSupport `#delegate` implicitly ([#185](https://github.com/railsconfig/config/pull/185))
77
* Update `deep_merge` dependency to latest version (v1.2.1) ([#191](https://github.com/railsconfig/config/pull/191))
8+
* Upgrade `rubocop` to version 0.52.1 ([#193](https://github.com/railsconfig/config/pull/193))
89

910
## 1.6.0
1011

config.gemspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ Gem::Specification.new do |s|
4141

4242
# Static code analysis
4343
s.add_development_dependency 'mdl', '~> 0.4', '>= 0.4.0'
44-
s.add_development_dependency 'rubocop', '~> 0.46', '>= 0.46.0'
44+
45+
if RUBY_VERSION < '2.1'
46+
s.add_development_dependency 'rubocop', '~> 0.50', '>= 0.50.0'
47+
else
48+
s.add_development_dependency 'rubocop', '~> 0.52', '>= 0.52.1'
49+
end
4550

4651
if ENV['TRAVIS']
4752
s.add_development_dependency 'simplecov', '~> 0.12.0'

0 commit comments

Comments
 (0)