config/default.yml in rubocop-rails-2.4.0 vs config/default.yml in rubocop-rails-2.4.1
- old
+ new
@@ -1,10 +1,11 @@
# Common configuration.
AllCops:
Exclude:
- - bin/bundle
+ - bin/*
+ - db/schema.rb
# What version of Rails is the inspected code using? If a value is specified
# for TargetRailsVersion then it is used. Acceptable values are specificed
# as a float (i.e. 5.1); the patch version of Rails should not be included.
# If TargetRailsVersion is not set, RuboCop will parse the Gemfile.lock or
# gems.locked file to find the version of Rails that has been bound to the
@@ -332,10 +333,10 @@
NotBlank: true
# Convert usages of `unless blank?` to `if present?`
UnlessBlank: true
Rails/RakeEnvironment:
- Description: 'Set `:environment` task as a dependency to all rake task.'
+ Description: 'Include `:environment` as a dependency for all Rake tasks.'
Enabled: true
Safe: false
VersionAdded: '2.4'
Include:
- '**/Rakefile'