kpn-style 0.1.1 → 0.1.6

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
- SHA1:
3
- metadata.gz: 2068976516c42d4d0d5a96fff81db765f8be9870
4
- data.tar.gz: 88b5ee98c9a510ab6356373ee40f8df69b3d4eeb
2
+ SHA256:
3
+ metadata.gz: 5e4746a2cf1fa84304391b1e62983a08ce7ec7498cc119b2c19aa3c510c25d1e
4
+ data.tar.gz: dc1b13975fbdcf641e84a36476aee73c60540252f35680d72732e324e33aa34d
5
5
  SHA512:
6
- metadata.gz: b6a318c439b180bda59f57dfa3b7bed9267ee434dd9e9478a8f72cbf7d18b69bc25fe182e6b1fa75719cebe1af2e18542036e3c836e92dcf297151e2f9ec5cdc
7
- data.tar.gz: c90166505078e9ec5092c9bd91c4ecd6a7cc00f97f974c27753318c69613ef45cc3d3b8f6407db188d4ea6b9ca8e0f887ba7e4f5e7f712fda65e164fbfcd70c7
6
+ metadata.gz: 7166bcd7b85197ca2526ccf18785f5e74681b10f60fc2681f41d1ac90898fdd40eb416c6b154deec6392a79229d47d123843bfb4c98556e67bc640f827b840a1
7
+ data.tar.gz: '091f153d7ed59e59dcec29a39d79a764a696788f8a3a3a4b003dea9792c91db0305e3e72e4598c8be0b473423eb1ec98d10876801b64d473d3b6163e4216581e'
data/README.md CHANGED
@@ -31,7 +31,7 @@ Create a `.rubocop.yml` with the following directives:
31
31
  ```yaml
32
32
  inherit_gem:
33
33
  kpn-style:
34
- - default.yml
34
+ - ruby-2.1.yml
35
35
  ```
36
36
 
37
37
  Or for Ruby 2.4:
@@ -42,10 +42,65 @@ inherit_gem:
42
42
  - ruby-2.4.yml
43
43
  ```
44
44
 
45
+ Or for Ruby 2.5:
46
+
47
+ ```yaml
48
+ inherit_gem:
49
+ kpn-style:
50
+ - ruby-2.5.yml
51
+ ```
52
+
45
53
  Now, run:
46
54
 
47
55
  ```bash
48
56
  $ bundle exec rubocop
