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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84b4ac9681149102922721f79649c363e8c8d04b
4
- data.tar.gz: ec71bbd861b751ccebc24f31f7f2e2187995842e
3
+ metadata.gz: 53f406743e55923129e6186cb4318b1d99807b3e
4
+ data.tar.gz: d51cf5d3bbffede0705d7a49d039dc963b541f58
5
5
  SHA512:
6
- metadata.gz: 1fa303d3e8a26a816cf31ec2330b7d850910ac2b2cdece030beeda6b542d19d8301230f6c60a98d1d007c7201ae5d36381ba737fef6b1dc916f4d92862cd93ec
7
- data.tar.gz: 547fcead0eede9a6fef40d3d6dddf9262e6b0d190a49ece2a2ba737ab4d387cb64fb2befc3364f3d8220386737ec1a65978dd1b40d5388495244175f6ddc33c6
6
+ metadata.gz: c91593b75885dd6d9d1acd6a5a25c164871a4ce6f00ac4c72015f8580fdb3a320bc06776045e01586d2face4648beb063c6ed00c85ad7af0c31f58d5e638e08c
7
+ data.tar.gz: 95dd208f033864b1dff38e7d7e7d4e8858e9aedf5cc358a710efd4b0b2993d8336c50670fdc4d18aac91ea7e41bcde08ccedff56257c8c1d8dd66de854d8120d
data/.travis.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.2.4
4
- - 2.3.1
4
+ - 2.3.3
5
5
  script:
6
6
  - bundle exec rubocop
7
7
  - bundle exec rspec
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:
@@ -1,5 +1,4 @@
1
1
  # encoding: utf-8
2
- # frozen_string_literal: true
3
2
 
4
3
  module RuboCop
5
4
  module Cop
@@ -1,5 +1,4 @@
1
1
  # encoding: utf-8
2
- # frozen_string_literal: true
3
2
 
4
3
  module RuboCop
5
4
  module Cop
@@ -1,3 +1,3 @@
1
1
  module SalsifyRubocop
2
- VERSION = '0.45.0'.freeze
2
+ VERSION = '0.46.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.45.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.45.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-09 00:00:00.000000000 Z
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.45.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.45.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.4.8
132
+ rubygems_version: 2.5.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Shared shared RuboCop configuration