ra10ke 2.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +14 -8
- data/.github/workflows/release.yml +4 -4
- data/.github/workflows/test.yml +31 -5
- data/.rubocop.yml +5 -0
- data/.rubocop_todo.yml +269 -0
- data/CHANGELOG.md +41 -0
- data/Gemfile +5 -4
- data/Rakefile +12 -6
- data/lib/ra10ke/dependencies.rb +54 -49
- data/lib/ra10ke/duplicates.rb +1 -1
- data/lib/ra10ke/git_repo.rb +15 -16
- data/lib/ra10ke/install.rb +10 -10
- data/lib/ra10ke/monkey_patches.rb +1 -1
- data/lib/ra10ke/puppetfile_parser.rb +74 -74
- data/lib/ra10ke/solve.rb +25 -28
- data/lib/ra10ke/syntax.rb +6 -8
- data/lib/ra10ke/validate.rb +1 -2
- data/lib/ra10ke/version.rb +1 -1
- data/lib/ra10ke.rb +2 -1
- data/ra10ke.gemspec +19 -19
- data/spec/fixtures/Puppetfile_deprecation_issue +5 -5
- data/spec/ra10ke/dependencies_spec.rb +14 -15
- data/spec/ra10ke/deprecation_spec.rb +7 -4
- data/spec/ra10ke/git_repo_spec.rb +8 -8
- data/spec/ra10ke/puppetfile_parser_spec.rb +89 -100
- data/spec/ra10ke/validate_spec.rb +8 -6
- data/spec/ra10ke_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +80 -29
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e3e814da82c6aa4acbd3b7f4f0adddc230a8dbbed906b0f35287356249a102f
|
4
|
+
data.tar.gz: 3f771cc808fd040e6ff7e2dce5a53d0c6efe5353c3389169898586fb050846aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 264f9fe9cf6e5ee0720d2b9058f1f0589bae6bbc7258eb6a25918d57379e6db06cda9653b4331f2d9a6627d3b900e6500476485f9f3dc41df850349adc4ba499
|
7
|
+
data.tar.gz: ba106d764f979704fdbd79e07906438791d9f4b33021731a3006e49fa252ecae98a73dd0010e5152faf4b6f002d184f4a7f90a11ad95d1ce8b68222fee9673c4
|
data/.github/dependabot.yml
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
3
|
-
# Please see the documentation for all configuration options:
|
4
|
-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
5
|
-
|
6
1
|
version: 2
|
7
2
|
updates:
|
8
|
-
|
9
|
-
|
3
|
+
# raise PRs for gem updates
|
4
|
+
- package-ecosystem: bundler
|
5
|
+
directory: "/"
|
6
|
+
schedule:
|
7
|
+
interval: daily
|
8
|
+
time: "13:00"
|
9
|
+
open-pull-requests-limit: 10
|
10
|
+
|
11
|
+
# Maintain dependencies for GitHub Actions
|
12
|
+
- package-ecosystem: github-actions
|
13
|
+
directory: "/"
|
10
14
|
schedule:
|
11
|
-
interval:
|
15
|
+
interval: daily
|
16
|
+
time: "13:00"
|
17
|
+
open-pull-requests-limit: 10
|
@@ -10,15 +10,15 @@ jobs:
|
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
if: github.repository_owner == 'voxpupuli'
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
14
|
-
- name: Install Ruby 3.
|
13
|
+
- uses: actions/checkout@v4
|
14
|
+
- name: Install Ruby 3.3
|
15
15
|
uses: ruby/setup-ruby@v1
|
16
16
|
with:
|
17
|
-
ruby-version: '3.
|
17
|
+
ruby-version: '3.3'
|
18
18
|
env:
|
19
19
|
BUNDLE_WITHOUT: release
|
20
20
|
- name: Build gem
|
21
|
-
run: gem build *.gemspec
|
21
|
+
run: gem build --strict --verbose *.gemspec
|
22
22
|
- name: Publish gem to rubygems.org
|
23
23
|
run: gem push *.gem
|
24
24
|
env:
|
data/.github/workflows/test.yml
CHANGED
@@ -1,12 +1,26 @@
|
|
1
1
|
name: Test
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
4
|
+
pull_request: {}
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
5
8
|
|
6
9
|
env:
|
7
10
|
BUNDLE_WITHOUT: release
|
8
11
|
|
9
12
|
jobs:
|
13
|
+
rubocop:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v4
|
17
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: "3.2"
|
21
|
+
bundler-cache: true
|
22
|
+
- name: Run Rubocop
|
23
|
+
run: bundle exec rake rubocop
|
10
24
|
test:
|
11
25
|
runs-on: ubuntu-latest
|
12
26
|
strategy:
|
@@ -17,16 +31,28 @@ jobs:
|
|
17
31
|
- ruby: "3.0"
|
18
32
|
- ruby: "3.1"
|
19
33
|
coverage: "yes"
|
34
|
+
- ruby: "3.2"
|
35
|
+
- ruby: "3.3"
|
20
36
|
env:
|
21
37
|
COVERAGE: ${{ matrix.coverage }}
|
38
|
+
name: Ruby ${{ matrix.ruby }}
|
22
39
|
steps:
|
23
|
-
- uses: actions/checkout@
|
40
|
+
- uses: actions/checkout@v4
|
24
41
|
- name: Install Ruby ${{ matrix.ruby }}
|
25
42
|
uses: ruby/setup-ruby@v1
|
26
43
|
with:
|
27
44
|
ruby-version: ${{ matrix.ruby }}
|
28
45
|
bundler-cache: true
|
29
46
|
- name: Run tests
|
30
|
-
run: bundle exec rake
|
31
|
-
- name:
|
32
|
-
run: gem build *.gemspec
|
47
|
+
run: bundle exec rake spec
|
48
|
+
- name: Verify gem builds
|
49
|
+
run: gem build --strict --verbose *.gemspec
|
50
|
+
|
51
|
+
tests:
|
52
|
+
needs:
|
53
|
+
- rubocop
|
54
|
+
- test
|
55
|
+
runs-on: ubuntu-latest
|
56
|
+
name: Test suite
|
57
|
+
steps:
|
58
|
+
- run: echo Test suite completed
|
data/.rubocop.yml
ADDED
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,269 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2024-03-13 18:23:33 UTC using RuboCop version 1.62.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
# Configuration parameters: AllowedParentClasses.
|
11
|
+
Lint/MissingSuper:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/ra10ke.rb'
|
14
|
+
|
15
|
+
# Offense count: 1
|
16
|
+
Lint/NoReturnInBeginEndBlocks:
|
17
|
+
Exclude:
|
18
|
+
- 'lib/ra10ke/puppetfile_parser.rb'
|
19
|
+
|
20
|
+
# Offense count: 1
|
21
|
+
# Configuration parameters: AllowComments, AllowNil.
|
22
|
+
Lint/SuppressedException:
|
23
|
+
Exclude:
|
24
|
+
- 'Rakefile'
|
25
|
+
|
26
|
+
# Offense count: 5
|
27
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
28
|
+
# Configuration parameters: AutoCorrect.
|
29
|
+
Lint/UselessAssignment:
|
30
|
+
Exclude:
|
31
|
+
- 'lib/ra10ke/dependencies.rb'
|
32
|
+
- 'lib/ra10ke/solve.rb'
|
33
|
+
|
34
|
+
# Offense count: 1
|
35
|
+
Naming/AccessorMethodName:
|
36
|
+
Exclude:
|
37
|
+
- 'lib/ra10ke.rb'
|
38
|
+
|
39
|
+
# Offense count: 1
|
40
|
+
# Configuration parameters: ForbiddenDelimiters.
|
41
|
+
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
42
|
+
Naming/HeredocDelimiterNaming:
|
43
|
+
Exclude:
|
44
|
+
- 'lib/ra10ke/dependencies.rb'
|
45
|
+
|
46
|
+
# Offense count: 1
|
47
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
48
|
+
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
|
49
|
+
Naming/MethodParameterName:
|
50
|
+
Exclude:
|
51
|
+
- 'lib/ra10ke/solve.rb'
|
52
|
+
|
53
|
+
# Offense count: 2
|
54
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
55
|
+
Performance/Count:
|
56
|
+
Exclude:
|
57
|
+
- 'lib/ra10ke/validate.rb'
|
58
|
+
- 'spec/ra10ke/validate_spec.rb'
|
59
|
+
|
60
|
+
# Offense count: 2
|
61
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
62
|
+
Performance/MapCompact:
|
63
|
+
Exclude:
|
64
|
+
- 'lib/ra10ke/dependencies.rb'
|
65
|
+
- 'lib/ra10ke/puppetfile_parser.rb'
|
66
|
+
|
67
|
+
# Offense count: 4
|
68
|
+
RSpec/AnyInstance:
|
69
|
+
Exclude:
|
70
|
+
- 'spec/ra10ke/validate_spec.rb'
|
71
|
+
- 'spec/ra10ke_spec.rb'
|
72
|
+
|
73
|
+
# Offense count: 3
|
74
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
75
|
+
RSpec/BeEq:
|
76
|
+
Exclude:
|
77
|
+
- 'spec/ra10ke/deprecation_spec.rb'
|
78
|
+
|
79
|
+
# Offense count: 6
|
80
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
81
|
+
# Prefixes: when, with, without
|
82
|
+
RSpec/ContextWording:
|
83
|
+
Exclude:
|
84
|
+
- 'spec/ra10ke/dependencies_spec.rb'
|
85
|
+
|
86
|
+
# Offense count: 5
|
87
|
+
# Configuration parameters: CountAsOne.
|
88
|
+
RSpec/ExampleLength:
|
89
|
+
Max: 31
|
90
|
+
|
91
|
+
# Offense count: 10
|
92
|
+
RSpec/ExpectInHook:
|
93
|
+
Exclude:
|
94
|
+
- 'spec/ra10ke/validate_spec.rb'
|
95
|
+
|
96
|
+
# Offense count: 15
|
97
|
+
# Configuration parameters: .
|
98
|
+
# SupportedStyles: have_received, receive
|
99
|
+
RSpec/MessageSpies:
|
100
|
+
EnforcedStyle: receive
|
101
|
+
|
102
|
+
# Offense count: 7
|
103
|
+
RSpec/MultipleExpectations:
|
104
|
+
Max: 3
|
105
|
+
|
106
|
+
# Offense count: 1
|
107
|
+
# Configuration parameters: AllowedPatterns.
|
108
|
+
# AllowedPatterns: ^expect_, ^assert_
|
109
|
+
RSpec/NoExpectationExample:
|
110
|
+
Exclude:
|
111
|
+
- 'spec/ra10ke/dependencies_spec.rb'
|
112
|
+
|
113
|
+
# Offense count: 12
|
114
|
+
RSpec/StubbedMock:
|
115
|
+
Exclude:
|
116
|
+
- 'spec/ra10ke/deprecation_spec.rb'
|
117
|
+
- 'spec/ra10ke/validate_spec.rb'
|
118
|
+
|
119
|
+
# Offense count: 7
|
120
|
+
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
121
|
+
RSpec/VerifiedDoubles:
|
122
|
+
Exclude:
|
123
|
+
- 'spec/ra10ke/deprecation_spec.rb'
|
124
|
+
- 'spec/ra10ke/validate_spec.rb'
|
125
|
+
|
126
|
+
# Offense count: 1
|
127
|
+
RSpec/VoidExpect:
|
128
|
+
Exclude:
|
129
|
+
- 'spec/ra10ke/git_repo_spec.rb'
|
130
|
+
|
131
|
+
# Offense count: 6
|
132
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
133
|
+
# Configuration parameters: EnforcedStyle.
|
134
|
+
# SupportedStyles: nested, compact
|
135
|
+
Style/ClassAndModuleChildren:
|
136
|
+
Exclude:
|
137
|
+
- 'lib/ra10ke/dependencies.rb'
|
138
|
+
- 'lib/ra10ke/deprecation.rb'
|
139
|
+
- 'lib/ra10ke/duplicates.rb'
|
140
|
+
- 'lib/ra10ke/install.rb'
|
141
|
+
- 'lib/ra10ke/solve.rb'
|
142
|
+
- 'lib/ra10ke/syntax.rb'
|
143
|
+
|
144
|
+
# Offense count: 1
|
145
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
146
|
+
# Configuration parameters: AllowedReceivers.
|
147
|
+
Style/CollectionCompact:
|
148
|
+
Exclude:
|
149
|
+
- 'lib/ra10ke/dependencies.rb'
|
150
|
+
|
151
|
+
# Offense count: 15
|
152
|
+
# Configuration parameters: AllowedConstants.
|
153
|
+
Style/Documentation:
|
154
|
+
Exclude:
|
155
|
+
- 'spec/**/*'
|
156
|
+
- 'test/**/*'
|
157
|
+
- 'lib/ra10ke.rb'
|
158
|
+
- 'lib/ra10ke/dependencies.rb'
|
159
|
+
- 'lib/ra10ke/deprecation.rb'
|
160
|
+
- 'lib/ra10ke/duplicates.rb'
|
161
|
+
- 'lib/ra10ke/git_repo.rb'
|
162
|
+
- 'lib/ra10ke/install.rb'
|
163
|
+
- 'lib/ra10ke/monkey_patches.rb'
|
164
|
+
- 'lib/ra10ke/puppetfile_parser.rb'
|
165
|
+
- 'lib/ra10ke/solve.rb'
|
166
|
+
- 'lib/ra10ke/syntax.rb'
|
167
|
+
- 'lib/ra10ke/validate.rb'
|
168
|
+
|
169
|
+
# Offense count: 5
|
170
|
+
# This cop supports safe autocorrection (--autocorrect).
|
171
|
+
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
|
172
|
+
# SupportedStyles: annotated, template, unannotated
|
173
|
+
Style/FormatStringToken:
|
174
|
+
EnforcedStyle: unannotated
|
175
|
+
|
176
|
+
# Offense count: 11
|
177
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
178
|
+
# Configuration parameters: EnforcedStyle.
|
179
|
+
# SupportedStyles: always, always_true, never
|
180
|
+
Style/FrozenStringLiteralComment:
|
181
|
+
Exclude:
|
182
|
+
- 'Gemfile'
|
183
|
+
- 'Rakefile'
|
184
|
+
- 'lib/ra10ke.rb'
|
185
|
+
- 'lib/ra10ke/dependencies.rb'
|
186
|
+
- 'lib/ra10ke/install.rb'
|
187
|
+
- 'lib/ra10ke/puppetfile_parser.rb'
|
188
|
+
- 'lib/ra10ke/solve.rb'
|
189
|
+
- 'lib/ra10ke/syntax.rb'
|
190
|
+
- 'lib/ra10ke/version.rb'
|
191
|
+
- 'ra10ke.gemspec'
|
192
|
+
- 'spec/ra10ke/puppetfile_parser_spec.rb'
|
193
|
+
|
194
|
+
# Offense count: 1
|
195
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
196
|
+
# Configuration parameters: InverseMethods, InverseBlocks.
|
197
|
+
Style/InverseMethods:
|
198
|
+
Exclude:
|
199
|
+
- 'lib/ra10ke/dependencies.rb'
|
200
|
+
|
201
|
+
# Offense count: 1
|
202
|
+
Style/MultilineBlockChain:
|
203
|
+
Exclude:
|
204
|
+
- 'lib/ra10ke/dependencies.rb'
|
205
|
+
|
206
|
+
# Offense count: 1
|
207
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
208
|
+
# Configuration parameters: EnforcedStyle.
|
209
|
+
# SupportedStyles: literals, strict
|
210
|
+
Style/MutableConstant:
|
211
|
+
Exclude:
|
212
|
+
- 'lib/ra10ke/version.rb'
|
213
|
+
|
214
|
+
# Offense count: 1
|
215
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
216
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
217
|
+
# SupportedStyles: predicate, comparison
|
218
|
+
Style/NumericPredicate:
|
219
|
+
Exclude:
|
220
|
+
- 'spec/**/*'
|
221
|
+
- 'lib/ra10ke/validate.rb'
|
222
|
+
|
223
|
+
# Offense count: 1
|
224
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
225
|
+
Style/RedundantInterpolation:
|
226
|
+
Exclude:
|
227
|
+
- 'lib/ra10ke/duplicates.rb'
|
228
|
+
|
229
|
+
# Offense count: 1
|
230
|
+
# This cop supports safe autocorrection (--autocorrect).
|
231
|
+
Style/RedundantLineContinuation:
|
232
|
+
Exclude:
|
233
|
+
- 'lib/ra10ke/validate.rb'
|
234
|
+
|
235
|
+
# Offense count: 1
|
236
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
237
|
+
Style/RedundantSort:
|
238
|
+
Exclude:
|
239
|
+
- 'lib/ra10ke/dependencies.rb'
|
240
|
+
|
241
|
+
# Offense count: 1
|
242
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
243
|
+
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
244
|
+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
245
|
+
Style/SpecialGlobalVars:
|
246
|
+
Exclude:
|
247
|
+
- 'ra10ke.gemspec'
|
248
|
+
|
249
|
+
# Offense count: 1
|
250
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
251
|
+
# Configuration parameters: Mode.
|
252
|
+
Style/StringConcatenation:
|
253
|
+
Exclude:
|
254
|
+
- 'lib/ra10ke/solve.rb'
|
255
|
+
|
256
|
+
# Offense count: 2
|
257
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
258
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
259
|
+
# AllowedMethods: define_method
|
260
|
+
Style/SymbolProc:
|
261
|
+
Exclude:
|
262
|
+
- 'lib/ra10ke/dependencies.rb'
|
263
|
+
|
264
|
+
# Offense count: 6
|
265
|
+
# This cop supports safe autocorrection (--autocorrect).
|
266
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
267
|
+
# URISchemes: http, https
|
268
|
+
Layout/LineLength:
|
269
|
+
Max: 137
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,47 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [v3.1.0](https://github.com/voxpupuli/ra10ke/tree/v3.1.0) (2024-06-28)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v3.0.0...v3.1.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- Update git requirement from ~\> 1.18 to \>= 1.18, \< 3.0 [\#103](https://github.com/voxpupuli/ra10ke/pull/103) ([dependabot[bot]](https://github.com/apps/dependabot))
|
12
|
+
- Add Ruby 3.3 to CI [\#100](https://github.com/voxpupuli/ra10ke/pull/100) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.6.0 to ~\> 2.8.0 [\#104](https://github.com/voxpupuli/ra10ke/pull/104) ([dependabot[bot]](https://github.com/apps/dependabot))
|
17
|
+
- Gemfile: add faraday as GCG dependency [\#101](https://github.com/voxpupuli/ra10ke/pull/101) ([bastelfreak](https://github.com/bastelfreak))
|
18
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.4.0 to ~\> 2.6.0 [\#99](https://github.com/voxpupuli/ra10ke/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
|
19
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.3.0 to ~\> 2.4.0 [\#97](https://github.com/voxpupuli/ra10ke/pull/97) ([dependabot[bot]](https://github.com/apps/dependabot))
|
20
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.2.0 to ~\> 2.3.0 [\#96](https://github.com/voxpupuli/ra10ke/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
|
21
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.0.0 to ~\> 2.2.0 [\#95](https://github.com/voxpupuli/ra10ke/pull/95) ([dependabot[bot]](https://github.com/apps/dependabot))
|
22
|
+
|
23
|
+
## [v3.0.0](https://github.com/voxpupuli/ra10ke/tree/v3.0.0) (2023-08-23)
|
24
|
+
|
25
|
+
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v2.0.0...v3.0.0)
|
26
|
+
|
27
|
+
**Breaking changes:**
|
28
|
+
|
29
|
+
- Add exit codes to dependency check [\#86](https://github.com/voxpupuli/ra10ke/pull/86) ([sebastianrakel](https://github.com/sebastianrakel))
|
30
|
+
- Drop Ruby 2.6 support & Implement voxpupuli-rubocop [\#85](https://github.com/voxpupuli/ra10ke/pull/85) ([bastelfreak](https://github.com/bastelfreak))
|
31
|
+
|
32
|
+
**Implemented enhancements:**
|
33
|
+
|
34
|
+
- Add Ruby 3.2 support / apply Vox Pupuli CI best practices [\#89](https://github.com/voxpupuli/ra10ke/pull/89) ([bastelfreak](https://github.com/bastelfreak))
|
35
|
+
|
36
|
+
**Fixed bugs:**
|
37
|
+
|
38
|
+
- module with https + token is failing [\#84](https://github.com/voxpupuli/ra10ke/issues/84)
|
39
|
+
|
40
|
+
**Merged pull requests:**
|
41
|
+
|
42
|
+
- dependencies: Add strict version boundaries [\#91](https://github.com/voxpupuli/ra10ke/pull/91) ([bastelfreak](https://github.com/bastelfreak))
|
43
|
+
- dependabot: check for github actions and gems [\#88](https://github.com/voxpupuli/ra10ke/pull/88) ([bastelfreak](https://github.com/bastelfreak))
|
44
|
+
- Fix fixture for deprecation test [\#87](https://github.com/voxpupuli/ra10ke/pull/87) ([sebastianrakel](https://github.com/sebastianrakel))
|
45
|
+
|
5
46
|
## [v2.0.0](https://github.com/voxpupuli/ra10ke/tree/v2.0.0) (2022-05-18)
|
6
47
|
|
7
48
|
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v1.2.0...v2.0.0)
|
data/Gemfile
CHANGED
@@ -4,10 +4,11 @@ source 'https://rubygems.org'
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
group :release do
|
7
|
-
gem '
|
7
|
+
gem 'faraday-retry', '~> 2.1', require: false
|
8
|
+
gem 'github_changelog_generator', '~> 1.16.4', require: false
|
8
9
|
end
|
9
10
|
|
10
|
-
group :coverage, optional: ENV['COVERAGE']!='yes' do
|
11
|
-
gem '
|
12
|
-
gem '
|
11
|
+
group :coverage, optional: ENV['COVERAGE'] != 'yes' do
|
12
|
+
gem 'codecov', require: false
|
13
|
+
gem 'simplecov-console', require: false
|
13
14
|
end
|
data/Rakefile
CHANGED
@@ -6,24 +6,30 @@ require 'fileutils'
|
|
6
6
|
require 'rspec/core'
|
7
7
|
require 'rspec/core/rake_task'
|
8
8
|
|
9
|
-
CLEAN.include(
|
10
|
-
CLOBBER.include(
|
9
|
+
CLEAN.include('pkg/', 'tmp/')
|
10
|
+
CLOBBER.include('Gemfile.lock')
|
11
11
|
|
12
|
-
task :
|
12
|
+
task default: [:spec]
|
13
13
|
|
14
14
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
15
|
-
|
15
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
16
16
|
end
|
17
17
|
|
18
18
|
begin
|
19
19
|
require 'github_changelog_generator/task'
|
20
20
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
21
21
|
version = Ra10ke::VERSION
|
22
|
-
config.future_release = "v#{version}" if
|
22
|
+
config.future_release = "v#{version}" if /^\d+\.\d+.\d+$/.match?(version)
|
23
23
|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
24
|
-
config.exclude_labels = %w
|
24
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
|
25
25
|
config.user = 'voxpupuli'
|
26
26
|
config.project = 'ra10ke'
|
27
27
|
end
|
28
28
|
rescue LoadError
|
29
29
|
end
|
30
|
+
|
31
|
+
begin
|
32
|
+
require 'voxpupuli/rubocop/rake'
|
33
|
+
rescue LoadError
|
34
|
+
# the voxpupuli-rubocop gem is optional
|
35
|
+
end
|