.rubocop.yml in timezone-1.2.9 vs .rubocop.yml in timezone-1.2.10
- old
+ new
@@ -1,7 +1,7 @@
AllCops:
- TargetRubyVersion: 2.0
+ TargetRubyVersion: 2.2
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/EmptyLineBetweenDefs:
@@ -52,10 +52,17 @@
Performance/RedundantBlockCall:
Enabled: true
+Naming/MethodName:
+ Enabled: true
+
+Naming/BinaryOperatorParameterName:
+ Enabled: true
+
+
Style/ClassVars:
Enabled: true
Style/Documentation:
Enabled: true
@@ -70,19 +77,13 @@
Enabled: true
Style/HashSyntax:
Enabled: true
-Style/MethodName:
- Enabled: true
-
Style/NumericLiterals:
MinDigits: 5
-Style/OpMethod:
- Enabled: true
-
Style/PreferredHashMethods:
Enabled: true
Style/RedundantReturn:
Enabled: true
@@ -102,5 +103,8 @@
Style/TrivialAccessors:
Enabled: true
Style/UnneededPercentQ:
Enabled: true
+
+Style/DateTime:
+ Enabled: false