salsify_rubocop 0.45.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +7 -0
- data/conf/rubocop_without_rspec.yml +15 -3
- data/lib/rubocop/cop/salsify/rspec_doc_string.rb +0 -1
- data/lib/rubocop/cop/salsify/rspec_string_literals.rb +0 -1
- data/lib/salsify_rubocop/version.rb +1 -1
- data/salsify_rubocop.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53f406743e55923129e6186cb4318b1d99807b3e
|
4
|
+
data.tar.gz: d51cf5d3bbffede0705d7a49d039dc963b541f58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91593b75885dd6d9d1acd6a5a25c164871a4ce6f00ac4c72015f8580fdb3a320bc06776045e01586d2face4648beb063c6ed00c85ad7af0c31f58d5e638e08c
|
7
|
+
data.tar.gz: 95dd208f033864b1dff38e7d7e7d4e8858e9aedf5cc358a710efd4b0b2993d8336c50670fdc4d18aac91ea7e41bcde08ccedff56257c8c1d8dd66de854d8120d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# salsify_rubocop
|
2
2
|
|
3
|
+
# TODO: revisit Bundler/OrderedGems when auto-correct is available.
|
4
|
+
|
5
|
+
## v0.46.0
|
6
|
+
- Update to `rubocop` v0.46.0.
|
7
|
+
- Disable new cops: `Bundler/OrderedGems` and `Style/EmptyMethod`.
|
8
|
+
- Disable cops: `Style/MultilineBlockChain` and `Style/SingleLineBlockParams`.
|
9
|
+
|
3
10
|
## v0.45.0
|
4
11
|
- Update to `rubocop` v0.45.0 and `rubocop-rspec` v1.8.0.
|
5
12
|
- Explicitly enable `Rspec/MessageExpectation` cop that is now disabled
|
@@ -8,6 +8,9 @@ AllCops:
|
|
8
8
|
- 'tmp/**/*'
|
9
9
|
- 'vendor/**/*'
|
10
10
|
|
11
|
+
Bundler/OrderedGems:
|
12
|
+
Enabled: false
|
13
|
+
|
11
14
|
Lint/AmbiguousOperator:
|
12
15
|
Enabled: false
|
13
16
|
|
@@ -52,6 +55,9 @@ Style/EmptyLinesAroundMethodBody:
|
|
52
55
|
Style/EmptyLiteral:
|
53
56
|
Enabled: false
|
54
57
|
|
58
|
+
Style/EmptyMethod:
|
59
|
+
Enabled: false
|
60
|
+
|
55
61
|
Style/FrozenStringLiteralComment:
|
56
62
|
Enabled: false
|
57
63
|
|
@@ -68,6 +74,9 @@ Style/Lambda:
|
|
68
74
|
Style/ModuleFunction:
|
69
75
|
EnforcedStyle: extend_self
|
70
76
|
|
77
|
+
Style/MultilineBlockChain:
|
78
|
+
Enabled: false
|
79
|
+
|
71
80
|
Style/MultilineMethodCallIndentation:
|
72
81
|
Enabled: false
|
73
82
|
|
@@ -97,14 +106,17 @@ Style/RegexpLiteral:
|
|
97
106
|
Style/SafeNavigation:
|
98
107
|
Enabled: false
|
99
108
|
|
109
|
+
Style/SignalException:
|
110
|
+
EnforcedStyle: only_raise
|
111
|
+
|
112
|
+
Style/SingleLineBlockParams:
|
113
|
+
Enabled: false
|
114
|
+
|
100
115
|
# This cop doesn't work properly if you a have a block with
|
101
116
|
# arguments split across multiple lines
|
102
117
|
Style/SpaceAroundBlockParameters:
|
103
118
|
Enabled: false
|
104
119
|
|
105
|
-
Style/SignalException:
|
106
|
-
EnforcedStyle: only_raise
|
107
|
-
|
108
120
|
Style/StringLiterals:
|
109
121
|
EnforcedStyle: single_quotes
|
110
122
|
Exclude:
|
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.46.0'
|
37
37
|
spec.add_runtime_dependency 'rubocop-rspec', '~> 1.8.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.46.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-12-02 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.46.0
|
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.46.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.5.2
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: Shared shared RuboCop configuration
|