diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2f6f723..7200eff 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -363,12 +363,6 @@ Style/Proc: Style/RaiseArgs: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -Style/RedundantException: - Exclude: - - 'Gemfile' - # Offense count: 13 # Cop supports --auto-correct. Style/RedundantSelf: diff --git a/Gemfile b/Gemfile index 2a8bc5e..57b026d 100644 --- a/Gemfile +++ b/Gemfile @@ -8,8 +8,8 @@ detected_ruby_version = Gem::Version.new(RUBY_VERSION.dup) required_ruby_version = Gem::Version.new('2.1.0') # minimum supported version if detected_ruby_version < required_ruby_version - fail RuntimeError, "RUBY_VERSION must be at least #{required_ruby_version}" \ - ", detected RUBY_VERSION #{RUBY_VERSION}" + fail "RUBY_VERSION must be at least #{required_ruby_version}, " \ + "detected RUBY_VERSION #{RUBY_VERSION}" end gem 'actionmailer', RAILS_VERSION -- libgit2 0.21.2