57
+
58
+ or
59
+
60
+ $ rake rubocop
49
61
  ```
50
62
 
51
63
  You do not need to include rubocop directly in your application's dependencies. kpn-style will include a specific version of `rubocop` and `rubocop-rspec` that is shared across all projects.
64
+
65
+ ## Style overrides
66
+
67
+ Sometimes you need to override style rules. RuboCop have a nice inheritance hierachy so you can override the default settings.
68
+ The hierachy is:
69
+
70
+ ```
71
+ inherit_gem -> inherit_from -> local rules
72
+ ```
73
+
74
+ For example:
75
+
76
+ ```yaml
77
+ inherit_gem:
78
+ kpn-style:
79
+ - ruby-2.1.yml
80
+
81
+ inherit_from: .rubocop_todo.yml
82
+
83
+ AllCops:
84
+ Exclude:
85
+ - exclude/file.rb
86
+ ```
87
+
88
+ ## Update gem
89
+
90
+ 1. Update the ruby-2.X.yml file
91
+ 2. Update the version parameter `spec.version` in the `kpn_style.gemspec`
92
+ 3. Tag the release: `git tag VERSION`
93
+ 4. Push changes: `git push --tags`
94
+ 5. Update the release notes on GitHub.com
95
+ 6. Build and publish:
96
+
97
+ ```bash
98
+ gem build kpn_style.gemspec
99
+ gem push kpn-style-x.x.x.gem
100
+ ```
101
+
102
+ To push gems to rubygems.org you can use a `~/.gem/credentials` with the `rubygems_api_key`. You can find a small how to on the Profile edit page https://rubygems.org/profile/edit in the section `API ACCESS`.
103
+
104
+ ### Special thanks
105
+
106
+ A special thanks to https://github.com/percy/percy-style/ for the idea and template of this Gem.
@@ -3,11 +3,11 @@ $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.1'
6
+ spec.version = '0.1.6'
7
7
  spec.authors = ['kpn']
8
8
  spec.email = ['noreply@kpn.com']
9
9
 
10
- spec.summary = 'KPN style guides and shared style configs.'
10
+ spec.summary = 'kpn style guides and shared style configs.'
11
11
  spec.homepage = 'https://github.com/kpn-puppet/gem-kpn-style'
12
12
  spec.license = 'Apache-2.0'
13
13
 
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_dependency 'rubocop', '~> 0.53'
31
- spec.add_dependency 'rubocop-rspec', '~> 1.24'
30
+ spec.add_dependency 'rubocop', '~> 0.89'
31
+ spec.add_dependency 'rubocop-rspec', '~> 1.43'
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Kpn::Style
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
@@ -72,7 +72,7 @@ Style/MethodCalledOnDoEndBlock:
72
72
  Style/StringMethods:
73
73
  Enabled: true
74
74
  Layout/EndOfLine:
75
- Enabled: false
75
+ EnforcedStyle: lf
76
76
  Metrics/AbcSize:
77
77
  Enabled: false
78
78
  Metrics/BlockLength:
@@ -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
@@ -4,7 +4,7 @@ AllCops:
4
4
  DisplayCopNames: true
5
5
  TargetRubyVersion: '2.4'
6
6
  Include:
7
- - "./**/*.rb"
7
+ - "**/*.rb"
8
8
  Exclude:
9
9
  - bin/*
10
10
  - ".vendor/**/*"
@@ -24,6 +24,8 @@ RSpec/BeforeAfterAll:
24
24
  RSpec/HookArgument:
25
25
  Description: Prefer explicit :each argument, matching existing module's style
26
26
  EnforcedStyle: each
27
+ RSpec/ImplicitSubject:
28
+ Enabled: false
27
29
  Style/BlockDelimiters:
28
30
  Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
29
31
  be consistent then.
@@ -72,7 +74,7 @@ Style/MethodCalledOnDoEndBlock:
72
74
  Style/StringMethods:
73
75
  Enabled: true
74
76
  Layout/EndOfLine:
75
- Enabled: false
77
+ EnforcedStyle: lf
76
78
  Metrics/AbcSize:
77
79
  Enabled: false
78
80
  Metrics/BlockLength:
@@ -0,0 +1,268 @@
1
+ ---
2
+ require: rubocop-rspec
3
+ AllCops:
4
+ DisplayCopNames: true
5
+ TargetRubyVersion: '2.5'
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/EmptyExampleGroup:
25
+ Description: Checks if an example group does not include any tests.
26
+ Enabled: false
27
+ RSpec/HookArgument:
28
+ Description: Prefer explicit :each argument, matching existing module's style
29
+ EnforcedStyle: each
30
+ RSpec/RepeatedDescription:
31
+ Description: Check for repeated description strings in example groups.
32
+ Enabled: false
33
+ Style/BlockDelimiters:
34
+ Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
35
+ be consistent then.
36
+ EnforcedStyle: braces_for_chaining
37
+ Style/ClassAndModuleChildren:
38
+ Description: Compact style reduces the required amount of indentation.
39
+ EnforcedStyle: compact
40
+ Style/EmptyElse:
41
+ Description: Enforce against empty else clauses, but allow `nil` for clarity.
42
+ EnforcedStyle: empty
43
+ Style/FormatString:
44
+ Description: Following the main puppet project's style, prefer the % format format.
45
+ EnforcedStyle: percent
46
+ Style/FormatStringToken:
47
+ Description: Following the main puppet project's style, prefer the simpler template
48
+ tokens over annotated ones.
49
+ EnforcedStyle: template
50
+ Style/Lambda:
51
+ Description: Prefer the keyword for easier discoverability.
52
+ EnforcedStyle: literal
53
+ Style/RegexpLiteral:
54
+ Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
55
+ EnforcedStyle: percent_r
56
+ Style/TernaryParentheses:
57
+ Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
58
+ on complex expressions for better readability, but seriously consider breaking
59
+ it up.
60
+ EnforcedStyle: require_parentheses_when_complex
61
+ Style/TrailingCommaInArguments:
62
+ Description: Prefer always trailing comma on multiline argument lists. This makes
63
+ diffs, and re-ordering nicer.
64
+ EnforcedStyleForMultiline: comma
65
+ Style/TrailingCommaInArrayLiteral:
66
+ EnforcedStyleForMultiline: comma
67
+ Style/TrailingCommaInHashLiteral:
68
+ EnforcedStyleForMultiline: comma
69
+ Style/SymbolArray:
70
+ Description: Using percent style obscures symbolic intent of array's contents.
71
+ EnforcedStyle: brackets
72
+ RSpec/MessageSpies:
73
+ Description: Checks that message expectations are set using spies.
74
+ EnforcedStyle: receive
75
+ Style/CollectionMethods:
76
+ Description: Preferred collection methods.
77
+ Enabled: true
78
+ Style/MethodCalledOnDoEndBlock:
79
+ Description: Avoid chaining a method call on a do...end block.
80
+ Enabled: true
81
+ Style/StringMethods:
82
+ Description: Checks if configured preferred methods are used over non-preferred.
83
+ Enabled: true
84
+ Layout/EndOfLine:
85
+ Description: Use Unix-style line endings.
86
+ EnforcedStyle: lf
87
+ Metrics/AbcSize:
88
+ Description: >-
89
+ A calculated magnitude based on number of assignments,
90
+ branches, and conditions.
91
+ Enabled: false
92
+ Metrics/BlockLength:
93
+ Description: Avoid long blocks with many lines.
94
+ Enabled: false
95
+ Metrics/ClassLength:
96
+ Description: Avoid classes longer than 100 lines of code.
97
+ Enabled: false
98
+ Metrics/CyclomaticComplexity:
99
+ Description: >-
100
+ A complexity metric that is strongly correlated to the number
101
+ of test cases needed to validate a method.
102
+ Enabled: false
103
+ Metrics/MethodLength:
104
+ Description: Avoid methods longer than 10 lines of code.
105
+ Enabled: false
106
+ Metrics/ModuleLength:
107
+ Description: Avoid modules longer than 100 lines of code.
108
+ Enabled: false
109
+ Metrics/ParameterLists:
110
+ Description: Avoid parameter lists longer than three or four parameters.
111
+ Enabled: false
112
+ Metrics/PerceivedComplexity:
113
+ Description: >-
114
+ A complexity metric geared towards measuring complexity for a
115
+ human reader.
116
+ Enabled: false
117
+ RSpec/DescribeClass:
118
+ Description: Check that the first argument to the top-level describe is a constant.
119
+ Enabled: false
120
+ RSpec/ExampleLength:
121
+ Description: Checks for long examples.
122
+ Enabled: false
123
+ RSpec/MessageExpectation:
124
+ Description: Checks for consistent message expectation style.
125
+ Enabled: false
126
+ RSpec/MultipleExpectations:
127
+ Description: Checks if examples contain too many `expect` calls.
128
+ Enabled: false
129
+ RSpec/NestedGroups:
130
+ Description: Checks for nested example groups.
131
+ Enabled: false
132
+ Style/AsciiComments:
133
+ Description: Use only ascii symbols in comments.
134
+ Enabled: false
135
+ Style/IfUnlessModifier:
136
+ Description: Don't force trailing if/unless for single-line conditionals
137
+ Enabled: false
138
+ Style/SymbolProc:
139
+ Description: Use symbols as procs instead of blocks when possible.
140
+ Enabled: false
141
+ Layout/EmptyLinesAroundAttributeAccessor:
142
+ Description: Keep blank lines around attribute accessors.
143
+ Enabled: true
144
+ yout/SpaceAroundMethodCallOperator:
145
+ Description: Checks method call operators to not have spaces around them.
146
+ Enabled: true
147
+ Lint/BinaryOperatorWithIdenticalOperands:
148
+ Description: This cop checks for places where binary operator has identical operands.
149
+ Enabled: true
150
+ Lint/DeprecatedOpenSSLConstant:
151
+ Description: Don't use algorithm constants for `OpenSSL::Cipher` and `OpenSSL::Digest`.
152
+ Enabled: true
153
+ Lint/DuplicateElsifCondition:
154
+ Description: Do not repeat conditions used in if `elsif`.
155
+ Enabled: true
156
+ Lint/DuplicateRescueException:
157
+ Description: Checks that there are no repeated exceptions used in `rescue` expressions.
158
+ Enabled: true
159
+ Lint/EmptyConditionalBody:
160
+ Description: This cop checks for the presence of `if`, `elsif` and `unless` branches without a body.
161
+ Enabled: true
162
+ Lint/FloatComparison:
163
+ Description: Checks for the presence of precise comparison of floating point numbers.
164
+ Enabled: true
165
+ Lint/MissingSuper:
166
+ Description: >-
167
+ This cop checks for the presence of constructors and lifecycle callbacks
168
+ without calls to `super`'.
169
+ Enabled: true
170
+ Lint/MixedRegexpCaptureTypes:
171
+ Description: Do not mix named captures and numbered captures in a Regexp literal.
172
+ Enabled: true
173
+ Lint/OutOfRangeRegexpRef:
174
+ Description: Checks for out of range reference for Regexp because it always returns nil.
175
+ Enabled: true
176
+ Lint/RaiseException:
177
+ Description: Checks for `raise` or `fail` statements which are raising `Exception` class.
178
+ Enabled: true
179
+ Lint/SelfAssignment:
180
+ Description: Checks for self-assignments.
181
+ Enabled: true
182
+ Lint/StructNewOverride:
183
+ Description: Disallow overriding the `Struct` built-in methods via `Struct.new`.
184
+ Enabled: true
185
+ Lint/TopLevelReturnWithArgument:
186
+ Description: This cop detects top level return statements with argument.
187
+ Enabled: true
188
+ Lint/UnreachableLoop:
189
+ Description: This cop checks for loops that will have at most one iteration.
190
+ Enabled: true
191
+ Style/AccessorGrouping:
192
+ Description: Checks for grouping of accessors in `class` and `module` bodies.
193
+ Enabled: true
194
+ Style/ArrayCoercion:
195
+ Description: >-
196
+ Use Array() instead of explicit Array check or [*var], when dealing
197
+ with a variable you want to treat as an Array, but you're not certain it's an array.
198
+ Enabled: true
199
+ Style/BisectedAttrAccessor:
200
+ Description: >-
201
+ Checks for places where `attr_reader` and `attr_writer`
202
+ for the same method can be combined into single `attr_accessor`.
203
+ Enabled: true
204
+ Style/CaseLikeIf:
205
+ Description: This cop identifies places where `if-elsif` constructions can be replaced with `case-when`.
206
+ Enabled: true
207
+ Style/ExplicitBlockArgument:
208
+ Description: >-
209
+ Consider using explicit block argument to avoid writing block literal
210
+ that just passes its arguments to another block.
211
+ Enabled: true
212
+ Style/ExponentialNotation:
213
+ Description: When using exponential notation, favor a mantissa between 1 (inclusive) and 10 (exclusive).
214
+ Enabled: true
215
+ Style/GlobalStdStream:
216
+ Description: Enforces the use of `$stdout/$stderr/$stdin` instead of `STDOUT/STDERR/STDIN`.
217
+ Enabled: true
218
+ Style/HashAsLastArrayItem:
219
+ Description: >-
220
+ Checks for presence or absence of braces around hash literal as a last
221
+ array item depending on configuration.
222
+ Enabled: true
223
+ Style/HashEachMethods:
224
+ Description: Use Hash#each_key and Hash#each_value.
225
+ Enabled: true
226
+ Style/HashLikeCase:
227
+ Description: >-
228
+ Checks for places where `case-when` represents a simple 1:1
229
+ mapping and can be replaced with a hash lookup.
230
+ Enabled: true
231
+ Style/HashTransformKeys:
232
+ Description: Prefer `transform_keys` over `each_with_object`, `map`, or `to_h`.
233
+ Enabled: true
234
+ Style/HashTransformValues:
235
+ Description: Prefer `transform_values` over `each_with_object`, `map`, or `to_h`.
236
+ Enabled: true
237
+ Style/OptionalBooleanParameter:
238
+ Description: Use keyword arguments when defining method with boolean argument.
239
+ Enabled: true
240
+ Style/RedundantAssignment:
241
+ Description: Checks for redundant assignment before returning.
242
+ Enabled: true
243
+ Style/RedundantFetchBlock:
244
+ Description: >-
245
+ Use `fetch(key, value)` instead of `fetch(key) { value }`
246
+ when value has Numeric, Rational, Complex, Symbol or String type, `false`, `true`, `nil` or is a constant.
247
+ Enabled: true
248
+ Style/RedundantFileExtensionInRequire:
249
+ Description: >-
250
+ Checks for the presence of superfluous `.rb` extension in
251
+ the filename provided to `require` and `require_relative`.
252
+ Enabled: true
253
+ Style/RedundantRegexpCharacterClass:
254
+ Description: Checks for unnecessary single-element Regexp character classes.
255
+ Enabled: true
256
+ Style/RedundantRegexpEscape:
257
+ Description: Checks for redundant escapes in Regexps.
258
+ Enabled: false
259
+ Style/SingleArgumentDig:
260
+ Description: Avoid using single argument dig method.
261
+ Enabled: true
262
+ Style/SlicingWithRange:
263
+ Description: Checks array slicing is done with endless ranges when suitable.
264
+ Enabled: true
265
+ Style/StringConcatenation:
266
+ Description: Checks for places where string concatenation can be replaced with string interpolation.
267
+ Enabled: true
268
+
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.1
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.53'
19
+ version: '0.89'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.53'
26
+ version: '0.89'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.24'
33
+ version: '1.43'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.24'
40
+ version: '1.43'
41
41
  description:
42
42
  email:
43
43
  - noreply@kpn.com
@@ -50,13 +50,14 @@ files:
50
50
  - Gemfile
51
51
  - LICENSE
52
52
  - README.md
53
- - RELEASING.md
54
53
  - Rakefile
55
- - default.yml
56
54
  - kpn_style.gemspec
57
55
  - lib/kpn/style.rb
58
56
  - lib/kpn/style/version.rb
57
+ - ruby-2.1.yml
58
+ - ruby-2.4-strict.yml
59
59
  - ruby-2.4.yml
60
+ - ruby-2.5.yml
60
61
  homepage: https://github.com/kpn-puppet/gem-kpn-style
61
62
  licenses:
62
63
  - Apache-2.0
@@ -77,9 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
78
  - !ruby/object:Gem::Version
78
79
  version: '0'
79
80
  requirements: []
80
- rubyforge_project:
81
- rubygems_version: 2.5.2
81
+ rubygems_version: 3.0.8
82
82
  signing_key:
83
83
  specification_version: 4
84
- summary: KPN style guides and shared style configs.
84
+ summary: kpn style guides and shared style configs.
85
85
  test_files: []
@@ -1,16 +0,0 @@
1
- # Releasing
2
-
3
- 1. Update version.rb file accordingly.
4
- 1. Tag the release: `git tag VERSION`
5
- 1. Push changes: `git push --tags`
6
- 1. Update the release notes on GitHub.com
7
- 1. Build and publish:
8
-
9
- ```bash
10
- bundle exec rake build
11
- gem push pkg/kpn-style-X.XX.XX.gem
12
- ```
13
-
14
- * Announce the new release,
15
- making sure to say "thank you" to the contributors
16
- who helped shape this version!