kpn-style 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54d6f451b05d6f4ad01d7c318f266fba2980f5fa87f9abc07f5879cd1ecd4d6a
4
- data.tar.gz: ac04909c048cacc71bf407dad4c800a2fde5c92352e2ba5250acb001b06df37f
3
+ metadata.gz: 46a08d00077c8428b2a287a243b6a550aab2275f4c9cd01edb0597ee6578fef7
4
+ data.tar.gz: 97a11d4beccc036a41559c4f9a93c0b5febf30806d61725d216e91a49c0d332a
5
5
  SHA512:
6
- metadata.gz: 1f79dc9080edcd5a7b8cb33c552dac7b740fcda068afde5368addc20b71774eb08ada4548351a14ecdc93e0447370c0048a71e27f32fbf1920d27a972aeadd92
7
- data.tar.gz: 5b1aaf5d4ec9bd3e5d47c95aff19f17ef2ec674c8113c49a55812272f09be71e11ca0ff705bf913cb5ddc06f5fc7708ef7c5505607d95b9a77203e1dc5817c9b
6
+ metadata.gz: ec7e944f34dde02b16c2bb919470bffe9a98459eaf4979808e7b7b8664204690fa035952ea2ce93b7bdc460bf589f741666a1e7002dd30985689e67c2b1ccf81
7
+ data.tar.gz: a6f66b89fa99065d61aa4ec9051ce33ffd2b78b160dfb6f004618674fd36018ed9192fb9fbc45ac02a26fa945460283c38adbcfe83ee0cdaee6e4b0cb95951f6
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'kpn-style'
6
- spec.version = '0.1.4'
6
+ spec.version = '0.1.5'
7
7
  spec.authors = ['kpn']
8
8
  spec.email = ['noreply@kpn.com']
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Kpn::Style
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
@@ -0,0 +1,107 @@
1
+ ---
2
+ require: rubocop-rspec
3
+ AllCops:
4
+ DisplayCopNames: true
5
+ TargetRubyVersion: '2.4'
6
+ Include:
7
+ - "**/*.rb"
8
+ Exclude:
9
+ - bin/*
10
+ - ".vendor/**/*"
11
+ - Gemfile
12
+ - Rakefile
13
+ - pkg/**/*
14
+ - spec/fixtures/**/*
15
+ - vendor/**/*
16
+ Metrics/LineLength:
17
+ Description: People have wide screens, use them.
18
+ Max: 240
19
+ RSpec/BeforeAfterAll:
20
+ Description: Beware of using after(:all) as it may cause state to leak between tests.
21
+ A necessary evil in acceptance testing.
22
+ Exclude:
23
+ - spec/acceptance/**/*.rb
24
+ RSpec/HookArgument:
25
+ Description: Prefer explicit :each argument, matching existing module's style
26
+ EnforcedStyle: each
27
+ Style/BlockDelimiters:
28
+ Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
29
+ be consistent then.
30
+ EnforcedStyle: braces_for_chaining
31
+ Style/ClassAndModuleChildren:
32
+ Description: Compact style reduces the required amount of indentation.
33
+ EnforcedStyle: compact
34
+ Style/EmptyElse:
35
+ Description: Enforce against empty else clauses, but allow `nil` for clarity.
36
+ EnforcedStyle: empty
37
+ Style/FormatString:
38
+ Description: Following the main puppet project's style, prefer the % format format.
39
+ EnforcedStyle: percent
40
+ Style/FormatStringToken:
41
+ Description: Following the main puppet project's style, prefer the simpler template
42
+ tokens over annotated ones.
43
+ EnforcedStyle: template
44
+ Style/Lambda:
45
+ Description: Prefer the keyword for easier discoverability.
46
+ EnforcedStyle: literal
47
+ Style/RegexpLiteral:
48
+ Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
49
+ EnforcedStyle: percent_r
50
+ Style/TernaryParentheses:
51
+ Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
52
+ on complex expressions for better readability, but seriously consider breaking
53
+ it up.
54
+ EnforcedStyle: require_parentheses_when_complex
55
+ Style/TrailingCommaInArguments:
56
+ Description: Prefer always trailing comma on multiline argument lists. This makes
57
+ diffs, and re-ordering nicer.
58
+ EnforcedStyleForMultiline: comma
59
+ Style/TrailingCommaInArrayLiteral:
60
+ EnforcedStyleForMultiline: comma
61
+ Style/TrailingCommaInHashLiteral:
62
+ EnforcedStyleForMultiline: comma
63
+ Style/SymbolArray:
64
+ Description: Using percent style obscures symbolic intent of array's contents.
65
+ EnforcedStyle: brackets
66
+ RSpec/MessageSpies:
67
+ EnforcedStyle: receive
68
+ Style/CollectionMethods:
69
+ Enabled: true
70
+ Style/MethodCalledOnDoEndBlock:
71
+ Enabled: true
72
+ Style/StringMethods:
73
+ Enabled: true
74
+ Layout/EndOfLine:
75
+ EnforcedStyle: lf
76
+ Metrics/AbcSize:
77
+ Enabled: false
78
+ Metrics/BlockLength:
79
+ Enabled: false
80
+ Metrics/ClassLength:
81
+ Enabled: false
82
+ Metrics/CyclomaticComplexity:
83
+ Enabled: false
84
+ Metrics/MethodLength:
85
+ Enabled: false
86
+ Metrics/ModuleLength:
87
+ Enabled: false
88
+ Metrics/ParameterLists:
89
+ Enabled: false
90
+ Metrics/PerceivedComplexity:
91
+ Enabled: false
92
+ RSpec/DescribeClass:
93
+ Enabled: false
94
+ RSpec/ExampleLength:
95
+ Enabled: false
96
+ RSpec/MessageExpectation:
97
+ Enabled: false
98
+ RSpec/MultipleExpectations:
99
+ Enabled: false
100
+ RSpec/NestedGroups:
101
+ Enabled: false
102
+ Style/AsciiComments:
103
+ Enabled: false
104
+ Style/IfUnlessModifier:
105
+ Enabled: false
106
+ Style/SymbolProc:
107
+ Enabled: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kpn-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -55,6 +55,7 @@ files:
55
55
  - lib/kpn/style.rb
56
56
  - lib/kpn/style/version.rb
57
57
  - ruby-2.1.yml
58
+ - ruby-2.4-strict.yml
58
59
  - ruby-2.4.yml
59
60
  homepage: https://github.com/kpn-puppet/gem-kpn-style
60
61
  licenses: