thanx-style 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thanx/style/version.rb +1 -1
- data/rubocop-rspec.yml +4 -4
- data/rubocop-ruby.yml +16 -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: 9282cc3e4181609a2cfa9ceae73b850aa9825f302f8a610665e4e3089a217191
|
4
|
+
data.tar.gz: 15569f96179b04759e1a385fc37886f785957632192e775c779d37315bf5cc0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5b8d68e092917ac4beb468d215ef9b7b9a19dd57e8d50865949863f269d17b7ec96f0f0f7ec309c09915753394f41bcc0d6c2eae3935094a304cd98d901621
|
7
|
+
data.tar.gz: 5d8990d1fc7b34bf2f4736aab357c67a8d6d227dd701e5a23043164f813069594ed1e2cf1ab0b52f5f40f8ce0b590ec3e19dcec37a8d9d5795a9d76681038db1
|
data/lib/thanx/style/version.rb
CHANGED
data/rubocop-rspec.yml
CHANGED
@@ -34,6 +34,10 @@ RSpec/ImplicitExpect:
|
|
34
34
|
- should
|
35
35
|
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect
|
36
36
|
|
37
|
+
RSpec/LetSetup:
|
38
|
+
Description: Checks unreferenced let! calls being used for test setup.
|
39
|
+
Enabled: false
|
40
|
+
|
37
41
|
RSpec/MessageSpies:
|
38
42
|
Description: Checks that message expectations are set using spies.
|
39
43
|
Enabled: true
|
@@ -48,7 +52,3 @@ RSpec/NestedGroups:
|
|
48
52
|
Enabled: true
|
49
53
|
Max: 6
|
50
54
|
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NestedGroups
|
51
|
-
|
52
|
-
RSpec/LetSetup:
|
53
|
-
Description: Checks unreferenced let! calls being used for test setup.
|
54
|
-
Enabled: false
|
data/rubocop-ruby.yml
CHANGED
@@ -306,6 +306,20 @@ Style/MultilineMemoization:
|
|
306
306
|
- keyword
|
307
307
|
- braces
|
308
308
|
|
309
|
+
# Use `/` or `%r` around regular expressions.
|
310
|
+
Style/RegexpLiteral:
|
311
|
+
EnforcedStyle: slashes
|
312
|
+
# slashes: Always use slashes.
|
313
|
+
# percent_r: Always use `%r`.
|
314
|
+
# mixed: Use slashes on single-line regexes, and `%r` on multi-line regexes.
|
315
|
+
SupportedStyles:
|
316
|
+
- slashes
|
317
|
+
- percent_r
|
318
|
+
- mixed
|
319
|
+
# If `false`, the cop will always recommend using `%r` if one or more slashes
|
320
|
+
# are found in the regexp string.
|
321
|
+
AllowInnerSlashes: true
|
322
|
+
|
309
323
|
Style/StringLiterals:
|
310
324
|
EnforcedStyle: single_quotes
|
311
325
|
SupportedStyles:
|
@@ -383,7 +397,8 @@ Metrics/LineLength:
|
|
383
397
|
IgnoredPatterns: []
|
384
398
|
Exclude:
|
385
399
|
- 'db/migrate/*'
|
386
|
-
- 'config/**/*'
|
400
|
+
- '**/config/**/*'
|
401
|
+
- 'spec/factories.rb'
|
387
402
|
|
388
403
|
Metrics/MethodLength:
|
389
404
|
CountComments: false # count full line comments?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thanx-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eng @ Thanx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -53,8 +53,8 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.16'
|
55
55
|
description: |
|
56
|
-
Provides Ruby, Rails, and RSpec rubocop rules.
|
57
|
-
properly formatting CI output
|
56
|
+
Provides Ruby, Rails, and RSpec rubocop rules. Also provides helpers for
|
57
|
+
properly formatting CI output.
|
58
58
|
email:
|
59
59
|
- eng@thanx.com
|
60
60
|
executables: []
|