rf-stylez 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/rf/stylez/version.rb +1 -1
- data/rails/rubocop.yml +4 -0
- data/rf-stylez.gemspec +5 -5
- data/ruby/rubocop.yml +48 -5
- metadata +35 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c6ddb452c331d93cd7e536fa6188c64c93f5b22e4a6cce2b6dc9b57d53cf613
|
4
|
+
data.tar.gz: 8050aa51cec4f00782c749438198451e8c46ac80c8fc2bdcc7a7e1b2cc4fc59c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb2f21948f57eb5e5390d93370e89dc5858f9c78f4fa67f20f006dde064bca89338f91271554d4c103ecdba3f0299e71fff6fa0afab35b253f6d15c1d14f1a9b
|
7
|
+
data.tar.gz: 1fa3f1d27c72e0bfeb521429791def99a0748a4923578a809e6728183863490ed38659336ffcf184c0b754500ed5839e3f476fec175ad4fd67c11e1a3fa2a406
|
data/Gemfile
CHANGED
data/lib/rf/stylez/version.rb
CHANGED
data/rails/rubocop.yml
CHANGED
data/rf-stylez.gemspec
CHANGED
@@ -20,12 +20,12 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = ["rf-stylez"]
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_runtime_dependency "rubocop", "1.59.0"
|
24
|
-
spec.add_runtime_dependency "rubocop-rails", "2.23.1"
|
25
|
-
spec.add_runtime_dependency "rubocop-rspec", "2.26.1"
|
26
|
-
spec.add_runtime_dependency "reek", "~> 6.2"
|
27
23
|
spec.add_runtime_dependency "get_env", "~> 0.2.1"
|
28
|
-
spec.add_runtime_dependency "unparser", "~> 0.6"
|
29
24
|
spec.add_runtime_dependency "pronto", "~> 0.11.2"
|
30
25
|
spec.add_runtime_dependency "pronto-rubocop", "~> 0.11.5"
|
26
|
+
spec.add_runtime_dependency "reek", "~> 6.2"
|
27
|
+
spec.add_runtime_dependency "rubocop", "1.65.1"
|
28
|
+
spec.add_runtime_dependency "rubocop-rails", "2.25.1"
|
29
|
+
spec.add_runtime_dependency "rubocop-rspec", "2.31.0"
|
30
|
+
spec.add_runtime_dependency "unparser", "~> 0.6"
|
31
31
|
end
|
data/ruby/rubocop.yml
CHANGED
@@ -44,10 +44,36 @@ Lint/NoVCRRecording:
|
|
44
44
|
Layout/EmptyLineBetweenDefs:
|
45
45
|
Enabled: true
|
46
46
|
EmptyLineBetweenClassDefs: false
|
47
|
+
Layout/LineLength:
|
48
|
+
Enabled: true
|
49
|
+
Max: 120
|
50
|
+
AllowHeredoc: true
|
51
|
+
AllowURI: true
|
52
|
+
Layout/ArgumentAlignment:
|
53
|
+
Enabled: true
|
54
|
+
EnforcedStyle: with_fixed_indentation
|
55
|
+
Layout/DotPosition:
|
56
|
+
Enabled: true
|
57
|
+
EnforcedStyle: leading
|
58
|
+
Layout/MultilineMethodCallIndentation:
|
59
|
+
Enabled: true
|
60
|
+
EnforcedStyle: indented
|
47
61
|
|
62
|
+
RSpec/NotToNot:
|
63
|
+
Enabled: true
|
64
|
+
EnforcedStyle: to_not
|
65
|
+
RSpec/PredicateMatcher:
|
66
|
+
Enabled: false
|
67
|
+
|
68
|
+
Style/Documentation:
|
69
|
+
Enabled: true
|
70
|
+
Exclude:
|
71
|
+
- 'db/migrate/*.rb'
|
48
72
|
Style/FrozenStringLiteralComment:
|
49
73
|
Enabled: true
|
50
74
|
EnforcedStyle: always
|
75
|
+
Style/NumericLiterals:
|
76
|
+
Enabled: false
|
51
77
|
Style/StringLiterals:
|
52
78
|
Description: 'Checks if uses of quotes match the configured preference.'
|
53
79
|
StyleGuide: '#consistent-string-literals'
|
@@ -70,12 +96,9 @@ Style/TrailingCommaInArrayLiteral:
|
|
70
96
|
Style/TrailingCommaInHashLiteral:
|
71
97
|
Enabled: true
|
72
98
|
EnforcedStyleForMultiline: consistent_comma
|
73
|
-
|
74
|
-
Layout/LineLength:
|
99
|
+
Style/StringLiteralsInInterpolation:
|
75
100
|
Enabled: true
|
76
|
-
|
77
|
-
AllowHeredoc: true
|
78
|
-
AllowURI: true
|
101
|
+
EnforcedStyle: double_quotes
|
79
102
|
|
80
103
|
# Dumb lint cops
|
81
104
|
Lint/AmbiguousOperator:
|
@@ -85,8 +108,22 @@ Lint/NonLocalExitFromIterator:
|
|
85
108
|
Lint/AmbiguousRegexpLiteral:
|
86
109
|
Enabled: false
|
87
110
|
|
111
|
+
Metrics/ClassLength:
|
112
|
+
Enabled: false
|
88
113
|
Metrics/MethodLength:
|
89
114
|
Enabled: false
|
115
|
+
Metrics/AbcSize:
|
116
|
+
Enabled: false
|
117
|
+
Metrics/PerceivedComplexity:
|
118
|
+
Enabled: false
|
119
|
+
Metrics/CyclomaticComplexity:
|
120
|
+
Enabled: false
|
121
|
+
Metrics/BlockLength:
|
122
|
+
Enabled: false
|
123
|
+
Metrics/ModuleLength:
|
124
|
+
Enabled: false
|
125
|
+
Metrics/ParameterLists:
|
126
|
+
Enabled: false
|
90
127
|
|
91
128
|
Naming/AccessorMethodName:
|
92
129
|
Enabled: false
|
@@ -94,6 +131,10 @@ Naming/PredicateName:
|
|
94
131
|
Enabled: false
|
95
132
|
Naming/HeredocDelimiterNaming:
|
96
133
|
Enabled: false
|
134
|
+
Naming/RescuedExceptionsVariableName:
|
135
|
+
Enabled: false
|
136
|
+
Naming/VariableNumber:
|
137
|
+
Enabled: false
|
97
138
|
|
98
139
|
RSpec/MultipleExpectations:
|
99
140
|
Enabled: false
|
@@ -146,3 +187,5 @@ Style/FormatStringToken:
|
|
146
187
|
Enabled: false
|
147
188
|
Style/MapToHash:
|
148
189
|
Enabled: false
|
190
|
+
Style/TrailingUnderscoreVariable:
|
191
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rf-stylez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: get_env
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.1
|
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.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: pronto
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.11.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.11.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop
|
42
|
+
name: pronto-rubocop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.11.5
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.11.5
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: reek
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,61 +67,61 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '6.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.65.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.65.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rubocop-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.25.1
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.25.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rubocop-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.31.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.31.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: unparser
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: '0.6'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: '0.6'
|
125
125
|
description: Configurations for Rubocop and other style enforcers/linters
|
126
126
|
email:
|
127
127
|
- emanuel@rainforestqa.com
|