salsify_rubocop 0.46.0 → 0.47.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: 53f406743e55923129e6186cb4318b1d99807b3e
4
- data.tar.gz: d51cf5d3bbffede0705d7a49d039dc963b541f58
3
+ metadata.gz: 54eeb7c8935c758f5c04a6004192c22dda001a96
4
+ data.tar.gz: ea4c89cf4327a24fa1d8e8dab2ca5c764f87ccb4
5
5
  SHA512:
6
- metadata.gz: c91593b75885dd6d9d1acd6a5a25c164871a4ce6f00ac4c72015f8580fdb3a320bc06776045e01586d2face4648beb063c6ed00c85ad7af0c31f58d5e638e08c
7
- data.tar.gz: 95dd208f033864b1dff38e7d7e7d4e8858e9aedf5cc358a710efd4b0b2993d8336c50670fdc4d18aac91ea7e41bcde08ccedff56257c8c1d8dd66de854d8120d
6
+ metadata.gz: 7b6e358f57155c0af444e5d541d2647c5fa5aae878d074a50fa160a392278c799ec2453db811eca0de802248d3af162dbbd152f8858177b1e7bb656af2ce515d
7
+ data.tar.gz: bc7f74274cf5f7a729af34b178fa69f414848f6ae66c61426e9ba7f020b03823ab09f1cc51f9f93c9577fdfabc19643afce82b28cd2ccdc3a5d4c6ca0f82b7b9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # salsify_rubocop
2
2
 
3
- # TODO: revisit Bundler/OrderedGems when auto-correct is available.
3
+ ## v0.47.0
4
+ - Update to `rubocop` v0.47.1 and `rubocop-rspec` v1.10.0.
5
+ - Enable `Bundler/OrderedGems` now that auto-correct is supported.
6
+ - Disable new cop `Rails/FilePath`.
7
+ - Disable `RSpec/MessageExpectation` and use `RSpec/MessageSpies` instead.
8
+ - Add `DisplayCopNames: true` default for `AllCops`.
4
9
 
5
10
  ## v0.46.0
6
11
  - Update to `rubocop` v0.46.0.
data/conf/rubocop.yml CHANGED
@@ -29,9 +29,6 @@ RSpec/LeadingSubject:
29
29
  RSpec/LetSetup:
30
30
  Enabled: false
31
31
 
32
- RSpec/MessageExpectation:
33
- Enabled: true
34
-
35
32
  RSpec/MultipleExpectations:
36
33
  Enabled: false
37
34
 
@@ -4,6 +4,9 @@ inherit_from:
4
4
  Rails:
5
5
  Enabled: true
6
6
 
7
+ Rails/FilePath:
8
+ Enabled: false
9
+
7
10
  # Enforces Rails 5 conventions. Auto-correct removes parens around args :(
8
11
  Rails/HttpPositionalArguments:
9
12
  Enabled: false
@@ -13,4 +16,4 @@ Rails/TimeZone:
13
16
  - 'spec/**/*'
14
17
 
15
18
  Rails/UniqBeforePluck:
16
- EnforcedMode: aggressive
19
+ EnforcedStyle: aggressive
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ DisplayCopNames: true
2
3
  Exclude:
3
4
  - 'bin/**/*'
4
5
  - 'coverage/**/*'
@@ -8,9 +9,6 @@ AllCops:
8
9
  - 'tmp/**/*'
9
10
  - 'vendor/**/*'
10
11
 
11
- Bundler/OrderedGems:
12
- Enabled: false
13
-
14
12
  Lint/AmbiguousOperator:
15
13
  Enabled: false
16
14
 
@@ -1,3 +1,3 @@
1
1
  module SalsifyRubocop
2
- VERSION = '0.46.0'.freeze
2
+ VERSION = '0.47.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.46.0'
37
- spec.add_runtime_dependency 'rubocop-rspec', '~> 1.8.0'
36
+ spec.add_runtime_dependency 'rubocop', '~> 0.47.1'
37
+ spec.add_runtime_dependency 'rubocop-rspec', '~> 1.10.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.46.0
4
+ version: 0.47.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-12-02 00:00:00.000000000 Z
11
+ date: 2017-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.46.0
61
+ version: 0.47.1
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.46.0
68
+ version: 0.47.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.8.0
75
+ version: 1.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.8.0
82
+ version: 1.10.0
83
83
  description: Shared shared RuboCop configuration
84
84
  email:
85
85
  - engineering@salsify.com
@@ -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.5.2
132
+ rubygems_version: 2.6.8
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Shared shared RuboCop configuration