rf-stylez 0.7.2 → 0.8.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -2
- data/lib/rf/stylez/version.rb +1 -1
- data/rf-stylez.gemspec +2 -2
- data/ruby/rubocop.yml +5 -3
- data/ruby/rubocop_lint.yml +4 -8
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d7fe7a192e8f6cc538dcb35e5b307c2779027662f1778cbb2d4a704cfae8208
|
4
|
+
data.tar.gz: 446ad3e734885dee4cc268c7a84c29bf550a73d0d8dfb0c25eaa3f88f4fc1131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1414a49976ea0767b32f0b0d9736fe7a47c25be298d10f769645266ea552fd31a23eeb1ae97c2a267f6582eb8bc40ff82155dc48dd368dad4579c3a3972afdf5
|
7
|
+
data.tar.gz: b32a246fc0ae8d2d7749c0d0b070ef52794a35de69c898cb0841231b48b8104bcdb7195df8d47ded1934303721cc045e75e74cbde286c8e9be48597054640a41
|
data/.circleci/config.yml
CHANGED
@@ -12,7 +12,7 @@ jobs:
|
|
12
12
|
|
13
13
|
test:
|
14
14
|
docker:
|
15
|
-
- image: circleci/ruby:2.
|
15
|
+
- image: circleci/ruby:2.7.1
|
16
16
|
steps:
|
17
17
|
- checkout
|
18
18
|
- restore_cache:
|
@@ -44,7 +44,7 @@ jobs:
|
|
44
44
|
|
45
45
|
push_to_rubygems:
|
46
46
|
docker:
|
47
|
-
- image: circleci/ruby:2.
|
47
|
+
- image: circleci/ruby:2.7.1
|
48
48
|
steps:
|
49
49
|
- checkout
|
50
50
|
- run:
|
data/lib/rf/stylez/version.rb
CHANGED
data/rf-stylez.gemspec
CHANGED
@@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = ['rf-stylez']
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_runtime_dependency 'rubocop', '>= 0.
|
22
|
+
spec.add_runtime_dependency 'rubocop', '>= 0.81', '< 0.91'
|
23
23
|
spec.add_runtime_dependency 'rubocop-rails', '~> 2.5.0'
|
24
24
|
spec.add_runtime_dependency 'rubocop-rspec', '~> 1.39.0'
|
25
25
|
spec.add_runtime_dependency 'get_env', '~> 0.2.0'
|
26
26
|
spec.add_runtime_dependency 'semantic_versioning', '~> 0.2'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1
|
28
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
29
29
|
spec.add_development_dependency 'rake', '~> 13.0'
|
30
30
|
spec.add_development_dependency 'rspec', '>= 3.4'
|
31
31
|
spec.add_development_dependency 'byebug'
|
data/ruby/rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.7
|
3
3
|
DisabledByDefault: true
|
4
4
|
Include:
|
5
5
|
- '**/*.rb'
|
@@ -78,6 +78,8 @@ Layout/InitialIndentation:
|
|
78
78
|
Enabled: true
|
79
79
|
Layout/IndentationConsistency:
|
80
80
|
Enabled: true
|
81
|
+
Layout/IndentationStyle:
|
82
|
+
Enabled: true
|
81
83
|
Layout/FirstHashElementIndentation:
|
82
84
|
Enabled: true
|
83
85
|
Layout/LeadingCommentSpace:
|
@@ -98,8 +100,6 @@ Layout/SpaceBeforeComma:
|
|
98
100
|
Enabled: true
|
99
101
|
Layout/SpaceInsideParens:
|
100
102
|
Enabled: true
|
101
|
-
Layout/Tab:
|
102
|
-
Enabled: true
|
103
103
|
|
104
104
|
Naming/MethodName:
|
105
105
|
Enabled: true
|
@@ -112,6 +112,8 @@ Naming/ConstantName:
|
|
112
112
|
Naming/FileName:
|
113
113
|
Enabled: true
|
114
114
|
|
115
|
+
Style/EndBlock:
|
116
|
+
Enabled: true
|
115
117
|
Style/SpecialGlobalVars:
|
116
118
|
Enabled: true
|
117
119
|
Style/GlobalVars:
|
data/ruby/rubocop_lint.yml
CHANGED
@@ -16,6 +16,10 @@ Lint/AssignmentInCondition:
|
|
16
16
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
20
|
+
Description: 'This cop checks for places where binary operator has identical operands.'
|
21
|
+
Enabled: true
|
22
|
+
|
19
23
|
Lint/CircularArgumentReference:
|
20
24
|
Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
|
21
25
|
Enabled: true
|
@@ -52,10 +56,6 @@ Lint/EmptyInterpolation:
|
|
52
56
|
Description: 'Checks for empty string interpolation.'
|
53
57
|
Enabled: true
|
54
58
|
|
55
|
-
Lint/EndInMethod:
|
56
|
-
Description: 'END blocks should not be placed inside method definitions.'
|
57
|
-
Enabled: true
|
58
|
-
|
59
59
|
Lint/EnsureReturn:
|
60
60
|
Description: 'Do not use return in an ensure block.'
|
61
61
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
|
@@ -187,10 +187,6 @@ Lint/UselessAssignment:
|
|
187
187
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
|
188
188
|
Enabled: true
|
189
189
|
|
190
|
-
Lint/UselessComparison:
|
191
|
-
Description: 'Checks for comparison of something with itself.'
|
192
|
-
Enabled: true
|
193
|
-
|
194
190
|
Lint/UselessElseWithoutRescue:
|
195
191
|
Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
|
196
192
|
Enabled: true
|
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.
|
4
|
+
version: 0.8.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.81'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0.
|
22
|
+
version: '0.91'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.81'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0.
|
32
|
+
version: '0.91'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rubocop-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '1
|
95
|
+
version: '2.1'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '1
|
102
|
+
version: '2.1'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: rake
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,12 +204,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
|
-
- - "
|
207
|
+
- - ">"
|
208
208
|
- !ruby/object:Gem::Version
|
209
|
-
version:
|
209
|
+
version: 1.3.1
|
210
210
|
requirements: []
|
211
|
-
|
212
|
-
rubygems_version: 2.7.7
|
211
|
+
rubygems_version: 3.1.2
|
213
212
|
signing_key:
|
214
213
|
specification_version: 4
|
215
214
|
summary: Styles for Rainforest code
|