rubocop-config-oharagroup 2.7.3 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/default.yml +8 -0
- data/factory_bot.yml +2 -5
- data/performance.yml +2 -5
- data/rails.yml +13 -4
- data/rake.yml +2 -5
- data/rspec.yml +2 -9
- data/rspec_rails.yml +2 -5
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f6d8dc4f10767172f31ec5430f6ec58aeb3081838f55a16dadab4e51c763566
|
|
4
|
+
data.tar.gz: 2303e6e2c365190f2e1c1cbb91536d92419e43593a38c2c2b4ed87d5e694fe26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45dd1c13109a259b3d03313c97e833d715c0120d5fab36a468f22d80f86cf25efaf8069f502e05848ca8f7c7eaff83c653da5dcc5c634f7d7d3012d88cd06b3d
|
|
7
|
+
data.tar.gz: 073d492477934a244e05dd778d965af77e58e8a44e5a743a23ee0e86c2683b2f445734ec2f8bd0215fce966df72ce8b4a5f0e33c3c861e8e6ad6c342c03cdf7e
|
data/default.yml
CHANGED
|
@@ -4,6 +4,10 @@ AllCops:
|
|
|
4
4
|
ExtraDetails: true
|
|
5
5
|
EnabledByDefault: true
|
|
6
6
|
NewCops: enable
|
|
7
|
+
UseProjectIndex: true
|
|
8
|
+
inherit_mode:
|
|
9
|
+
merge:
|
|
10
|
+
- Exclude
|
|
7
11
|
|
|
8
12
|
# Align multi-line arguments with a single tab
|
|
9
13
|
Layout/ArgumentAlignment:
|
|
@@ -64,6 +68,10 @@ Style/Copyright:
|
|
|
64
68
|
Style/DocumentationMethod:
|
|
65
69
|
Enabled: false
|
|
66
70
|
|
|
71
|
+
# Always use shorthand syntax where possible
|
|
72
|
+
Style/HashSyntax:
|
|
73
|
+
EnforcedShorthandSyntax: always
|
|
74
|
+
|
|
67
75
|
# Allow trailing inline comments
|
|
68
76
|
Style/InlineComment:
|
|
69
77
|
Enabled: false
|
data/factory_bot.yml
CHANGED
data/performance.yml
CHANGED
data/rails.yml
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
+
plugins:
|
|
3
|
+
- rubocop-rails
|
|
4
|
+
|
|
2
5
|
AllCops:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
Exclude:
|
|
7
|
+
- "bin/*"
|
|
8
|
+
- "config/**/*"
|
|
9
|
+
- "db/migrate/*"
|
|
10
|
+
- "db/schema.rb"
|
|
11
|
+
- "spec/*_helper.rb"
|
|
7
12
|
|
|
8
13
|
# Allow Rails.env.production? and similar usage
|
|
9
14
|
Rails/Env:
|
|
10
15
|
Enabled: false
|
|
16
|
+
|
|
17
|
+
# Allow reading of ENV vars for authentication
|
|
18
|
+
Rails/EnvironmentVariableAccess:
|
|
19
|
+
AllowReads: true
|
data/rake.yml
CHANGED
data/rspec.yml
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ExtraDetails: true
|
|
5
|
-
EnabledByDefault: true
|
|
6
|
-
NewCops: enable
|
|
2
|
+
plugins:
|
|
3
|
+
- rubocop-rspec
|
|
7
4
|
|
|
8
5
|
# Don't enforce alignment of braces
|
|
9
6
|
RSpec/AlignLeftLetBrace:
|
|
@@ -35,10 +32,6 @@ RSpec/ExampleWording:
|
|
|
35
32
|
RSpec/ExpectInHook:
|
|
36
33
|
Enabled: false
|
|
37
34
|
|
|
38
|
-
# Allow stubbing message chains
|
|
39
|
-
RSpec/MessageChain:
|
|
40
|
-
Enabled: false
|
|
41
|
-
|
|
42
35
|
# Enable use of both `allow` and 'expect' for message expectations
|
|
43
36
|
RSpec/MessageExpectation:
|
|
44
37
|
Enabled: false
|
data/rspec_rails.yml
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-config-oharagroup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott O'Hara
|
|
@@ -27,7 +27,8 @@ files:
|
|
|
27
27
|
homepage: https://github.com/scottohara/rubocop-config-oharagroup
|
|
28
28
|
licenses:
|
|
29
29
|
- MIT
|
|
30
|
-
metadata:
|
|
30
|
+
metadata:
|
|
31
|
+
rubygems_mfa_required: 'true'
|
|
31
32
|
rdoc_options: []
|
|
32
33
|
require_paths:
|
|
33
34
|
- lib
|
|
@@ -35,14 +36,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
35
36
|
requirements:
|
|
36
37
|
- - ">="
|
|
37
38
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: 4.0.
|
|
39
|
+
version: 4.0.9
|
|
39
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
41
|
requirements:
|
|
41
42
|
- - ">="
|
|
42
43
|
- !ruby/object:Gem::Version
|
|
43
44
|
version: '0'
|
|
44
45
|
requirements: []
|
|
45
|
-
rubygems_version: 4.0.
|
|
46
|
+
rubygems_version: 4.0.20
|
|
46
47
|
specification_version: 4
|
|
47
48
|
summary: O'Hara Group Ruby style guide
|
|
48
49
|
test_files: []
|