salsify_rubocop 0.63.0 → 0.78.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
  SHA256:
3
- metadata.gz: 9e3126722e0cfd738a292ca81b06494f3f1a7d11231984ef9d2275893568dd20
4
- data.tar.gz: 35af08baf302fc3e077e4cac91dc134ecebc8b202909fab50122773d26c0de15
3
+ metadata.gz: 021126eb4684d5cc7bebabbdd04136abe1e958c03f34926f845199b1f799fef8
4
+ data.tar.gz: fa1be69a53c426f1345bb14e319b304603ad95a75c9646438eabcda572f9f404
5
5
  SHA512:
6
- metadata.gz: 4eb7b3432ff1a7c49194bf4c0c4f8310b749bbdcff8790aa9a77110c7498264c6cb0938d74e81f998caaf13fcaf5008b300cc7e6f2aaabb77da243ee7863e253
7
- data.tar.gz: ce93adfb8de00444f300018a0404d0abc0ae138388895c76865ac55e9ebcad3ce1a5dadba8421dbb91984d9153ad43b48886f358ee7f76121b0a7b95b104b26b
6
+ metadata.gz: 97e764bf2aec15ec8fc01e265723151154d2bafa0027f7eee228b76e0ef5a02c2d71acb2f1726f0c194cbfb8a6c1452c5e0ce405ffd952f811524934296700a0
7
+ data.tar.gz: 25b77acd0d7ef91a46c4fb6bb3a2d44472ae4d0611a6f8337bee11f2de345a181d4809e76e5bf909ef440f6c3381d251f4b508926b9bca4151c6225767641911
@@ -4,6 +4,6 @@ inherit_from:
4
4
  AllCops:
5
5
  TargetRubyVersion: 2.3
6
6
 
7
- Metrics/LineLength:
7
+ Layout/LineLength:
8
8
  Exclude:
9
9
  - '*.gemspec'
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.7.0
3
4
  - 2.6.0
4
5
  - 2.5.3
5
6
  - 2.4.5
@@ -1,5 +1,12 @@
1
1
  # salsify_rubocop
2
2
 
3
+ ## v0.78.0
4
+ - Upgrade to `rubocop` v0.78.0
5
+ - Upgrade to `rubocop_rspec` v1.37.0
6
+ - Add `rubocop-rails `v2.4.0`
7
+ - Add `rubocop-performance `v1.5.0`
8
+ - Update names/namespaces of rules that changed between 0.62 and 0.78
9
+
3
10
  ## v0.62.0
4
11
  - Upgrade to `rubocop` v0.62.0
5
12
  - Upgrade to `rubocop_rspec` v1.31.0
@@ -22,7 +22,7 @@ Performance/RedundantMerge:
22
22
  Style/Alias:
23
23
  EnforcedStyle: prefer_alias_method
24
24
 
25
- Layout/AlignHash:
25
+ Layout/HashAlignment:
26
26
  Enabled: false
27
27
 
28
28
  Style/Documentation:
@@ -73,7 +73,7 @@ Style/GuardClause:
73
73
  Enabled: false
74
74
 
75
75
  # does not make sense to enable this without AlignHash
76
- Layout/IndentHash:
76
+ Layout/FirstHashElementIndentation:
77
77
  Enabled: false
78
78
 
79
79
  Style/Lambda:
@@ -158,7 +158,7 @@ Metrics/CyclomaticComplexity:
158
158
 
159
159
  # Disabling line length enforcement since annotate generates
160
160
  # some pretty long lines
161
- Metrics/LineLength:
161
+ Layout/LineLength:
162
162
  Enabled: false
163
163
 
164
164
  Metrics/MethodLength:
@@ -1,4 +1,6 @@
1
1
  require 'salsify_rubocop/version'
2
+ require 'rubocop-performance'
3
+ require 'rubocop-rails'
2
4
  require 'rubocop-rspec'
3
5
 
4
6
  # Because RuboCop doesn't yet support plugins, we have to monkey patch in a
@@ -1,3 +1,3 @@
1
1
  module SalsifyRubocop
2
- VERSION = '0.63.0'.freeze
2
+ VERSION = '0.78.0'.freeze
3
3
  end
@@ -32,6 +32,8 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'rake', '~> 10.0'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
34
 
35
- spec.add_runtime_dependency 'rubocop', '~> 0.62.0'
36
- spec.add_runtime_dependency 'rubocop-rspec', '~> 1.31.0'
35
+ spec.add_runtime_dependency 'rubocop', '~> 0.78.0'
36
+ spec.add_runtime_dependency 'rubocop-performance', '~> 1.5.0'
37
+ spec.add_runtime_dependency 'rubocop-rails', '~> 2.4.0'
38
+ spec.add_runtime_dependency 'rubocop-rspec', '~> 1.37.0'
37
39
  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.63.0
4
+ version: 0.78.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: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2020-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,28 +58,56 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.62.0
61
+ version: 0.78.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.62.0
68
+ version: 0.78.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-performance
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.5.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.5.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.4.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.4.0
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rubocop-rspec
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: 1.31.0
103
+ version: 1.37.0
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: 1.31.0
110
+ version: 1.37.0
83
111
  description: Shared shared RuboCop configuration
84
112
  email:
85
113
  - engineering@salsify.com
@@ -134,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
162
  - !ruby/object:Gem::Version
135
163
  version: '0'
136
164
  requirements: []
137
- rubyforge_project:
138
- rubygems_version: 2.7.9
165
+ rubygems_version: 3.0.6
139
166
  signing_key:
140
167
  specification_version: 4
141
168
  summary: Shared shared RuboCop configuration