salsify_rubocop 0.40.1 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/conf/rubocop_rails.yml +3 -0
- data/conf/rubocop_without_rspec.yml +10 -2
- data/lib/salsify_rubocop/version.rb +1 -1
- data/salsify_rubocop.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 958e634bf861eaef7ab87caefdd93c5b2231a845
|
4
|
+
data.tar.gz: eca6466c32044673f76c67d22641cc9c2ed62b59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/conf/rubocop_rails.yml
CHANGED
@@ -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
|
-
|
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
|
|
data/salsify_rubocop.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
68
|
+
version: 0.41.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|