renuocop 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/README.md +16 -1
- data/config/base.yml +15 -4
- data/lib/renuocop/version.rb +1 -1
- metadata +23 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60789a4d53732483ac9a7c4e8455e8e38b01bdf6dafc857d6a3a43ce10a480c8
|
4
|
+
data.tar.gz: 94f2316850459e5f862a07faa100ba33aca3e9b812106a58c2b45095ff1b286d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa1cc031db5e58f559d7e19ff510d9c45067a281b08ebcc86d178ba275e45ff99fec6b1a6bb2e62c8df60be827ebf09fc0598a129eb999d167a5d92e9e34b1b
|
7
|
+
data.tar.gz: f124046334e4f1f2868bd0c74b5372efcdbe9499a61f64913b73a768af4f0f9a1cd5c56ada5cdffbf60c35fad99275b6d08802a1f1d8c41a18e50f2705111dcc
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -23,7 +23,22 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
## Usage
|
25
25
|
|
26
|
-
To run renuocop on your project,
|
26
|
+
To run renuocop on your project, add `renuocop` to your Gemfile
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
group :development, :test do
|
30
|
+
gem 'renuocop'
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
Then create a .rubocop.yml
|
35
|
+
|
36
|
+
```yaml
|
37
|
+
inherit_gem:
|
38
|
+
renuocop: config/base.yml
|
39
|
+
```
|
40
|
+
|
41
|
+
And then run it with
|
27
42
|
|
28
43
|
$ bundle exec renuocop
|
29
44
|
|
data/config/base.yml
CHANGED
@@ -23,7 +23,7 @@ Gemspec/DuplicatedAssignment:
|
|
23
23
|
Enabled: true
|
24
24
|
|
25
25
|
Gemspec/OrderedDependencies:
|
26
|
-
Enabled:
|
26
|
+
Enabled: false
|
27
27
|
|
28
28
|
Gemspec/RequireMFA:
|
29
29
|
Enabled: true
|
@@ -414,6 +414,14 @@ Performance/TimesMap:
|
|
414
414
|
RSpec/AnyInstance:
|
415
415
|
Enabled: false
|
416
416
|
|
417
|
+
RSpec/ContextWording:
|
418
|
+
Prefixes:
|
419
|
+
- when
|
420
|
+
- with
|
421
|
+
- without
|
422
|
+
- and
|
423
|
+
- but
|
424
|
+
|
417
425
|
RSpec/DescribeClass:
|
418
426
|
Exclude:
|
419
427
|
- 'spec/system/**/*'
|
@@ -450,6 +458,12 @@ RSpec/SortMetadata:
|
|
450
458
|
RSpec/VerifiedDoubles:
|
451
459
|
Enabled: false
|
452
460
|
|
461
|
+
Capybara/ClickLinkOrButtonStyle:
|
462
|
+
Enabled: false
|
463
|
+
|
464
|
+
Rails/ActionControllerFlashBeforeRender:
|
465
|
+
Enabled: false
|
466
|
+
|
453
467
|
Rails/BulkChangeTable:
|
454
468
|
Enabled: false
|
455
469
|
|
@@ -820,9 +834,6 @@ Style/WhileUntilModifier:
|
|
820
834
|
Style/WordArray:
|
821
835
|
Enabled: true
|
822
836
|
|
823
|
-
Style/YodaExpression:
|
824
|
-
Enabled: true
|
825
|
-
|
826
837
|
Style/ZeroLengthPredicate:
|
827
838
|
Enabled: true
|
828
839
|
|
data/lib/renuocop/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renuocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Rodi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rubocop-performance
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
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: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "!="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.20.0
|
34
|
+
- - "!="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 2.20.1
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - "!="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
43
|
+
version: 2.20.0
|
44
|
+
- - "!="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.20.1
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rubocop-rspec
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,19 +59,19 @@ dependencies:
|
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
62
|
+
name: standard
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- - "
|
65
|
+
- - ">"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '1'
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- - "
|
72
|
+
- - ">"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
74
|
+
version: '1'
|
69
75
|
description: Renuo default style guide, linter, and formatter.
|
70
76
|
email:
|
71
77
|
- alessandro.rodi@renuo.ch
|
@@ -106,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
112
|
- !ruby/object:Gem::Version
|
107
113
|
version: '0'
|
108
114
|
requirements: []
|
109
|
-
rubygems_version: 3.
|
115
|
+
rubygems_version: 3.2.22
|
110
116
|
signing_key:
|
111
117
|
specification_version: 4
|
112
118
|
summary: Renuo default style guide, linter, and formatter.
|