salsify_rubocop 1.59.0 → 1.59.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: 41021f5188e800cd752da1defa014c6be04055c4dcc98156b5229468a0d07007
4
- data.tar.gz: ac92f27340a29dd8141ba01a9aa3092349e4298ac65640020c5894f47d1baa1d
3
+ metadata.gz: 522b6f5caca717c57ec52f108f3b3f39a6c0b661482dde71d8a3a6b7ef66bff1
4
+ data.tar.gz: 97c1f7ab21848c1d251e5375a4f04b1537c682878574b05e1f75146457901058
5
5
  SHA512:
6
- metadata.gz: d850261b1e03d0ccb9cb6c6e3bad8a0415c1618d460e12a8f03d301a41d3d040b4ea8b46735c5d2396a49c259f46e9be2eb8ec3f7b169cd6323246c6a22113bf
7
- data.tar.gz: e5276256ebd82cd5e1a8cfe2f11d60658ffe144571dda4f35e4dd9b4661c1d5e39ccd1d74e9dabbfca0cfd0aa8b01b6850153dc41aeb8a89b440b8eba096fcd5
6
+ metadata.gz: a8c33cbcfca66232c6d28af18e6e80caebbde6af9df134901fa216181ff25477454233cee8b5818499a7a0c5d0ee441bafd404b9b6c793413ad13bfe4e3f690d
7
+ data.tar.gz: 5b56f34aa96952d51bad543cab0a8716af0fcda64aff7fdbde43683133f1eabc4500899596c2b87bde0b62c9ef092d768b2753852c145207ba305d75e821d3ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # salsify_rubocop
2
2
 
3
+ ## 1.59.1
4
+ - Add Rake specific checks with the [official extension, rubocop-rake](https://docs.rubocop.org/rubocop/extensions.html#official-extensions):
5
+ - Enforce description (`desc`) for rake tasks, as otherwise they are not listed when `rake -T` is called
6
+ - No duplicate namespace/task names
7
+ - Methods/Classes shouldn't be defined inside namespaces, it's misleading because they are defined at the top level
8
+
3
9
  ## 1.59.0
4
10
  - Upgrade `rubocop` to v1.59.0 to support Ruby 3.3.
5
11
 
@@ -1,6 +1,7 @@
1
1
  require:
2
2
  - rubocop-performance
3
3
  - rubocop-rails
4
+ - rubocop-rake
4
5
 
5
6
  AllCops:
6
7
  NewCops: disable
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SalsifyRubocop
4
- VERSION = '1.59.0'
4
+ VERSION = '1.59.1'
5
5
  end
@@ -3,6 +3,7 @@
3
3
  require 'salsify_rubocop/version'
4
4
  require 'rubocop-performance'
5
5
  require 'rubocop-rails'
6
+ require 'rubocop-rake'
6
7
  require 'rubocop-rspec'
7
8
 
8
9
  # Because RuboCop doesn't yet support plugins, we have to monkey patch in a
@@ -40,5 +40,6 @@ Gem::Specification.new do |spec|
40
40
  spec.add_runtime_dependency 'rubocop', '~> 1.59.0'
41
41
  spec.add_runtime_dependency 'rubocop-performance', '~> 1.15.2'
42
42
  spec.add_runtime_dependency 'rubocop-rails', '~> 2.17.4'
43
+ spec.add_runtime_dependency 'rubocop-rake', '~> 0.6.0'
43
44
  spec.add_runtime_dependency 'rubocop-rspec', '~> 2.16.0'
44
45
  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.59.0
4
+ version: 1.59.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: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.17.4
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.6.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.6.0
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rubocop-rspec
113
127
  requirement: !ruby/object:Gem::Requirement