rf-stylez 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rf/stylez/version.rb +1 -1
- data/rf-stylez.gemspec +2 -0
- data/ruby/rubocop.yml +53 -50
- data/ruby/rubocop_lint.yml +0 -10
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3981348e85231a55a370e5059321d875f0279e
|
4
|
+
data.tar.gz: 3ec855d8df7962120653bd2b285bb97432e961b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d1d55b55e45853fa85fb38c675dff26485a0e358eb013d0c393210d1754bd4e455f7efc0cedd66d2f3258162edd2df0f85e3d576eb2ff93dfba4a8ef517ac21
|
7
|
+
data.tar.gz: 18c690579c2a14f77ef18083f03e45fcc764af7b152773f5dea84de03a1402fcd716b85f931850d75820044229e5fb6a069a186fb89f2b86c2ed4a9b3dcdaf46
|
data/README.md
CHANGED
data/lib/rf/stylez/version.rb
CHANGED
data/rf-stylez.gemspec
CHANGED
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
+
spec.add_runtime_dependency 'rubocop', '~> 0.51.0'
|
23
|
+
|
22
24
|
spec.add_development_dependency 'bundler', '~> 1.10'
|
23
25
|
spec.add_development_dependency 'rake', '~> 10.0'
|
24
26
|
end
|
data/ruby/rubocop.yml
CHANGED
@@ -14,109 +14,112 @@ inherit_from:
|
|
14
14
|
./rubocop_lint.yml
|
15
15
|
|
16
16
|
# Good style cops
|
17
|
-
|
17
|
+
Layout/TrailingBlankLines:
|
18
18
|
Enabled: true
|
19
|
-
|
19
|
+
Layout/TrailingWhitespace:
|
20
20
|
Enabled: true
|
21
|
-
|
21
|
+
Layout/EmptyLineBetweenDefs:
|
22
22
|
Enabled: true
|
23
|
-
|
24
|
-
Style/BlockDelimiters:
|
23
|
+
Layout/IndentationWidth:
|
25
24
|
Enabled: true
|
26
|
-
|
25
|
+
Layout/AccessModifierIndentation:
|
27
26
|
Enabled: true
|
28
|
-
|
27
|
+
Layout/AlignArray:
|
29
28
|
Enabled: true
|
30
|
-
|
29
|
+
Layout/AlignHash:
|
31
30
|
Enabled: true
|
32
|
-
|
31
|
+
Layout/AlignParameters:
|
33
32
|
Enabled: true
|
34
|
-
|
33
|
+
Layout/CaseIndentation:
|
35
34
|
Enabled: true
|
36
|
-
|
35
|
+
Layout/ClosingParenthesisIndentation:
|
37
36
|
Enabled: true
|
38
|
-
|
37
|
+
Layout/CommentIndentation:
|
39
38
|
Enabled: true
|
40
|
-
|
39
|
+
Layout/ElseAlignment:
|
41
40
|
Enabled: true
|
42
|
-
|
41
|
+
Layout/EmptyLines:
|
43
42
|
Enabled: true
|
44
|
-
|
43
|
+
Layout/EndOfLine:
|
45
44
|
Enabled: true
|
46
|
-
|
45
|
+
Layout/ExtraSpacing:
|
47
46
|
Enabled: true
|
48
|
-
|
47
|
+
Layout/InitialIndentation:
|
49
48
|
Enabled: true
|
50
|
-
|
49
|
+
Layout/IndentationConsistency:
|
51
50
|
Enabled: true
|
52
|
-
|
51
|
+
Layout/IndentHash:
|
53
52
|
Enabled: true
|
54
|
-
|
53
|
+
Layout/LeadingCommentSpace:
|
55
54
|
Enabled: true
|
56
|
-
|
55
|
+
Layout/RescueEnsureAlignment:
|
57
56
|
Enabled: true
|
58
|
-
|
57
|
+
Layout/SpaceBeforeFirstArg:
|
59
58
|
Enabled: true
|
60
|
-
|
59
|
+
Layout/SpaceAfterColon:
|
61
60
|
Enabled: true
|
62
|
-
|
61
|
+
Layout/SpaceAfterComma:
|
63
62
|
Enabled: true
|
64
|
-
|
63
|
+
Layout/SpaceAfterMethodName:
|
65
64
|
Enabled: true
|
66
|
-
|
65
|
+
Layout/SpaceBeforeBlockBraces:
|
67
66
|
Enabled: true
|
68
|
-
|
67
|
+
Layout/SpaceBeforeComma:
|
69
68
|
Enabled: true
|
70
|
-
|
69
|
+
Layout/SpaceInsideParens:
|
71
70
|
Enabled: true
|
72
|
-
|
71
|
+
Layout/Tab:
|
73
72
|
Enabled: true
|
74
|
-
|
73
|
+
|
74
|
+
Naming/MethodName:
|
75
75
|
Enabled: true
|
76
|
-
|
76
|
+
Naming/VariableName:
|
77
77
|
Enabled: true
|
78
|
-
|
78
|
+
Naming/ClassAndModuleCamelCase:
|
79
79
|
Enabled: true
|
80
|
-
|
80
|
+
Naming/ConstantName:
|
81
81
|
Enabled: true
|
82
|
-
|
82
|
+
Naming/FileName:
|
83
83
|
Enabled: true
|
84
|
-
|
84
|
+
Naming/MethodName:
|
85
85
|
Enabled: true
|
86
|
-
|
86
|
+
|
87
|
+
Style/FrozenStringLiteralComment:
|
87
88
|
Enabled: true
|
88
|
-
|
89
|
+
EnforcedStyle: always
|
90
|
+
Style/BlockDelimiters:
|
89
91
|
Enabled: true
|
90
|
-
Style/
|
92
|
+
Style/DefWithParentheses:
|
91
93
|
Enabled: true
|
92
|
-
Style/
|
94
|
+
Style/MethodCallWithoutArgsParentheses:
|
93
95
|
Enabled: true
|
94
|
-
Style/
|
96
|
+
Style/InfiniteLoop:
|
95
97
|
Enabled: true
|
96
|
-
Style/
|
98
|
+
Style/StringLiterals:
|
97
99
|
Enabled: true
|
98
|
-
Style/
|
100
|
+
Style/AndOr:
|
99
101
|
Enabled: true
|
100
|
-
Style/
|
102
|
+
Style/Not:
|
101
103
|
Enabled: true
|
102
|
-
Style/
|
104
|
+
Style/MutableConstant:
|
103
105
|
Enabled: true
|
104
|
-
Style/
|
106
|
+
Style/HashSyntax:
|
105
107
|
Enabled: true
|
106
|
-
Style/
|
108
|
+
Style/RedundantFreeze:
|
107
109
|
Enabled: true
|
108
110
|
Style/TrailingCommaInLiteral:
|
109
111
|
Enabled: true
|
110
112
|
EnforcedStyleForMultiline: consistent_comma
|
113
|
+
Style/MultilineIfThen:
|
114
|
+
Enabled: true
|
115
|
+
Style/Semicolon:
|
116
|
+
Enabled: true
|
117
|
+
|
111
118
|
Metrics/LineLength:
|
112
119
|
Enabled: true
|
113
120
|
Max: 120
|
114
121
|
AllowHeredoc: true
|
115
122
|
AllowURI: true
|
116
|
-
Style/MultilineIfThen:
|
117
|
-
Enabled: true
|
118
|
-
Style/Semicolon:
|
119
|
-
Enabled: true
|
120
123
|
|
121
124
|
# Dumb lint cops
|
122
125
|
Lint/AmbiguousOperator:
|
data/ruby/rubocop_lint.yml
CHANGED
@@ -111,16 +111,6 @@ Lint/IneffectiveAccessModifier:
|
|
111
111
|
the visibility of a class method, which does not work.
|
112
112
|
Enabled: true
|
113
113
|
|
114
|
-
Lint/InvalidCharacterLiteral:
|
115
|
-
Description: >-
|
116
|
-
Checks for invalid character literals with a non-escaped
|
117
|
-
whitespace character.
|
118
|
-
Enabled: true
|
119
|
-
|
120
|
-
Lint/LiteralInCondition:
|
121
|
-
Description: 'Checks of literals used in conditions.'
|
122
|
-
Enabled: true
|
123
|
-
|
124
114
|
Lint/LiteralInInterpolation:
|
125
115
|
Description: 'Checks for literals used in interpolation.'
|
126
116
|
Enabled: true
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rf-stylez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.51.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.51.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
92
|
version: '0'
|
79
93
|
requirements: []
|
80
94
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.6.13
|
82
96
|
signing_key:
|
83
97
|
specification_version: 4
|
84
98
|
summary: Styles for Rainforest code
|