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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59d99ce30933e1abd813858f24249c33f9dfc887df34232d29eba1a6a83c367b
4
- data.tar.gz: '0820c5d11db9ecfebd7400b7ab5d477c9783a33fe5c1503dd799fbbba4e8b386'
3
+ metadata.gz: 9282cc3e4181609a2cfa9ceae73b850aa9825f302f8a610665e4e3089a217191
4
+ data.tar.gz: 15569f96179b04759e1a385fc37886f785957632192e775c779d37315bf5cc0b
5
5
  SHA512:
6
- metadata.gz: 9a00bcedd689ca46e3f374473c3dedbd8ade41852575ed5f17d14abcb0fe09462c29ff4c3131c8393d20b5fd20f86ef3dfcc0e049dddf9a90affe236c9b1d1e7
7
- data.tar.gz: 92b5640b29d79b638333fe080dfde85eed71b5b2c8cd982ffb3453112a786f4e550669a2d4500cc399633b262436b73ff380d498d9651417195a1d2737313823
6
+ metadata.gz: 1e5b8d68e092917ac4beb468d215ef9b7b9a19dd57e8d50865949863f269d17b7ec96f0f0f7ec309c09915753394f41bcc0d6c2eae3935094a304cd98d901621
7
+ data.tar.gz: 5d8990d1fc7b34bf2f4736aab357c67a8d6d227dd701e5a23043164f813069594ed1e2cf1ab0b52f5f40f8ce0b590ec3e19dcec37a8d9d5795a9d76681038db1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Thanx # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Style
5
- VERSION = '0.0.6'
5
+ VERSION = '0.0.7'
6
6
  end
7
7
  end
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.6
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-05 00:00:00.000000000 Z
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. Allow provides helpers for
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: []