boxt_ruby_style_guide 7.0.1 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/default.yml +3 -3
- data/rails-pending.yml +32 -0
- data/rails.yml +8 -0
- data/rspec.yml +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea3b837cced7b872a11cc729ab8b79bf7806ca316adc95b06efe54260d2d4aef
|
4
|
+
data.tar.gz: 8259d623667fbfd2ba5e59d605a2139c4c8239609eebf68c2099d537f07a9a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55600a471c86b4916e7018c1505fbb703270a29d51ab4eb317d5ee5ec55b742cf8dfd753cc5179de1803f296f7cf379cf9cad5c81c9b33d98b4eb7c19fa7406e
|
7
|
+
data.tar.gz: 3fa4333832514b686890ac139bd22e6a182cee23ac4b0e3dbf35a07f78a930f8279e732b79b63b21b100e75fe7072c85b71ef1a5ebf094a8ed4244315b9c31a7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.1.1
|
data/default.yml
CHANGED
@@ -15,15 +15,15 @@ Metrics/BlockLength:
|
|
15
15
|
- "*.gemspec"
|
16
16
|
- "Gemfile"
|
17
17
|
- "config/routes.rb"
|
18
|
-
- "
|
18
|
+
- "spec/**/*"
|
19
19
|
- "test/**/*"
|
20
20
|
Metrics/ClassLength:
|
21
21
|
Exclude:
|
22
|
-
- "
|
22
|
+
- "spec/**/*"
|
23
23
|
- "test/**/*"
|
24
24
|
Metrics/MethodLength:
|
25
25
|
Exclude:
|
26
|
-
- "
|
26
|
+
- "spec/**/*"
|
27
27
|
- "test/**/*"
|
28
28
|
Style/DoubleNegation:
|
29
29
|
Enabled: false
|
data/rails-pending.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# These cops are currently pending and will be enabled by default at some point, but adding for now to stop Rubocop
|
2
|
+
# or VSCode complaining...
|
3
|
+
Rails/ActiveRecordCallbacksOrder:
|
4
|
+
Enabled: true
|
5
|
+
Rails/AfterCommitOverride:
|
6
|
+
Enabled: true
|
7
|
+
Rails/FindById:
|
8
|
+
Enabled: true
|
9
|
+
Rails/Inquiry:
|
10
|
+
Enabled: true
|
11
|
+
Rails/MailerName:
|
12
|
+
Enabled: true
|
13
|
+
Rails/MatchRoute:
|
14
|
+
Enabled: true
|
15
|
+
Rails/NegateInclude:
|
16
|
+
Enabled: true
|
17
|
+
Rails/Pluck:
|
18
|
+
Enabled: true
|
19
|
+
Rails/PluckInWhere:
|
20
|
+
Enabled: true
|
21
|
+
Rails/RenderInline:
|
22
|
+
Enabled: true
|
23
|
+
Rails/RenderPlainText:
|
24
|
+
Enabled: true
|
25
|
+
Rails/ShortI18n:
|
26
|
+
Enabled: true
|
27
|
+
Rails/SquishedSQLHeredocs:
|
28
|
+
Enabled: true
|
29
|
+
Rails/WhereExists:
|
30
|
+
Enabled: true
|
31
|
+
Rails/WhereNot:
|
32
|
+
Enabled: true
|
data/rails.yml
CHANGED
@@ -9,6 +9,14 @@ Rails/SkipsModelValidations:
|
|
9
9
|
- "lib/tasks/**/*"
|
10
10
|
- "spec/**/*"
|
11
11
|
- "test/**/*"
|
12
|
+
Rails/UnknownEnv:
|
13
|
+
Environments:
|
14
|
+
- cucumber
|
15
|
+
- development
|
16
|
+
- production
|
17
|
+
- qa
|
18
|
+
- test
|
19
|
+
- uat
|
12
20
|
|
13
21
|
# These rails cops are currently pending and will be enabled by default at some point, but adding for now to stop
|
14
22
|
# Rubocop or VSCode complaining...
|
data/rspec.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Rspec specific cops
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_ruby_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -139,7 +139,9 @@ files:
|
|
139
139
|
- lib/boxt_ruby_style_guide/railtie.rb
|
140
140
|
- lib/boxt_ruby_style_guide/version.rb
|
141
141
|
- pending.yml
|
142
|
+
- rails-pending.yml
|
142
143
|
- rails.yml
|
144
|
+
- rspec.yml
|
143
145
|
homepage: https://github.com/boxt/ruby-style-guide
|
144
146
|
licenses:
|
145
147
|
- MIT
|