salsify_rubocop 0.40.1 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f740776b4dd783805ab13489676b4d8aa6ffa1c0
4
- data.tar.gz: aa84e48dffec1b909c2ecbda341558dac30cd638
3
+ metadata.gz: 958e634bf861eaef7ab87caefdd93c5b2231a845
4
+ data.tar.gz: eca6466c32044673f76c67d22641cc9c2ed62b59
5
5
  SHA512:
6
- metadata.gz: 06fb43b8eae49f4e048c12a7c054e094c958882bf181e38d59d12e3f997acb11da40a9b9522b83a69f0a28a72427ea90acc43efe271e4fc5e071769bb7274505
7
- data.tar.gz: 25c00c93bd7e7eed800b17ee161870d35e33c889959627095a1dc196469c188c41115ca5bb6ef207f7bdb58f1fa4310d55b05926e5681d5fb2fab4f94cf13f34
6
+ metadata.gz: f1deff4fab86c200b20a6cef653d558efa08b453797e51a56aa6a88fcd75ac6cb3f1cab039fcb17276a143e90299e303f627a3cf45cddd907eea615f06e43f3f
7
+ data.tar.gz: b9872d4adce997972c1ca05247ea85b7b6285dd6386cbf193dfa9e413852122d1d86beb1a1876ae90f0c36e4ebfa38abb91c6d347c088872e176ca8f208503c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # salsify_rubocop
2
2
 
3
+ ## v0.41.0
4
+ - `.ruby-version` can be used to determine TargetRubyVersion in RuboCop v0.41
5
+ - Change to `rubocop_rails` configuration:
6
+ Rails/UniqBeforePluck:
7
+ EnforcedMode: aggressive
8
+
9
+ - Changes to `rubocop_without_rspec` configuration:
10
+ Style/EachForSimpleLoop:
11
+ AutoCorrect: false
12
+
13
+ Style/ModuleFunction:
14
+ EnforcedStyle: extend_self
15
+
16
+ Style/NumericLiteralPrefix:
17
+ Enabled: false
18
+
3
19
  ## v0.40.1
4
20
  - Changes to `rubocop_without_rspec` configuration:
5
21
 
@@ -7,3 +7,6 @@ Rails:
7
7
  Rails/TimeZone:
8
8
  Exclude:
9
9
  - 'spec/**/*'
10
+
11
+ Rails/UniqBeforePluck:
12
+ EnforcedMode: aggressive
@@ -1,5 +1,4 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
3
2
  Exclude:
4
3
  - 'bin/**/*'
5
4
  - 'coverage/**/*'
@@ -27,6 +26,11 @@ Style/Documentation:
27
26
  Style/DoubleNegation:
28
27
  Enabled: false
29
28
 
29
+ # auto-correct is broken for this cop:
30
+ # https://github.com/bbatsov/rubocop/issues/3271
31
+ Style/EachForSimpleLoop:
32
+ AutoCorrect: false
33
+
30
34
  Style/EachWithObject:
31
35
  Enabled: false
32
36
 
@@ -58,7 +62,7 @@ Style/Lambda:
58
62
  Enabled: false
59
63
 
60
64
  Style/ModuleFunction:
61
- Enabled: false
65
+ EnforcedStyle: extend_self
62
66
 
63
67
  Style/MultilineMethodCallIndentation:
64
68
  Enabled: false
@@ -69,6 +73,10 @@ Style/MultilineOperationIndentation:
69
73
  Style/MultilineBlockLayout:
70
74
  Enabled: false
71
75
 
76
+ # This cop complains about values like 05.
77
+ Style/NumericLiteralPrefix:
78
+ Enabled: false
79
+
72
80
  Style/Proc:
73
81
  Enabled: false
74
82
 
@@ -1,3 +1,3 @@
1
1
  module SalsifyRubocop
2
- VERSION = '0.40.1'.freeze
2
+ VERSION = '0.41.0'.freeze
3
3
  end
@@ -33,6 +33,6 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'rake', '~> 10.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
35
35
 
36
- spec.add_runtime_dependency 'rubocop', '~> 0.40.0'
36
+ spec.add_runtime_dependency 'rubocop', '~> 0.41.2'
37
37
  spec.add_runtime_dependency 'rubocop-rspec', '~> 1.5.0'
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salsify_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.1
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.40.0
61
+ version: 0.41.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.40.0
68
+ version: 0.41.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement