voxpupuli-release 3.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/workflows/release.yml +3 -3
- data/.github/workflows/test.yml +8 -5
- data/.rubocop_todo.yml +1 -41
- data/CHANGELOG.md +32 -1
- data/Gemfile +2 -0
- data/Rakefile +3 -1
- data/lib/voxpupuli/release/rake_tasks.rb +7 -5
- data/lib/voxpupuli/release/version.rb +3 -1
- data/lib/voxpupuli/release.rb +2 -0
- data/voxpupuli-release.gemspec +5 -1
- metadata +39 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b652ff7e92209556eb6523238b44d56fd34dc428c38d7de0a84e68c0a532c0d4
|
4
|
+
data.tar.gz: 2cbcd05ece26a6a32454ce48884dfd56f4b9dbe1485f8e530f79f1365f524865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c998fea9c13d96cd170b1b834ddb7fee2ee93a5d83795d9398a6346304574c5fa2109651c38f7e60a98c058645ccc69839ee179babd45e98594908f511a92dbf
|
7
|
+
data.tar.gz: 5b71c1f9b27ddeead145afd705143b37f0d3a11767454162a9e5976f66c855a1ba62e32e6e01f468f137c2b16813976ec9120e58e12861dc1bd583e5b73b090e
|
@@ -10,11 +10,11 @@ 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
|
data/.github/workflows/test.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
name: Test
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
4
|
+
pull_request: {}
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
6
8
|
|
7
9
|
env:
|
8
10
|
BUNDLE_WITHOUT: release
|
@@ -11,11 +13,11 @@ jobs:
|
|
11
13
|
rubocop:
|
12
14
|
runs-on: ubuntu-latest
|
13
15
|
steps:
|
14
|
-
- uses: actions/checkout@
|
16
|
+
- uses: actions/checkout@v4
|
15
17
|
- name: Install Ruby ${{ matrix.ruby }}
|
16
18
|
uses: ruby/setup-ruby@v1
|
17
19
|
with:
|
18
|
-
ruby-version: "3.
|
20
|
+
ruby-version: "3.3"
|
19
21
|
bundler-cache: true
|
20
22
|
- name: Run Rubocop
|
21
23
|
run: bundle exec rake rubocop
|
@@ -29,9 +31,10 @@ jobs:
|
|
29
31
|
- "3.0"
|
30
32
|
- "3.1"
|
31
33
|
- "3.2"
|
34
|
+
- "3.3"
|
32
35
|
name: Ruby ${{ matrix.ruby }}
|
33
36
|
steps:
|
34
|
-
- uses: actions/checkout@
|
37
|
+
- uses: actions/checkout@v4
|
35
38
|
- name: Install Ruby ${{ matrix.ruby }}
|
36
39
|
uses: ruby/setup-ruby@v1
|
37
40
|
with:
|
data/.rubocop_todo.yml
CHANGED
@@ -1,17 +1,11 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-05
|
3
|
+
# on 2023-10-05 19:25:42 UTC using RuboCop version 1.54.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count: 1
|
10
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
11
|
-
Performance/StringInclude:
|
12
|
-
Exclude:
|
13
|
-
- 'lib/voxpupuli/release/rake_tasks.rb'
|
14
|
-
|
15
9
|
# Offense count: 1
|
16
10
|
# Configuration parameters: AllowedConstants.
|
17
11
|
Style/Documentation:
|
@@ -28,40 +22,6 @@ Style/EmptyElse:
|
|
28
22
|
Exclude:
|
29
23
|
- 'lib/voxpupuli/release/rake_tasks.rb'
|
30
24
|
|
31
|
-
# Offense count: 6
|
32
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
33
|
-
# Configuration parameters: EnforcedStyle.
|
34
|
-
# SupportedStyles: always, always_true, never
|
35
|
-
Style/FrozenStringLiteralComment:
|
36
|
-
Exclude:
|
37
|
-
- 'Gemfile'
|
38
|
-
- 'Rakefile'
|
39
|
-
- 'lib/voxpupuli/release.rb'
|
40
|
-
- 'lib/voxpupuli/release/rake_tasks.rb'
|
41
|
-
- 'lib/voxpupuli/release/version.rb'
|
42
|
-
- 'voxpupuli-release.gemspec'
|
43
|
-
|
44
|
-
# Offense count: 1
|
45
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
46
|
-
Style/LineEndConcatenation:
|
47
|
-
Exclude:
|
48
|
-
- 'lib/voxpupuli/release/rake_tasks.rb'
|
49
|
-
|
50
|
-
# Offense count: 1
|
51
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
52
|
-
# Configuration parameters: EnforcedStyle.
|
53
|
-
# SupportedStyles: literals, strict
|
54
|
-
Style/MutableConstant:
|
55
|
-
Exclude:
|
56
|
-
- 'lib/voxpupuli/release/version.rb'
|
57
|
-
|
58
|
-
# Offense count: 1
|
59
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
60
|
-
# Configuration parameters: Mode.
|
61
|
-
Style/StringConcatenation:
|
62
|
-
Exclude:
|
63
|
-
- 'lib/voxpupuli/release/rake_tasks.rb'
|
64
|
-
|
65
25
|
# Offense count: 1
|
66
26
|
# This cop supports safe autocorrection (--autocorrect).
|
67
27
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,38 @@
|
|
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/voxpupuli-release/tree/v3.1.0) (2024-07-05)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/voxpupuli-release/compare/v3.0.1...v3.1.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- Add Ruby 3.3 to CI [\#66](https://github.com/voxpupuli/voxpupuli-release/pull/66) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
- voxpupuli-rubocop: Update to 2.5.0 [\#65](https://github.com/voxpupuli/voxpupuli-release/pull/65) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
|
14
|
+
**Fixed bugs:**
|
15
|
+
|
16
|
+
- release:prep task: actually commit files [\#64](https://github.com/voxpupuli/voxpupuli-release/pull/64) ([bastelfreak](https://github.com/bastelfreak))
|
17
|
+
|
18
|
+
**Merged pull requests:**
|
19
|
+
|
20
|
+
- voxpupuli-rubocop: Update to 2.8.0 [\#67](https://github.com/voxpupuli/voxpupuli-release/pull/67) ([bastelfreak](https://github.com/bastelfreak))
|
21
|
+
|
22
|
+
## [v3.0.1](https://github.com/voxpupuli/voxpupuli-release/tree/v3.0.1) (2023-10-05)
|
23
|
+
|
24
|
+
[Full Changelog](https://github.com/voxpupuli/voxpupuli-release/compare/v3.0.0...v3.0.1)
|
25
|
+
|
26
|
+
**Fixed bugs:**
|
27
|
+
|
28
|
+
- Add github\_changelog\_generator & faraday-retry as dependencies [\#60](https://github.com/voxpupuli/voxpupuli-release/pull/60) ([bastelfreak](https://github.com/bastelfreak))
|
29
|
+
- rake tasks: fix regexp escaping [\#59](https://github.com/voxpupuli/voxpupuli-release/pull/59) ([kenyon](https://github.com/kenyon))
|
30
|
+
|
31
|
+
**Merged pull requests:**
|
32
|
+
|
33
|
+
- voxpupuli-rubocop: Use 2.x [\#61](https://github.com/voxpupuli/voxpupuli-release/pull/61) ([bastelfreak](https://github.com/bastelfreak))
|
34
|
+
- CI: Run on PRs+merges to master [\#57](https://github.com/voxpupuli/voxpupuli-release/pull/57) ([bastelfreak](https://github.com/bastelfreak))
|
35
|
+
- Encourage a signed commit [\#56](https://github.com/voxpupuli/voxpupuli-release/pull/56) ([traylenator](https://github.com/traylenator))
|
36
|
+
|
5
37
|
## [v3.0.0](https://github.com/voxpupuli/voxpupuli-release/tree/v3.0.0) (2023-05-09)
|
6
38
|
|
7
39
|
[Full Changelog](https://github.com/voxpupuli/voxpupuli-release/compare/v2.0.0...v3.0.0)
|
@@ -37,7 +69,6 @@ All notable changes to this project will be documented in this file.
|
|
37
69
|
|
38
70
|
**Merged pull requests:**
|
39
71
|
|
40
|
-
- Bump actions/checkout from 2 to 3 [\#50](https://github.com/voxpupuli/voxpupuli-release/pull/50) ([dependabot[bot]](https://github.com/apps/dependabot))
|
41
72
|
- dependabot: check for github actions as well [\#49](https://github.com/voxpupuli/voxpupuli-release/pull/49) ([bastelfreak](https://github.com/bastelfreak))
|
42
73
|
- Add Ruby 3.2 to CI matrix [\#48](https://github.com/voxpupuli/voxpupuli-release/pull/48) ([bastelfreak](https://github.com/bastelfreak))
|
43
74
|
- Replace `Depreciated` with `Deprecated` [\#47](https://github.com/voxpupuli/voxpupuli-release/pull/47) ([alexjfisher](https://github.com/alexjfisher))
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
|
2
4
|
require 'voxpupuli/release/version'
|
3
5
|
|
@@ -17,7 +19,7 @@ else
|
|
17
19
|
version = Voxpupuli::Release::VERSION
|
18
20
|
config.future_release = "v#{version}" if /^\d+\.\d+.\d+$/.match?(version)
|
19
21
|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
20
|
-
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
|
22
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
|
21
23
|
config.user = 'voxpupuli'
|
22
24
|
config.project = 'voxpupuli-release'
|
23
25
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'puppet_blacksmith/rake_tasks'
|
2
4
|
|
3
5
|
class GCGConfig
|
@@ -31,7 +33,7 @@ class GCGConfig
|
|
31
33
|
end
|
32
34
|
|
33
35
|
def self.future_release
|
34
|
-
if metadata['version'].match?(/^\d+\.\d
|
36
|
+
if metadata['version'].match?(/^\d+\.\d+\.\d+$/)
|
35
37
|
format(tag_pattern, metadata['version'])
|
36
38
|
else
|
37
39
|
# Not formatted like a release, might be a pre-release and the future
|
@@ -52,8 +54,8 @@ task :release do
|
|
52
54
|
|
53
55
|
m = Blacksmith::Modulefile.new
|
54
56
|
v = m.version
|
55
|
-
unless v.match?(/^\d+\.\d
|
56
|
-
raise "Refusing to release an RC or build-release (#{v}).\n"
|
57
|
+
unless v.match?(/^\d+\.\d+\.\d+$/)
|
58
|
+
raise "Refusing to release an RC or build-release (#{v}).\n" \
|
57
59
|
'Please set a semver *release* version.'
|
58
60
|
end
|
59
61
|
|
@@ -106,7 +108,7 @@ namespace :release do
|
|
106
108
|
Please review these changes and commit them to a new branch:
|
107
109
|
|
108
110
|
git checkout -b release-#{v}
|
109
|
-
git commit -
|
111
|
+
git commit --gpg-sign -am "Release #{v}"
|
110
112
|
|
111
113
|
Then open a Pull-Request and wait for it to be reviewed and merged).
|
112
114
|
MESSAGE
|
@@ -142,7 +144,7 @@ namespace :release do
|
|
142
144
|
|
143
145
|
# Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
|
144
146
|
require 'rbconfig'
|
145
|
-
unless RbConfig::CONFIG['host_os'].
|
147
|
+
unless RbConfig::CONFIG['host_os'].include?('windows')
|
146
148
|
puts 'Fixing line endings...'
|
147
149
|
log.gsub!("\r\n", "\n")
|
148
150
|
end
|
data/lib/voxpupuli/release.rb
CHANGED
data/voxpupuli-release.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
|
2
4
|
require 'voxpupuli/release/version'
|
3
5
|
|
@@ -16,9 +18,11 @@ Gem::Specification.new do |s|
|
|
16
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
17
19
|
|
18
20
|
# Runtime dependencies, but also probably dependencies of requiring projects
|
21
|
+
s.add_runtime_dependency 'faraday-retry', '~> 2.1'
|
22
|
+
s.add_runtime_dependency 'github_changelog_generator', '~> 1.16', '>= 1.16.4'
|
19
23
|
s.add_runtime_dependency 'puppet-blacksmith', '~> 7.0'
|
20
24
|
s.add_runtime_dependency 'puppet-strings', '~> 4'
|
21
25
|
s.add_runtime_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
22
26
|
|
23
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~>
|
27
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0'
|
24
28
|
end
|
metadata
CHANGED
@@ -1,15 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voxpupuli-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday-retry
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: github_changelog_generator
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.16.4
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.16'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.16.4
|
13
47
|
- !ruby/object:Gem::Dependency
|
14
48
|
name: puppet-blacksmith
|
15
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +98,14 @@ dependencies:
|
|
64
98
|
requirements:
|
65
99
|
- - "~>"
|
66
100
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
101
|
+
version: 2.8.0
|
68
102
|
type: :development
|
69
103
|
prerelease: false
|
70
104
|
version_requirements: !ruby/object:Gem::Requirement
|
71
105
|
requirements:
|
72
106
|
- - "~>"
|
73
107
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
108
|
+
version: 2.8.0
|
75
109
|
description:
|
76
110
|
email:
|
77
111
|
- voxpupuli@groups.io
|
@@ -117,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
151
|
- !ruby/object:Gem::Version
|
118
152
|
version: '0'
|
119
153
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
154
|
+
rubygems_version: 3.5.11
|
121
155
|
signing_key:
|
122
156
|
specification_version: 4
|
123
157
|
summary: Helpers for deploying Vox Pupuli modules
|