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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4858a3104641455a362aff7d1dcf9c7666f61f81ec954bccd8f71e96d9f08831
4
- data.tar.gz: 785e24363210b51765e5dc392382325f3c0441c4196e0d0b96a433b549636f40
3
+ metadata.gz: 4d529d21505a5e90572b6859e71f74fc3e8ae1b9601f692f2d37fbf17281cff6
4
+ data.tar.gz: 89b214b78d6d5928c9fe2570aabd3598e4234840562985935d80e4d77cc5c5d7
5
5
  SHA512:
6
- metadata.gz: 2b196f52a16768febf63e6779525cd25cee0d7d255bea11f1e498f8865da8d39fe2edcbcedff0b6af0dd1abd9f3d20c5a21727c9c0381dfa5e7e0d982836406e
7
- data.tar.gz: 11c29e4f3976a435e98744468ce7995b9e01fe46c89d4544d629c77a0ed634da85bc2e069764a69f43e73c527a2ce6ff5ffbd509c07bdae9a5c30c59df841870
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.6.6
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.6.6-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
12
- - v1-gems-ruby-2.6.6-
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
@@ -2,7 +2,7 @@ inherit_from:
2
2
  - conf/rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Layout/LineLength:
8
8
  Exclude:
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
 
@@ -179,7 +179,7 @@ Layout/LineLength:
179
179
  Enabled: true
180
180
  Max: 120
181
181
  IgnoreCopDirectives: true
182
- IgnoredPatterns:
182
+ AllowedPatterns:
183
183
  - ^#
184
184
 
185
185
  Metrics/MethodLength:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SalsifyRubocop
4
- VERSION = '1.27.1'
4
+ VERSION = '1.42.1'
5
5
  end
@@ -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.6'
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.27.0'
41
- spec.add_runtime_dependency 'rubocop-performance', '~> 1.12.0'
42
- spec.add_runtime_dependency 'rubocop-rails', '~> 2.12.0'
43
- spec.add_runtime_dependency 'rubocop-rspec', '~> 2.9.0'
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.27.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: 2022-05-05 00:00:00.000000000 Z
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.27.0
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.27.0
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.12.0
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.12.0
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.12.0
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.12.0
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.9.0
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.9.0
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.6'
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.2.33
180
+ rubygems_version: 3.3.7
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Shared RuboCop configuration