voxpupuli-release 3.0.0 → 3.0.1

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: a7173d35800706490167b9fffd1fa15ef2a65186efc861dba5ee266fa0e42450
4
- data.tar.gz: ce5576b8d8f1f5dbeaa244629762343e4682093ee99227e1ff20954bf547a4ef
3
+ metadata.gz: 4b3a21c33b0dea9c630f58ca630c5883bc6497d925fec507430f114a559927c9
4
+ data.tar.gz: ccdd5da7ecad3dd79eb1fb564abfd04b73a9c35dd94705fbe46e39c46b4f2c86
5
5
  SHA512:
6
- metadata.gz: 52c2c1a80a64d33c78a82f38b2cea87f7625c6801c54cb605a98c86522a91a6376a5273d2833e7c0d15a8ee66715eff08077ae1c1683ab9fb011568d6b579919
7
- data.tar.gz: 51ebde857fd8fe104ddc1c2f05beea25f1c86051868f3898aa1ea1490df733b9e59649c8ab3725a737c0a75aa80b7986a25a3d32017ff803d4c06ba5e155b951
6
+ metadata.gz: 5a84750dfbb697a3d6683dced24731d4598f2cdaa9a76953eacacc5b8a663a98eab7e2abdfdae830afabe95d9e2ac6cabbf10348a16730db1650347d1c8c2544
7
+ data.tar.gz: 4f691f1de83b07555396dea02b793df9cc4e86ce7484aa51fade04f6ae18c0cd7162b8def636b8a7c03f9329c962933e3e66bc07ef3840f273ab585a6f97a571
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  if: github.repository_owner == 'voxpupuli'
12
12
  steps:
13
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
14
  - name: Install Ruby 3.0
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
@@ -1,8 +1,10 @@
1
1
  name: Test
2
2
 
3
3
  on:
4
- - pull_request
5
- - push
4
+ pull_request: {}
5
+ push:
6
+ branches:
7
+ - master
6
8
 
7
9
  env:
8
10
  BUNDLE_WITHOUT: release
@@ -11,7 +13,7 @@ jobs:
11
13
  rubocop:
12
14
  runs-on: ubuntu-latest
13
15
  steps:
14
- - uses: actions/checkout@v3
16
+ - uses: actions/checkout@v4
15
17
  - name: Install Ruby ${{ matrix.ruby }}
16
18
  uses: ruby/setup-ruby@v1
17
19
  with:
@@ -31,7 +33,7 @@ jobs:
31
33
  - "3.2"
32
34
  name: Ruby ${{ matrix.ruby }}
33
35
  steps:
34
- - uses: actions/checkout@v3
36
+ - uses: actions/checkout@v4
35
37
  - name: Install Ruby ${{ matrix.ruby }}
36
38
  uses: ruby/setup-ruby@v1
37
39
  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-09 13:16:12 UTC using RuboCop version 1.50.2.
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,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [v3.0.1](https://github.com/voxpupuli/voxpupuli-release/tree/v3.0.1) (2023-10-05)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/voxpupuli-release/compare/v3.0.0...v3.0.1)
8
+
9
+ **Fixed bugs:**
10
+
11
+ - Add github\_changelog\_generator & faraday-retry as dependencies [\#60](https://github.com/voxpupuli/voxpupuli-release/pull/60) ([bastelfreak](https://github.com/bastelfreak))
12
+ - rake tasks: fix regexp escaping [\#59](https://github.com/voxpupuli/voxpupuli-release/pull/59) ([kenyon](https://github.com/kenyon))
13
+
14
+ **Merged pull requests:**
15
+
16
+ - voxpupuli-rubocop: Use 2.x [\#61](https://github.com/voxpupuli/voxpupuli-release/pull/61) ([bastelfreak](https://github.com/bastelfreak))
17
+ - CI: Run on PRs+merges to master [\#57](https://github.com/voxpupuli/voxpupuli-release/pull/57) ([bastelfreak](https://github.com/bastelfreak))
18
+ - Encourage a signed commit [\#56](https://github.com/voxpupuli/voxpupuli-release/pull/56) ([traylenator](https://github.com/traylenator))
19
+
5
20
  ## [v3.0.0](https://github.com/voxpupuli/voxpupuli-release/tree/v3.0.0) (2023-05-09)
6
21
 
7
22
  [Full Changelog](https://github.com/voxpupuli/voxpupuli-release/compare/v2.0.0...v3.0.0)
@@ -37,7 +52,6 @@ All notable changes to this project will be documented in this file.
37
52
 
38
53
  **Merged pull requests:**
39
54
 
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
55
  - dependabot: check for github actions as well [\#49](https://github.com/voxpupuli/voxpupuli-release/pull/49) ([bastelfreak](https://github.com/bastelfreak))
42
56
  - Add Ruby 3.2 to CI matrix [\#48](https://github.com/voxpupuli/voxpupuli-release/pull/48) ([bastelfreak](https://github.com/bastelfreak))
43
57
  - Replace `Depreciated` with `Deprecated` [\#47](https://github.com/voxpupuli/voxpupuli-release/pull/47) ([alexjfisher](https://github.com/alexjfisher))
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source ENV['GEM_SOURCE'] || 'https://rubygems.org'
2
4
 
3
5
  gemspec
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+.\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+.\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 -m "Release #{v}"
111
+ git commit --gpg-sign -m "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'].match?(/windows/)
147
+ unless RbConfig::CONFIG['host_os'].include?('windows')
146
148
  puts 'Fixing line endings...'
147
149
  log.gsub!("\r\n", "\n")
148
150
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Voxpupuli
2
4
  module Release
3
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
4
6
  end
5
7
  end
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'voxpupuli/release/rake_tasks'
2
4
  require 'voxpupuli/release/version'
@@ -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', '~> 1.2'
27
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 2.0.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.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-09 00:00:00.000000000 Z
11
+ date: 2023-10-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: '1.2'
101
+ version: 2.0.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: '1.2'
108
+ version: 2.0.0
75
109
  description:
76
110
  email:
77
111
  - voxpupuli@groups.io