salsify_rubocop 1.27.1 → 1.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +11 -1
- data/conf/rubocop_without_rspec.yml +1 -1
- data/lib/salsify_rubocop/version.rb +1 -1
- data/salsify_rubocop.gemspec +5 -5
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d529d21505a5e90572b6859e71f74fc3e8ae1b9601f692f2d37fbf17281cff6
|
4
|
+
data.tar.gz: 89b214b78d6d5928c9fe2570aabd3598e4234840562985935d80e4d77cc5c5d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b9f3a8b933262bed186f2af748c07743f257979e5648af0e2166496855df59e67775987655b0764f9bbf19610d0526a943903cd8ef126119c409fb0bc814ea3
|
7
|
+
data.tar.gz: b85c8c82206102439a43472b3f08b8c81e36d6f80a0067b6cac9bb919cee4e8a3be357023bfa10404d54ce596d8c93ab7ac87cd342ecdf5b25a90ee1e9054c93
|
data/.circleci/config.yml
CHANGED
@@ -2,14 +2,14 @@ version: 2.1
|
|
2
2
|
jobs:
|
3
3
|
lint:
|
4
4
|
docker:
|
5
|
-
- image: salsify/ruby_ci:2.
|
5
|
+
- image: salsify/ruby_ci:2.7.7
|
6
6
|
working_directory: ~/salsify_rubocop
|
7
7
|
steps:
|
8
8
|
- checkout
|
9
9
|
- restore_cache:
|
10
10
|
keys:
|
11
|
-
- v1-gems-ruby-2.
|
12
|
-
- v1-gems-ruby-2.
|
11
|
+
- v1-gems-ruby-2.7.7-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
|
12
|
+
- v1-gems-ruby-2.7.7-
|
13
13
|
- run:
|
14
14
|
name: Install Gems
|
15
15
|
command: |
|
@@ -66,7 +66,7 @@ workflows:
|
|
66
66
|
matrix:
|
67
67
|
parameters:
|
68
68
|
ruby_version:
|
69
|
-
- "2.6.6"
|
70
69
|
- "2.7.2"
|
71
70
|
- "3.0.0"
|
72
71
|
- "3.1.1"
|
72
|
+
- "3.2.0"
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# salsify_rubocop
|
2
2
|
|
3
|
+
## 1.42.1
|
4
|
+
- Drop support for Ruby 2.6 as it is EOL
|
5
|
+
- Add support for Ruby 3.2
|
6
|
+
|
7
|
+
## 1.42.0
|
8
|
+
- Upgrade `rubocop` to v1.42.0.
|
9
|
+
- Upgrade `rubocop-performance` to v1.15.2.
|
10
|
+
- Upgrade `rubocop-rails` to v2.17.4.
|
11
|
+
- Upgrade `rubocop-rspec` to v2.16.0.
|
12
|
+
|
3
13
|
## 1.27.1
|
4
14
|
- Set `Style/HashSyntax` option `EnforcedShorthandSyntax: either`, allowing both `{ foo: }` and `{ foo: foo }`
|
5
15
|
|
@@ -39,7 +49,7 @@
|
|
39
49
|
|
40
50
|
## 0.85.0
|
41
51
|
- Upgrade to `rubocop` v0.85.0
|
42
|
-
- Enable enforcement of Gem comments when specifying versions or sources
|
52
|
+
- Enable enforcement of Gem comments when specifying versions or sources
|
43
53
|
- Drop support for Ruby 2.3, as rubocop v0.81+ doesn't support it anymore
|
44
54
|
- Add `FrozenStringLiteralComment` and `LineLength` (max 120) rules.
|
45
55
|
|
data/salsify_rubocop.gemspec
CHANGED
@@ -30,15 +30,15 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ['lib']
|
32
32
|
|
33
|
-
spec.required_ruby_version = '>= 2.
|
33
|
+
spec.required_ruby_version = '>= 2.7'
|
34
34
|
|
35
35
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
36
36
|
spec.add_development_dependency 'rake', '~> 13.0'
|
37
37
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
38
|
spec.add_development_dependency 'rspec_junit_formatter'
|
39
39
|
|
40
|
-
spec.add_runtime_dependency 'rubocop', '~> 1.
|
41
|
-
spec.add_runtime_dependency 'rubocop-performance', '~> 1.
|
42
|
-
spec.add_runtime_dependency 'rubocop-rails', '~> 2.
|
43
|
-
spec.add_runtime_dependency 'rubocop-rspec', '~> 2.
|
40
|
+
spec.add_runtime_dependency 'rubocop', '~> 1.42.0'
|
41
|
+
spec.add_runtime_dependency 'rubocop-performance', '~> 1.15.2'
|
42
|
+
spec.add_runtime_dependency 'rubocop-rails', '~> 2.17.4'
|
43
|
+
spec.add_runtime_dependency 'rubocop-rspec', '~> 2.16.0'
|
44
44
|
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: 1.
|
4
|
+
version: 1.42.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,56 +72,56 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.42.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.
|
82
|
+
version: 1.42.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-performance
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.15.2
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
96
|
+
version: 1.15.2
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
103
|
+
version: 2.17.4
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
110
|
+
version: 2.17.4
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop-rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.16.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.16.0
|
125
125
|
description: Shared RuboCop configuration
|
126
126
|
email:
|
127
127
|
- engineering@salsify.com
|
@@ -170,14 +170,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '2.
|
173
|
+
version: '2.7'
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
180
|
+
rubygems_version: 3.3.7
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Shared RuboCop configuration
|