rubocop-codeur 0.3.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/Gemfile.lock +13 -13
- data/README.md +11 -0
- data/default.yml +4 -1
- data/lib/rubocop/codeur/version.rb +1 -1
- data/lib/rubocop/cop/codeur/rails_app_patterns.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d26be5fe83aa363c94f14a99925be6f49cbd34418025643ac44ad63b78891a2c
|
4
|
+
data.tar.gz: 42ceae50bb365683d7b12afcf697fafb86ccd6f3397543218a197dced409e4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62237265d2bd3079f3b2202858f7274da2aa3e185d4f0c58bd3124d5b05ea123eb105ab88dcfec4a2d62525beb8241f8e51fb2edf597e097b26295bf6f8787f
|
7
|
+
data.tar.gz: 90811e3d0abca21112bdad396121208b12c10f0f16a440e65a7563455f9682750c7c234c7a39ebc9f03005000b8f730a8a96ff02da47b9b1131951ec9055ee48
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-codeur (0.
|
4
|
+
rubocop-codeur (0.4.2)
|
5
5
|
rubocop (~> 1.25)
|
6
6
|
rubocop-minitest (~> 0.10, >= 0.10.2)
|
7
7
|
rubocop-performance (~> 1.9, >= 1.9.2)
|
@@ -10,7 +10,7 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (7.0.
|
13
|
+
activesupport (7.0.2.3)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
@@ -18,34 +18,34 @@ GEM
|
|
18
18
|
ast (2.4.2)
|
19
19
|
concurrent-ruby (1.1.9)
|
20
20
|
docile (1.4.0)
|
21
|
-
i18n (1.
|
21
|
+
i18n (1.10.0)
|
22
22
|
concurrent-ruby (~> 1.0)
|
23
23
|
minitest (5.15.0)
|
24
24
|
parallel (1.21.0)
|
25
|
-
parser (3.1.
|
25
|
+
parser (3.1.1.0)
|
26
26
|
ast (~> 2.4.1)
|
27
27
|
rack (2.2.3)
|
28
28
|
rainbow (3.1.1)
|
29
29
|
rake (12.3.3)
|
30
|
-
regexp_parser (2.2.
|
30
|
+
regexp_parser (2.2.1)
|
31
31
|
rexml (3.2.5)
|
32
|
-
rubocop (1.
|
32
|
+
rubocop (1.26.0)
|
33
33
|
parallel (~> 1.10)
|
34
34
|
parser (>= 3.1.0.0)
|
35
35
|
rainbow (>= 2.2.2, < 4.0)
|
36
36
|
regexp_parser (>= 1.8, < 3.0)
|
37
37
|
rexml
|
38
|
-
rubocop-ast (>= 1.
|
38
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
39
39
|
ruby-progressbar (~> 1.7)
|
40
40
|
unicode-display_width (>= 1.4.0, < 3.0)
|
41
|
-
rubocop-ast (1.
|
42
|
-
parser (>= 3.
|
43
|
-
rubocop-minitest (0.
|
41
|
+
rubocop-ast (1.16.0)
|
42
|
+
parser (>= 3.1.1.0)
|
43
|
+
rubocop-minitest (0.18.0)
|
44
44
|
rubocop (>= 0.90, < 2.0)
|
45
|
-
rubocop-performance (1.13.
|
45
|
+
rubocop-performance (1.13.3)
|
46
46
|
rubocop (>= 1.7.0, < 2.0)
|
47
47
|
rubocop-ast (>= 0.4.0)
|
48
|
-
rubocop-rails (2.
|
48
|
+
rubocop-rails (2.14.0)
|
49
49
|
activesupport (>= 4.2.0)
|
50
50
|
rack (>= 1.1)
|
51
51
|
rubocop (>= 1.7.0, < 2.0)
|
@@ -55,7 +55,7 @@ GEM
|
|
55
55
|
simplecov-html (~> 0.11)
|
56
56
|
simplecov_json_formatter (~> 0.1)
|
57
57
|
simplecov-html (0.12.3)
|
58
|
-
simplecov_json_formatter (0.1.
|
58
|
+
simplecov_json_formatter (0.1.4)
|
59
59
|
tzinfo (2.0.4)
|
60
60
|
concurrent-ruby (~> 1.0)
|
61
61
|
unicode-display_width (2.1.0)
|
data/README.md
CHANGED
@@ -48,6 +48,17 @@ AllCops:
|
|
48
48
|
|
49
49
|
Note that those overriding should be avoided as much as possible.
|
50
50
|
|
51
|
+
## Testing
|
52
|
+
|
53
|
+
Run:
|
54
|
+
```bash
|
55
|
+
bin/rake test
|
56
|
+
```
|
57
|
+
or simply:
|
58
|
+
```bash
|
59
|
+
bin/rake
|
60
|
+
```
|
61
|
+
|
51
62
|
## Release
|
52
63
|
Before all, configure your credentials for RubyGems :
|
53
64
|
|
data/default.yml
CHANGED
@@ -29,7 +29,7 @@ Codeur/RailsAppPatterns:
|
|
29
29
|
- modules
|
30
30
|
|
31
31
|
Codeur/RailsAvoidInstanceMethodsInHelpers:
|
32
|
-
Enabled:
|
32
|
+
Enabled: false
|
33
33
|
|
34
34
|
Layout/AccessModifierIndentation:
|
35
35
|
Enabled: true
|
@@ -234,6 +234,9 @@ Rails/ReversibleMigration:
|
|
234
234
|
Exclude:
|
235
235
|
- 'db/migrate/{2012,2013,2014,2015,2016,2017,2018}*.rb'
|
236
236
|
|
237
|
+
Rails/MigrationClassName:
|
238
|
+
Enabled: false
|
239
|
+
|
237
240
|
Rails/SaveBang:
|
238
241
|
Enabled: false
|
239
242
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-codeur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codeur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|