simplycop 1.14.5 → 1.14.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/dobby-actions.yml +1 -1
- data/.simplycop.yml +9 -1754
- data/.simplycop_bundler.yml +18 -0
- data/.simplycop_gemspec.yml +28 -0
- data/.simplycop_layout.yml +311 -0
- data/.simplycop_lint.yml +415 -0
- data/.simplycop_metrics.yml +38 -0
- data/.simplycop_migration.yml +2 -0
- data/.simplycop_naming.yml +81 -0
- data/.simplycop_rspec.yml +53 -15
- data/.simplycop_security.yml +30 -0
- data/.simplycop_style.yml +824 -0
- data/catalog-info.yaml +2 -2
- data/docs/index.md +20 -1
- data/lib/simplycop/version.rb +1 -1
- metadata +10 -2
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
|
-
|
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
|
-
|
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:
|
data/lib/simplycop/version.rb
CHANGED
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.
|
4
|
+
version: 1.14.7
|
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-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -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
|