simplycop 1.14.6 → 1.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/catalog-info.yaml CHANGED
@@ -2,7 +2,8 @@ apiVersion: backstage.io/v1alpha1
2
2
  kind: Component
3
3
  metadata:
4
4
  name: simplycop
5
- description: Simply Business Rubocop rules
5
+ title: Simplycop
6
+ description: A standard shared rubocop configuration for Simply Business applications
6
7
  annotations:
7
8
  github.com/project-slug: "simplybusiness/simplycop"
8
9
  backstage.io/source-location: url:https://github.com/simplybusiness/simplycop/
@@ -10,4 +11,3 @@ metadata:
10
11
  spec:
11
12
  type: library
12
13
  lifecycle: production
13
-
data/docs/index.md CHANGED
@@ -26,7 +26,26 @@ AllCops:
26
26
  - 'vendor/**/*'
27
27
  ```
28
28
 
29
- * If you are implementing this in rails project and have rspec , you probably want the standard rails, rspec, and performance cops. you can include this by adding:
29
+ The base `.simplycop.yml` contains cops for all the standard rubocop departments, i.e.
30
+
31
+ * Bundler
32
+ * Gemspec
33
+ * Layout
34
+ * Lint
35
+ * Metrics
36
+ * Migration
37
+ * Naming
38
+ * Security
39
+ * Style
40
+
41
+ These can also be enabled individually as follows:
42
+ ```yaml
43
+ inherit_gem:
44
+ simplycop:
45
+ - .simplycop_<DEPARTMENT_NAME>.yml
46
+ ```
47
+
48
+ If you are implementing this in a rails project and have rspec, you probably want the standard rails, rspec, and performance cops. you can include this by adding:
30
49
 
31
50
  ```yaml
32
51
  inherit_gem:
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.14.6'
10
+ VERSION = '1.14.8'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'rubocop', '1.56.3'
20
+ spec.add_dependency 'rubocop', '1.56.4'
21
21
  spec.add_dependency 'rubocop-performance', '1.19.1'
22
22
  spec.add_dependency 'rubocop-rails', '2.21.1'
23
23
  spec.add_dependency 'rubocop-rspec', '2.24.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.6
4
+ version: 1.14.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.56.3
19
+ version: 1.56.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.56.3
26
+ version: 1.56.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -130,11 +130,19 @@ files:
130
130
  - ".rubocop.yml"
131
131
  - ".ruby-version"
132
132
  - ".simplycop.yml"
133
+ - ".simplycop_bundler.yml"
134
+ - ".simplycop_gemspec.yml"
135
+ - ".simplycop_layout.yml"
136
+ - ".simplycop_lint.yml"
133
137
  - ".simplycop_metaprogramming.yml"
138
+ - ".simplycop_metrics.yml"
139
+ - ".simplycop_migration.yml"
140
+ - ".simplycop_naming.yml"
134
141
  - ".simplycop_performance.yml"
135
142
  - ".simplycop_rails.yml"
136
143
  - ".simplycop_rspec.yml"
137
144
  - ".simplycop_security.yml"
145
+ - ".simplycop_style.yml"
138
146
  - CODEOWNERS
139
147
  - Gemfile
140
148
  - README.md