defra_ruby_style 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/default.yml +11 -1
- data/lib/defra/style/version.rb +1 -1
- metadata +23 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d30701b34b854567c787c8458f1b7a73d209ab6deaac3c59d75d0bafc7e20bd2
|
4
|
+
data.tar.gz: 6a96d4db9fd381e3cc8052441846f59e38df45eff41fd2dcdc65e2dc94e5ebbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16c39339e7e838be9a35c7ce9e3985058671235cc95e680ebc237e731581a817ebd9d5b8996bc5d7c67e21df2daef5264ca94dfb73ccbf3292f769ab602adff3
|
7
|
+
data.tar.gz: 861d9cc12416f57bc72290976dd42aebe8a52479af82094f0bcb5ac49cb730c2679b21f610602492453f5b2cd07f73d6449400f0aeaec0e6ed9fb23266f5a626
|
data/Rakefile
CHANGED
data/default.yml
CHANGED
@@ -1,5 +1,10 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rake
|
3
|
+
- rubocop-rspec
|
4
|
+
- rubocop-factory_bot
|
5
|
+
|
1
6
|
AllCops:
|
2
|
-
TargetRubyVersion: 3.
|
7
|
+
TargetRubyVersion: 3.2.2
|
3
8
|
# Cop names are not displayed in offense messages by default. We find it
|
4
9
|
# useful to include this information so we can use it to investigate what the
|
5
10
|
# fix may be.
|
@@ -130,3 +135,8 @@ Style/StringLiterals:
|
|
130
135
|
|
131
136
|
Style/HashSyntax:
|
132
137
|
EnforcedShorthandSyntax: either
|
138
|
+
|
139
|
+
# We believe that the default of 3 is too low and that it is okay to have
|
140
|
+
# it slightly bigger
|
141
|
+
RSpec/NestedGroups:
|
142
|
+
Max: 4
|
data/lib/defra/style/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: defra_ruby_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Defra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -31,33 +31,41 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: rubocop-factory_bot
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '1.16'
|
43
|
-
type: :development
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - ">="
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rubocop-rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
51
52
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
53
61
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
62
|
+
name: rubocop-rspec
|
55
63
|
requirement: !ruby/object:Gem::Requirement
|
56
64
|
requirements:
|
57
65
|
- - ">="
|
58
66
|
- !ruby/object:Gem::Version
|
59
67
|
version: '0'
|
60
|
-
type: :
|
68
|
+
type: :runtime
|
61
69
|
prerelease: false
|
62
70
|
version_requirements: !ruby/object:Gem::Requirement
|
63
71
|
requirements:
|
@@ -92,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
100
|
requirements:
|
93
101
|
- - ">="
|
94
102
|
- !ruby/object:Gem::Version
|
95
|
-
version: '3.
|
103
|
+
version: '3.2'
|
96
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
105
|
requirements:
|
98
106
|
- - ">="
|
99
107
|
- !ruby/object:Gem::Version
|
100
108
|
version: '0'
|
101
109
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
110
|
+
rubygems_version: 3.4.10
|
103
111
|
signing_key:
|
104
112
|
specification_version: 4
|
105
113
|
summary: Defra ruby coding standards
|