hint-rubocop_style 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default.yml +31 -1
- data/hint-rubocop_style.gemspec +1 -1
- data/lib/hint/rubocop_style/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c38dbef5619b2e1b227d6c95f286e47bdc3b014ec8fa2a78e799bdbba9f3758e
|
4
|
+
data.tar.gz: bd9c9dea8a457e659702f05eb914e96b25288351c70b0f0aa31c3e877a0fc526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0caa902f5a06c8e9e531aab0a1397ac16853e2acdabd1f220889186faec552be0bd33ddde7188642a92440b7b1dc5fed215d268bf990cbb2bb1152b9f9ced23c
|
7
|
+
data.tar.gz: 4d5eb32dd59c913e1542ae9048a0e34a2914d13582cc85812e6dab8cd46f8a16c8841d2ee394992ab412fc7b8bf0b443171aafe062c427d28cb3d2e75ceaa9fd
|
data/default.yml
CHANGED
@@ -8,6 +8,12 @@ require:
|
|
8
8
|
Rails:
|
9
9
|
Enabled: true
|
10
10
|
|
11
|
+
Rails/HasAndBelongsToMany:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Rails/SkipsModelValidations:
|
15
|
+
Enabled: false
|
16
|
+
|
11
17
|
Style/PercentLiteralDelimiters:
|
12
18
|
# Specify the default preferred delimiter for all types with the 'default' key
|
13
19
|
# Override individual delimiters (even with default specified) by specifying
|
@@ -41,12 +47,21 @@ Layout/EmptyLinesAroundBlockBody:
|
|
41
47
|
Enabled: false
|
42
48
|
|
43
49
|
# Limit line length
|
44
|
-
|
50
|
+
Layout/LineLength:
|
45
51
|
Max: 100
|
46
52
|
|
47
53
|
Metrics/ModuleLength:
|
48
54
|
Max: 200
|
49
55
|
|
56
|
+
Metrics/ClassLength:
|
57
|
+
Max: 200
|
58
|
+
|
59
|
+
Metrics/MethodLength:
|
60
|
+
Max: 15
|
61
|
+
|
62
|
+
Metrics/AbcSize:
|
63
|
+
Max: 30
|
64
|
+
|
50
65
|
Layout/CaseIndentation:
|
51
66
|
Enabled: true
|
52
67
|
EnforcedStyle: case
|
@@ -59,6 +74,9 @@ Style/SignalException:
|
|
59
74
|
Enabled: false
|
60
75
|
AutoCorrect: false
|
61
76
|
|
77
|
+
Style/GlobalVars:
|
78
|
+
Enabled: false
|
79
|
+
|
62
80
|
Layout/SpaceBeforeBlockBraces:
|
63
81
|
AutoCorrect: true
|
64
82
|
|
@@ -105,6 +123,18 @@ RSpec/LetSetup:
|
|
105
123
|
RSpec/NestedGroups:
|
106
124
|
Enabled: false
|
107
125
|
|
126
|
+
RSpec/ImplicitBlockExpectation:
|
127
|
+
Enabled: false
|
128
|
+
|
129
|
+
RSpec/MessageChain:
|
130
|
+
Enabled: false
|
131
|
+
|
132
|
+
RSpec/MessageSpies:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
RSpec/AnyInstance:
|
136
|
+
Enabled: false
|
137
|
+
|
108
138
|
Security/YAMLLoad:
|
109
139
|
Enabled: false
|
110
140
|
|
data/hint-rubocop_style.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r( ^exe/ )) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ['lib']
|
31
31
|
|
32
|
-
spec.add_dependency 'rubocop', '>= 0.
|
32
|
+
spec.add_dependency 'rubocop', '>= 0.78.0'
|
33
33
|
spec.add_dependency 'rubocop-rspec', '>= 1.33.0'
|
34
34
|
spec.add_dependency 'rubocop-rails', '>= 2.0.0'
|
35
35
|
spec.add_dependency 'rubocop-performance', '>= 1.3.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hint-rubocop_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hint
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.78.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: 0.
|
26
|
+
version: 0.78.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
|
-
rubygems_version: 3.0.
|
134
|
+
rubygems_version: 3.0.3
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Hint shared Rubocop style guide
|