macmillan-utils 1.0.41 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +18 -6
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 184123073d6983e967bbbce0a6b3c6fb931ecc75
4
- data.tar.gz: d8c366efb96ee5dbc76d03fe7aeb61785cf5bbed
3
+ metadata.gz: 47a645523245155b095b0354763345b184ddbe1f
4
+ data.tar.gz: b8412d1213a8b819c0f6f1fcc8f4fa389c111756
5
5
  SHA512:
6
- metadata.gz: 2aa234ff620d8a062eaf900be3b9d7d16dfba5b5c235fc305a6da172788425395e82d0fb15e28389f13c881fb8ef3deab29935aa56142f902609cbc16ffe9740
7
- data.tar.gz: 7c291922805eaff74cc650b2591fbb64dc14d4f3395d85596c40a811cab66b80672caece13748fe08c098a26217273aa9f6a5db07fbccd669db114435a848cf1
6
+ metadata.gz: f7da8c342a2c11ed45adc7fd872083d84e11ac345bc5df7b30ca687c1a9220575ce53c163db00b5f8c7b5110aab866d1a2e3d5d54b222f791ff3b6015859b378
7
+ data.tar.gz: 62f4c9aa96fd7347c48ee79e6363b816d3e29efee993d2960155a7ceb0be501e52e0885af5d64cf587ea288f0f823e665e0b32d25316b13137b770f491482356
data/.rubocop.yml CHANGED
@@ -1,23 +1,30 @@
1
+ AllCops:
2
+ StyleGuideCopsOnly: true
3
+
1
4
  Metrics/LineLength:
2
5
  Description: 'Limit lines to 120 characters.'
3
6
  Max: 120
7
+ Enabled: true
4
8
 
5
9
  Metrics/BlockLength:
6
10
  ExcludedMethods:
7
11
  - describe
8
12
  - context
13
+ Enabled: true
9
14
 
10
15
  Metrics/MethodLength:
11
16
  CountComments: false
12
17
  Max: 20
18
+ Enabled: true
13
19
 
14
20
  Metrics/AbcSize:
15
21
  Max: 40
22
+ Enabled: true
16
23
 
17
24
  Style/Documentation:
18
25
  Enabled: false
19
26
 
20
- Style/SpaceBeforeFirstArg:
27
+ Layout/SpaceBeforeFirstArg:
21
28
  Enabled: false
22
29
 
23
30
  Style/BracesAroundHashParameters:
@@ -32,20 +39,23 @@ Style/GuardClause:
32
39
  Style/ConditionalAssignment:
33
40
  Enabled: false
34
41
 
35
- Style/IndentHash:
42
+ Layout/IndentHash:
36
43
  EnforcedStyle: consistent
44
+ Enabled: true
37
45
 
38
- Style/AlignHash:
46
+ Layout/AlignHash:
39
47
  Severity: fatal
40
48
  Enabled: true
41
49
  EnforcedHashRocketStyle: table
42
50
  EnforcedColonStyle: table
43
51
 
44
- Style/AlignParameters:
52
+ Layout/AlignParameters:
45
53
  EnforcedStyle: with_fixed_indentation
54
+ Enabled: true
46
55
 
47
56
  Style/StringLiterals:
48
57
  EnforcedStyle: single_quotes
58
+ Enabled: true
49
59
 
50
60
  Style/CollectionMethods:
51
61
  PreferredMethods:
@@ -55,14 +65,16 @@ Style/CollectionMethods:
55
65
  detect: 'find'
56
66
  find_all: 'select'
57
67
 
58
- Style/DotPosition:
68
+ Layout/DotPosition:
59
69
  EnforcedStyle: leading
70
+ Enabled: true
60
71
 
61
72
  Style/DoubleNegation:
62
73
  Enabled: false
63
74
 
64
- Style/SpaceAroundOperators:
75
+ Layout/SpaceAroundOperators:
65
76
  # When true, allows most uses of extra spacing if the intent is to align
66
77
  # with an operator on the previous or next line, not counting empty lines
67
78
  # or comment lines.
68
79
  AllowForAlignment: true
80
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macmillan-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.41
4
+ version: 1.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Springer Nature
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -315,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
315
  version: '0'
316
316
  requirements: []
317
317
  rubyforge_project:
318
- rubygems_version: 2.4.5
318
+ rubygems_version: 2.6.7
319
319
  signing_key:
320
320
  specification_version: 4
321
321
  summary: A collection of useful patterns we (Springer Nature) use in our Ruby applications.
@@ -334,3 +334,4 @@ test_files:
334
334
  - spec/lib/macmillan/utils/statsd_decorator_spec.rb
335
335
  - spec/lib/macmillan/utils/statsd_middleware_spec.rb
336
336
  - spec/spec_helper.rb
337
+ has_rdoc: