Dutchie-Style 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dutchie-Style.gemspec +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +14 -13
- data/default.yml +18 -4
- data/lib/Dutchie/Style/version.rb +1 -1
- 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: c9bf9825ba4ba0d6fa99e628e3ed84a735a8db714e820c5388758519d211fa1a
|
4
|
+
data.tar.gz: e7b222b019334fd7077589761fdf1aed7f93833fce5bd76a6c7aed50a8637eac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a17c05f6343d77102a8ae400129e6429d450ec04e428c9166e9f68dacc5fc731a6a3b61750b5d9568684feed166301eefd5ca600d5e5484b5c93eb35ab71a7f4
|
7
|
+
data.tar.gz: 0f3f2d8d3d221841420dfbeac66ce89fa935ec5bde86cb735bc7e04f7c0b851ba650f62e39786917d70b57da256431441d5aaa2c30b81b4279e145640dde72ff
|
data/Dutchie-Style.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
-
spec.add_dependency "rubocop", "~> 0.
|
29
|
+
spec.add_dependency "rubocop", "~> 0.93.1"
|
30
30
|
spec.add_dependency "rubocop-rspec"
|
31
31
|
spec.add_dependency "rubocop-rails"
|
32
32
|
end
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
Dutchie-Style (1.0.
|
5
|
-
rubocop (~> 0.
|
4
|
+
Dutchie-Style (1.0.4)
|
5
|
+
rubocop (~> 0.93.1)
|
6
6
|
rubocop-rails
|
7
7
|
rubocop-rspec
|
8
8
|
|
@@ -22,12 +22,12 @@ GEM
|
|
22
22
|
concurrent-ruby (~> 1.0)
|
23
23
|
minitest (5.14.2)
|
24
24
|
parallel (1.19.2)
|
25
|
-
parser (2.7.
|
25
|
+
parser (2.7.2.0)
|
26
26
|
ast (~> 2.4.1)
|
27
27
|
rack (2.2.3)
|
28
28
|
rainbow (3.0.0)
|
29
29
|
rake (12.3.3)
|
30
|
-
regexp_parser (1.
|
30
|
+
regexp_parser (1.8.2)
|
31
31
|
rexml (3.2.4)
|
32
32
|
rspec (3.9.0)
|
33
33
|
rspec-core (~> 3.9.0)
|
@@ -42,23 +42,24 @@ GEM
|
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
43
|
rspec-support (~> 3.9.0)
|
44
44
|
rspec-support (3.9.3)
|
45
|
-
rubocop (0.
|
45
|
+
rubocop (0.93.1)
|
46
46
|
parallel (~> 1.10)
|
47
|
-
parser (>= 2.7.
|
47
|
+
parser (>= 2.7.1.5)
|
48
48
|
rainbow (>= 2.2.2, < 4.0)
|
49
|
-
regexp_parser (>= 1.
|
49
|
+
regexp_parser (>= 1.8)
|
50
50
|
rexml
|
51
|
-
rubocop-ast (>= 0.
|
51
|
+
rubocop-ast (>= 0.6.0)
|
52
52
|
ruby-progressbar (~> 1.7)
|
53
53
|
unicode-display_width (>= 1.4.0, < 2.0)
|
54
|
-
rubocop-ast (0.
|
55
|
-
parser (>= 2.7.
|
54
|
+
rubocop-ast (0.7.1)
|
55
|
+
parser (>= 2.7.1.5)
|
56
56
|
rubocop-rails (2.6.0)
|
57
57
|
activesupport (>= 4.2.0)
|
58
58
|
rack (>= 1.1)
|
59
59
|
rubocop (>= 0.82.0)
|
60
|
-
rubocop-rspec (1.
|
61
|
-
rubocop (
|
60
|
+
rubocop-rspec (1.44.0)
|
61
|
+
rubocop (~> 0.87)
|
62
|
+
rubocop-ast (~> 0.7.1)
|
62
63
|
ruby-progressbar (1.10.1)
|
63
64
|
thread_safe (0.3.6)
|
64
65
|
tzinfo (1.2.7)
|
@@ -73,7 +74,7 @@ DEPENDENCIES
|
|
73
74
|
Dutchie-Style!
|
74
75
|
rake (~> 12.0)
|
75
76
|
rspec (~> 3.0)
|
76
|
-
rubocop (~> 0.
|
77
|
+
rubocop (~> 0.93.1)
|
77
78
|
rubocop-rails (~> 2.6.0)
|
78
79
|
|
79
80
|
BUNDLED WITH
|
data/default.yml
CHANGED
@@ -57,6 +57,10 @@ Layout/SpaceInsideBlockBraces:
|
|
57
57
|
Layout/SpaceInsideHashLiteralBraces:
|
58
58
|
EnforcedStyle: no_space
|
59
59
|
|
60
|
+
# Exclude RSpec
|
61
|
+
Metrics/BlockLength:
|
62
|
+
ExcludedMethods: ['describe', 'context']
|
63
|
+
|
60
64
|
# Too short methods lead to extraction of single-use methods, which can make
|
61
65
|
# the code easier to read (by naming things), but can also clutter the class
|
62
66
|
Metrics/MethodLength:
|
@@ -103,12 +107,15 @@ Style/StringLiterals:
|
|
103
107
|
Style/HashSyntax:
|
104
108
|
EnforcedStyle: ruby19_no_mixed_keys
|
105
109
|
|
110
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashEachMethods
|
106
111
|
Style/HashEachMethods:
|
107
|
-
Enabled:
|
112
|
+
Enabled: true
|
108
113
|
|
114
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashTransformKeys
|
109
115
|
Style/HashTransformKeys:
|
110
116
|
Enabled: false
|
111
117
|
|
118
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashTransformValues
|
112
119
|
Style/HashTransformValues:
|
113
120
|
Enabled: false
|
114
121
|
|
@@ -203,10 +210,10 @@ Style/MethodDefParentheses:
|
|
203
210
|
Lint/ShadowingOuterLocalVariable:
|
204
211
|
Enabled: false
|
205
212
|
|
206
|
-
#
|
207
|
-
#
|
213
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/Debugger
|
214
|
+
# Show linting errors on debugger/binding.pry even in development
|
208
215
|
Lint/Debugger:
|
209
|
-
Enabled:
|
216
|
+
Enabled: true
|
210
217
|
|
211
218
|
Lint/AssignmentInCondition:
|
212
219
|
AllowSafeAssignment: false
|
@@ -230,3 +237,10 @@ Rails/FindBy:
|
|
230
237
|
Enabled: true
|
231
238
|
Include:
|
232
239
|
- app/**/*.rb
|
240
|
+
|
241
|
+
# RSpec
|
242
|
+
RSpec/AlignLeftLetBrace:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
RSpec/AlignRightLetBrace:
|
246
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Dutchie-Style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Ostrowski
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -17,13 +17,13 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.93.1
|
21
21
|
type: :runtime
|
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.93.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
prerelease: false
|