.rubocop.yml in message-driver-0.6.1 vs .rubocop.yml in message-driver-0.7.0
- old
+ new
@@ -1,26 +1,33 @@
inherit_from: '.rubocop_todo.yml'
AllCops:
+ TargetRubyVersion: 1.9
Include:
- 'message-driver.gemspec'
- '**/Gemfile'
- 'Guardfile'
- 'Rakefile'
Exclude:
- 'lib/vendor/**/*.rb'
- 'vendor/**/*'
+Bundler/OrderedGems:
+ Enabled: false
+
Metrics/BlockNesting:
Max: 4
Metrics/LineLength:
AllowURI: true
Max: 120
Include:
- 'lib/**/*.rb'
+Metrics/ParameterLists:
+ Enabled: false
+
Style/AccessorMethodName:
Enabled: false
Style/Documentation:
Enabled: false
@@ -30,15 +37,26 @@
Style/FileName:
Exclude:
- 'lib/message-driver.rb'
+Style/MultilineMethodCallBraceLayout:
+ EnforcedStyle: new_line
+
Style/NumericLiterals:
Enabled: false
+Style/OptionalArguments:
+ Enabled: false
+
+Style/RaiseArgs:
+ Enabled: false
+
Style/RegexpLiteral:
- Exclude:
- - 'Guardfile'
+ EnforcedStyle: slashes
+
+Style/RescueModifier:
+ Enabled: false
Style/TrivialAccessors:
ExactNameMatch: true
AllowPredicates: true
AllowDSLWriters: true