rf-stylez 0.2.9 → 0.2.10
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/.circleci/config.yml +1 -1
- data/.travis.yml +2 -1
- data/lib/rf/stylez/version.rb +1 -1
- data/rf-stylez.gemspec +1 -1
- data/ruby/rubocop.yml +17 -3
- data/ruby/rubocop_lint.yml +1 -20
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e35201960c4f61dccd6cfe5cca8946beeb58f7c2173fb8de02e33f66141cda2
|
4
|
+
data.tar.gz: bf515f81449e75aa0f31a7bd2bbd44a12cc048cbe61815863a61ab49d97e3f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db5c9b8a5564bf4ff7640754fa1d76a001537be02b265e9414a7b92f05a4e10251a2e2457d184a6fdbdd019f2717709529fc29c66ab33d4226c2c167073c2717
|
7
|
+
data.tar.gz: 3de6ddf50e6d6bfc8e5de944f101344ea8f8aa71623bd884c47c6d387ab0f04a094eb06a7ad36381a1fa5f3843130ea4b8f2cc71b52f5079262256d246fbf841
|
data/.circleci/config.yml
CHANGED
data/.travis.yml
CHANGED
data/lib/rf/stylez/version.rb
CHANGED
data/rf-stylez.gemspec
CHANGED
@@ -19,7 +19,7 @@ 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.
|
22
|
+
spec.add_runtime_dependency 'rubocop', '~> 0.59.0'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.10'
|
25
25
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/ruby/rubocop.yml
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.5
|
3
3
|
DisabledByDefault: true
|
4
4
|
Include:
|
5
|
+
- '**/*.rb'
|
6
|
+
- '**/*.rake'
|
5
7
|
- '**/Rakefile'
|
6
|
-
- '**/
|
8
|
+
- '**/Guardfile'
|
9
|
+
- '**/*.ru'
|
7
10
|
- '**/Gemfile'
|
8
11
|
Exclude:
|
9
12
|
- 'db/**/*'
|
@@ -14,6 +17,14 @@ inherit_from:
|
|
14
17
|
./rubocop_lint.yml
|
15
18
|
|
16
19
|
# Good style cops
|
20
|
+
Layout/BlockAlignment:
|
21
|
+
Enabled: true
|
22
|
+
Layout/EndAlignment:
|
23
|
+
Enabled: true
|
24
|
+
Layout/DefEndAlignment:
|
25
|
+
Enabled: true
|
26
|
+
Layout/ConditionPosition:
|
27
|
+
Enabled: true
|
17
28
|
Layout/TrailingBlankLines:
|
18
29
|
Enabled: true
|
19
30
|
Layout/TrailingWhitespace:
|
@@ -110,7 +121,10 @@ Style/RedundantFreeze:
|
|
110
121
|
Style/TrailingCommaInArguments:
|
111
122
|
Enabled: true
|
112
123
|
EnforcedStyleForMultiline: no_comma
|
113
|
-
Style/
|
124
|
+
Style/TrailingCommaInArrayLiteral:
|
125
|
+
Enabled: true
|
126
|
+
EnforcedStyleForMultiline: consistent_comma
|
127
|
+
Style/TrailingCommaInHashLiteral:
|
114
128
|
Enabled: true
|
115
129
|
EnforcedStyleForMultiline: consistent_comma
|
116
130
|
Style/MultilineIfThen:
|
data/ruby/rubocop_lint.yml
CHANGED
@@ -16,29 +16,14 @@ Lint/AssignmentInCondition:
|
|
16
16
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
-
Lint/BlockAlignment:
|
20
|
-
Description: 'Align block ends correctly.'
|
21
|
-
Enabled: true
|
22
|
-
|
23
19
|
Lint/CircularArgumentReference:
|
24
20
|
Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
|
25
21
|
Enabled: true
|
26
22
|
|
27
|
-
Lint/ConditionPosition:
|
28
|
-
Description: >-
|
29
|
-
Checks for condition placed in a confusing position relative to
|
30
|
-
the keyword.
|
31
|
-
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
|
32
|
-
Enabled: true
|
33
|
-
|
34
23
|
Lint/Debugger:
|
35
24
|
Description: 'Check for debugger calls.'
|
36
25
|
Enabled: true
|
37
26
|
|
38
|
-
Lint/DefEndAlignment:
|
39
|
-
Description: 'Align ends corresponding to defs correctly.'
|
40
|
-
Enabled: true
|
41
|
-
|
42
27
|
Lint/DeprecatedClassMethods:
|
43
28
|
Description: 'Check for deprecated class method calls.'
|
44
29
|
Enabled: true
|
@@ -67,10 +52,6 @@ Lint/EmptyInterpolation:
|
|
67
52
|
Description: 'Checks for empty string interpolation.'
|
68
53
|
Enabled: true
|
69
54
|
|
70
|
-
Lint/EndAlignment:
|
71
|
-
Description: 'Align ends correctly.'
|
72
|
-
Enabled: true
|
73
|
-
|
74
55
|
Lint/EndInMethod:
|
75
56
|
Description: 'END blocks should not be placed inside method definitions.'
|
76
57
|
Enabled: true
|
@@ -176,7 +157,7 @@ Lint/UnderscorePrefixedVariableName:
|
|
176
157
|
Description: 'Do not use prefix `_` for a variable that is used.'
|
177
158
|
Enabled: true
|
178
159
|
|
179
|
-
Lint/
|
160
|
+
Lint/UnneededCopDisableDirective:
|
180
161
|
Description: >-
|
181
162
|
Checks for rubocop:disable comments that can be removed.
|
182
163
|
Note: this cop is not disabled when disabling all cops.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-14 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.59.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.59.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|