simplycop 1.14.6 → 1.14.7

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.7'
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
@@ -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