openvoxserver-ca 3.0.0 → 3.1.0

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: 11405667e7482bcb0b64a8411de1227b1908bc393b30a9f074438ddb034e6523
4
- data.tar.gz: bdfc99a2a215f2fab282f8c818c6793526246eb81b67328ad9318c0e2d68c1c1
3
+ metadata.gz: 7cb873834eb656ecb5df4e95a8afda4718e2fbaf32dac7af312cd0207ad7c37b
4
+ data.tar.gz: 69300179c121f1d0db35dc9b777b4fcec10cb27651edd5ef3b645f34d4a16b71
5
5
  SHA512:
6
- metadata.gz: ed681e739f2ba95da27c6d374550b70158234655fec37b0d2fe0c8e9b8ab688811c3a84acabfb321bedaee1d77932b00066cd1db11de321225f8600835246f70
7
- data.tar.gz: 44b0de471e6fa9095cf25cb23aaa7dad35b522b9eaac10e310ac78acf619a218c9fe295c0de03fb2b721ad470357fdaa745909678fe9c764a7f1bec320880986
6
+ metadata.gz: c7d23ec018cf1830a554293c8719d57d9396cbcc1cc4ac3f249b74d90c6c4a17e6c34a8e4760f231148d7884d180654656a57c291af327bd0edd340608ed2d8f
7
+ data.tar.gz: cafc830c6cbb21f7b860f0f6265fc4405697f983914aa6afbe9a3d3d33d9f80abdec749a2f36ad6663f7b4284f9354a655d8dc222d1b8f34591e6c99495bc678
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [3.1.0](https://github.com/openvoxproject/openvoxserver-ca/tree/3.1.0) (2026-02-20)
6
+
7
+ [Full Changelog](https://github.com/openvoxproject/openvoxserver-ca/compare/3.0.0...3.1.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Remove duplicate rspec/rake from Gemfile & remove unused pry/bundler dependency [\#24](https://github.com/OpenVoxProject/openvoxserver-ca/pull/24) ([bastelfreak](https://github.com/bastelfreak))
12
+ - Add Ruby 4.0 support [\#22](https://github.com/OpenVoxProject/openvoxserver-ca/pull/22) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+
14
+ **Fixed bugs:**
15
+
16
+ - Fix bogus bundler requirement in `puppetserver-ca` [\#23](https://github.com/OpenVoxProject/openvoxserver-ca/pull/23) ([smortex](https://github.com/smortex))
17
+
5
18
  ## [3.0.0](https://github.com/openvoxproject/openvoxserver-ca/tree/3.0.0) (2025-07-10)
6
19
 
7
20
  [Full Changelog](https://github.com/openvoxproject/openvoxserver-ca/compare/3.0.0-rc1...3.0.0)
data/exe/puppetserver-ca CHANGED
@@ -1,10 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # This requires everything in our Gemfile, so when functionally testing
4
- # our debugging tools are available without having to require them
5
- require 'bundler/setup'
6
- Bundler.require(:default)
7
-
8
3
  require 'puppetserver/ca/cli'
9
4
 
10
5
  exit Puppetserver::Ca::Cli.run(ARGV)
@@ -1,5 +1,5 @@
1
1
  module Puppetserver
2
2
  module Ca
3
- VERSION = "3.0.0"
3
+ VERSION = "3.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openvoxserver-ca
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenVox Project
@@ -29,48 +29,34 @@ dependencies:
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: '6'
32
- - !ruby/object:Gem::Dependency
33
- name: bundler
34
- requirement: !ruby/object:Gem::Requirement
35
- requirements:
36
- - - ">="
37
- - !ruby/object:Gem::Version
38
- version: '1.16'
39
- type: :development
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: '1.16'
46
32
  - !ruby/object:Gem::Dependency
47
33
  name: rake
48
34
  requirement: !ruby/object:Gem::Requirement
49
35
  requirements:
50
- - - ">="
36
+ - - "~>"
51
37
  - !ruby/object:Gem::Version
52
- version: 12.3.3
38
+ version: '13.0'
53
39
  type: :development
54
40
  prerelease: false
55
41
  version_requirements: !ruby/object:Gem::Requirement
56
42
  requirements:
57
- - - ">="
43
+ - - "~>"
58
44
  - !ruby/object:Gem::Version
59
- version: 12.3.3
45
+ version: '13.0'
60
46
  - !ruby/object:Gem::Dependency
61
47
  name: rspec
62
48
  requirement: !ruby/object:Gem::Requirement
63
49
  requirements:
64
50
  - - "~>"
65
51
  - !ruby/object:Gem::Version
66
- version: '3.0'
52
+ version: '3.4'
67
53
  type: :development
68
54
  prerelease: false
69
55
  version_requirements: !ruby/object:Gem::Requirement
70
56
  requirements:
71
57
  - - "~>"
72
58
  - !ruby/object:Gem::Version
73
- version: '3.0'
59
+ version: '3.4'
74
60
  email:
75
61
  - openvox@voxpupuli.org
76
62
  executables:
@@ -78,25 +64,11 @@ executables:
78
64
  extensions: []
79
65
  extra_rdoc_files: []
80
66
  files:
81
- - ".github/dependabot.yml"
82
- - ".github/release.yml"
83
- - ".github/workflows/gem_release.yaml"
84
- - ".github/workflows/prepare_release.yml"
85
- - ".github/workflows/release.yml"
86
- - ".github/workflows/unit_tests.yaml"
87
- - ".gitignore"
88
- - ".rspec"
89
- - ".travis.yml"
90
67
  - CHANGELOG.md
91
- - CODEOWNERS
92
68
  - CODE_OF_CONDUCT.md
93
69
  - CONTRIBUTING.md
94
- - Gemfile
95
70
  - LICENSE
96
71
  - README.md
97
- - Rakefile
98
- - bin/console
99
- - bin/setup
100
72
  - exe/puppetserver-ca
101
73
  - lib/puppetserver/ca.rb
102
74
  - lib/puppetserver/ca/action/clean.rb
@@ -127,9 +99,6 @@ files:
127
99
  - lib/puppetserver/ca/utils/signing_digest.rb
128
100
  - lib/puppetserver/ca/version.rb
129
101
  - lib/puppetserver/ca/x509_loader.rb
130
- - openvoxserver-ca.gemspec
131
- - tasks/spec.rake
132
- - tasks/vox.rake
133
102
  homepage: https://github.com/OpenVoxProject/openvoxserver-ca/
134
103
  licenses:
135
104
  - Apache-2.0
@@ -148,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
117
  - !ruby/object:Gem::Version
149
118
  version: '0'
150
119
  requirements: []
151
- rubygems_version: 3.6.7
120
+ rubygems_version: 4.0.3
152
121
  specification_version: 4
153
122
  summary: A simple CLI tool for interacting with OpenVox Server's Certificate Authority
154
123
  test_files: []
@@ -1,17 +0,0 @@
1
- version: 2
2
- updates:
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: "/"
14
- schedule:
15
- interval: daily
16
- time: "13:00"
17
- open-pull-requests-limit: 10
data/.github/release.yml DELETED
@@ -1,41 +0,0 @@
1
- ---
2
- # https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
3
-
4
- changelog:
5
- exclude:
6
- labels:
7
- - duplicate
8
- - invalid
9
- - modulesync
10
- - question
11
- - skip-changelog
12
- - wont-fix
13
- - wontfix
14
- - github_actions
15
-
16
- categories:
17
- - title: Breaking Changes 🛠
18
- labels:
19
- - backwards-incompatible
20
-
21
- - title: New Features 🎉
22
- labels:
23
- - enhancement
24
-
25
- - title: Bug Fixes 🐛
26
- labels:
27
- - bug
28
- - bugfix
29
-
30
- - title: Documentation Updates 📚
31
- labels:
32
- - documentation
33
- - docs
34
-
35
- - title: Dependency Updates ⬆️
36
- labels:
37
- - dependencies
38
-
39
- - title: Other Changes
40
- labels:
41
- - "*"
@@ -1,106 +0,0 @@
1
- ---
2
- name: Gem Release
3
-
4
- on:
5
- push:
6
- tags:
7
- - '*'
8
-
9
- permissions: {}
10
-
11
- jobs:
12
- build-release:
13
- # Prevent releases from forked repositories
14
- if: github.repository_owner == 'OpenVoxProject'
15
- name: Build the gem
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v4
19
- - name: Install Ruby
20
- uses: ruby/setup-ruby@v1
21
- with:
22
- ruby-version: 'ruby'
23
- - name: Build gem
24
- shell: bash
25
- run: gem build --verbose *.gemspec
26
- - name: Upload gem to GitHub cache
27
- uses: actions/upload-artifact@v4
28
- with:
29
- name: gem-artifact
30
- path: '*.gem'
31
- retention-days: 1
32
- compression-level: 0
33
-
34
- create-github-release:
35
- needs: build-release
36
- name: Create GitHub release
37
- runs-on: ubuntu-24.04
38
- permissions:
39
- contents: write # clone repo and create release
40
- steps:
41
- - name: Download gem from GitHub cache
42
- uses: actions/download-artifact@v4
43
- with:
44
- name: gem-artifact
45
- - name: Create Release
46
- shell: bash
47
- env:
48
- GH_TOKEN: ${{ github.token }}
49
- run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
50
-
51
- release-to-github:
52
- needs: build-release
53
- name: Release to GitHub
54
- runs-on: ubuntu-24.04
55
- permissions:
56
- packages: write # publish to rubygems.pkg.github.com
57
- steps:
58
- - name: Download gem from GitHub cache
59
- uses: actions/download-artifact@v4
60
- with:
61
- name: gem-artifact
62
- - name: Publish gem to GitHub packages
63
- run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
64
- env:
65
- GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
66
-
67
- release-to-rubygems:
68
- needs: build-release
69
- name: Release gem to rubygems.org
70
- runs-on: ubuntu-24.04
71
- environment: release # recommended by rubygems.org
72
- permissions:
73
- id-token: write # rubygems.org authentication
74
- steps:
75
- - name: Download gem from GitHub cache
76
- uses: actions/download-artifact@v4
77
- with:
78
- name: gem-artifact
79
- - uses: rubygems/configure-rubygems-credentials@v1.0.0
80
- - name: Publish gem to rubygems.org
81
- shell: bash
82
- run: gem push *.gem
83
-
84
- release-verification:
85
- name: Check that all releases are done
86
- runs-on: ubuntu-24.04
87
- permissions:
88
- contents: read # minimal permissions that we have to grant
89
- needs:
90
- - create-github-release
91
- - release-to-github
92
- - release-to-rubygems
93
- steps:
94
- - name: Download gem from GitHub cache
95
- uses: actions/download-artifact@v4
96
- with:
97
- name: gem-artifact
98
- - name: Install Ruby
99
- uses: ruby/setup-ruby@v1
100
- with:
101
- ruby-version: 'ruby'
102
- - name: Wait for release to propagate
103
- shell: bash
104
- run: |
105
- gem install rubygems-await
106
- gem await *.gem
@@ -1,28 +0,0 @@
1
- name: 'Prepare Release'
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- version:
7
- description: 'Version to be released.'
8
- required: false
9
- default: ''
10
- type: string
11
- base-branch:
12
- description: 'The branch that will be used as the origin for the release branch.'
13
- required: false
14
- default: ''
15
- type: string
16
-
17
- permissions: {}
18
-
19
- jobs:
20
- prepare_release:
21
- uses: OpenVoxProject/shared-actions/.github/workflows/prepare_release.yml@main
22
- with:
23
- allowed_owner: 'OpenVoxProject'
24
- base-branch: ${{ github.event.inputs.base-branch }}
25
- version: ${{ github.event.inputs.version }}
26
- secrets:
27
- github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
28
- ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
@@ -1,28 +0,0 @@
1
- name: 'Release'
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- version:
7
- description: 'Version to be released.'
8
- required: false
9
- default: ''
10
- type: string
11
- base-branch:
12
- description: 'The branch where we do this release.'
13
- required: false
14
- default: ''
15
- type: string
16
-
17
- permissions: {}
18
-
19
- jobs:
20
- release:
21
- uses: OpenVoxProject/shared-actions/.github/workflows/release.yml@main
22
- with:
23
- allowed_owner: 'OpenVoxProject'
24
- base-branch: ${{ github.event.inputs.base-branch }}
25
- version: ${{ github.event.inputs.version }}
26
- secrets:
27
- github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
28
- ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
@@ -1,67 +0,0 @@
1
- ---
2
- name: Unit tests
3
-
4
- on:
5
- push:
6
- branches:
7
- - main
8
- pull_request:
9
- branches:
10
- - main
11
-
12
- # minimal permissions
13
- permissions:
14
- contents: read
15
-
16
- env:
17
- CI: true
18
-
19
- jobs:
20
- matrix:
21
- runs-on: ubuntu-24.04
22
- outputs:
23
- ruby: ${{ steps.ruby.outputs.versions }}
24
- steps:
25
- - uses: actions/checkout@v4
26
- - name: Install Ruby 3.4
27
- uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: '3.4'
30
- bundler-cache: true
31
- #- name: Run RuboCop
32
- # run: bundle exec rake rubocop
33
- - id: ruby
34
- uses: voxpupuli/ruby-version@v1
35
-
36
- linux_unit_tests:
37
- needs: matrix
38
- name: Ruby version
39
- strategy:
40
- fail-fast: false
41
- matrix:
42
- ruby: ${{ fromJSON(needs.matrix.outputs.ruby) }}
43
- runs-on: ubuntu-24.04
44
- steps:
45
- - name: Checkout current PR
46
- uses: actions/checkout@v4
47
-
48
- - name: Rspec checks
49
- uses: ruby/setup-ruby@v1
50
- with:
51
- ruby-version: ${{ matrix.ruby }}
52
- bundler-cache: true
53
-
54
- - name: Display bundle environment
55
- run: |
56
- bundle env
57
-
58
- - run: bundle exec rake spec_random
59
-
60
- tests:
61
- needs:
62
- - matrix
63
- - linux_unit_tests
64
- runs-on: ubuntu-24.04
65
- name: Test suite
66
- steps:
67
- - run: echo Test suite completed
data/.gitignore DELETED
@@ -1,15 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /vendor/
9
- /.vendor/
10
- /tmp/
11
- openvoxserver-ca-*.gem
12
- Gemfile.lock
13
-
14
- # rspec failure tracking
15
- .rspec_status
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- notifications:
4
- email: false
5
- rvm:
6
- - 2.3
7
- - 2.4
8
- - 2.5
9
- - 2.6
10
- - 2.7
11
- - 3.1
12
- - 3.2
13
- before_install:
14
- gem install bundler -v 1.16.1 && (gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true)
15
- script:
16
- - bundle exec rake spec
data/CODEOWNERS DELETED
@@ -1,4 +0,0 @@
1
- # This will cause the puppetserver-maintainers group to be assigned
2
- # review of any opened PRs against the branches containing this file.
3
-
4
- * @puppetlabs/dumpling @puppetlabs/skeletor
data/Gemfile DELETED
@@ -1,20 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in puppetserver-ca.gemspec
6
- gemspec
7
-
8
- gem 'hocon', '~> 1.2', require: false
9
- gem 'rake', '~> 13.0', require: false
10
- gem 'rspec', '~> 3.4', require: false
11
-
12
- group(:development, optional: true) do
13
- gem 'pry'
14
- gem 'pry-byebug'
15
- end
16
-
17
- group(:release, optional: true) do
18
- gem 'faraday-retry', require: false
19
- gem 'github_changelog_generator', require: false
20
- end
data/Rakefile DELETED
@@ -1,30 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- Dir.glob(File.join('tasks/**/*.rake')).each { |file| load file }
4
-
5
- task default: :spec
6
-
7
- begin
8
- require 'github_changelog_generator/task'
9
- require_relative 'lib/puppetserver/ca/version'
10
-
11
- GitHubChangelogGenerator::RakeTask.new :changelog do |config|
12
- config.header = <<~HEADER.chomp
13
- # Changelog
14
-
15
- All notable changes to this project will be documented in this file.
16
- HEADER
17
- config.user = 'openvoxproject'
18
- config.project = 'openvoxserver-ca'
19
- config.exclude_labels = %w[dependencies duplicate question invalid wontfix wont-fix modulesync skip-changelog]
20
- config.future_release = Puppetserver::Ca::VERSION
21
- config.since_tag = '2.7.0'
22
- end
23
- rescue LoadError
24
- task :changelog do
25
- abort("Run `bundle install --with release` to install the `github_changelog_generator` gem.")
26
- end
27
- end
28
-
29
- desc 'Prepare for a release'
30
- task 'release:prepare' => [:changelog]
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "puppetserver/ca"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,31 +0,0 @@
1
-
2
- lib = File.expand_path("../lib", __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "puppetserver/ca/version"
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "openvoxserver-ca"
8
- spec.version = Puppetserver::Ca::VERSION
9
- spec.authors = ["OpenVox Project"]
10
- spec.email = ["openvox@voxpupuli.org"]
11
- spec.license = "Apache-2.0"
12
-
13
- spec.summary = %q{A simple CLI tool for interacting with OpenVox Server's Certificate Authority}
14
- spec.homepage = "https://github.com/OpenVoxProject/openvoxserver-ca/"
15
-
16
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
- f.match(%r{^(test|spec|features)/})
18
- end
19
- spec.bindir = "exe"
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
- spec.require_paths = ["lib"]
22
-
23
- spec.add_runtime_dependency "openfact", [">= 5.0.0", "< 6"]
24
-
25
- spec.add_development_dependency "bundler", ">= 1.16"
26
- spec.add_development_dependency "rake", ">= 12.3.3"
27
- spec.add_development_dependency "rspec", "~> 3.0"
28
-
29
- # openvoxserver 7 uses jruby 9.3 which is compatible with MRI ruby 2.6
30
- spec.required_ruby_version = '>= 2.6.0'
31
- end
data/tasks/spec.rake DELETED
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- begin
4
- require 'rspec/core/rake_task'
5
-
6
- desc 'Run rspec test in sequential order'
7
- RSpec::Core::RakeTask.new(:spec)
8
-
9
- desc 'Run rspec test in random order'
10
- RSpec::Core::RakeTask.new(:spec_random) do |t|
11
- t.rspec_opts = '--order random'
12
- end
13
- rescue LoadError
14
- puts 'Could not load rspec'
15
- end
data/tasks/vox.rake DELETED
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- namespace :vox do
4
- desc 'Update the version in preparation for a release'
5
- task 'version:bump:full', [:version] do |_, args|
6
- abort 'You must provide a tag.' if args[:version].nil? || args[:version].empty?
7
- version = args[:version]
8
- abort "#{version} does not appear to be a valid version string in x.y.z format" unless Gem::Version.correct?(version)
9
-
10
- # Update lib/facter/version.rb and openvox.gemspec
11
- puts "Setting version to #{version}"
12
-
13
- data = File.read('lib/puppetserver/ca/version.rb')
14
- new_data = data.sub(/VERSION = "\d+\.\d+\.\d+(\.rc\d+)?"/, %(VERSION = "#{version}"))
15
- warn 'Failed to update version in lib/facter/version.rb' if data == new_data
16
-
17
- File.write('lib/puppetserver/ca/version.rb', new_data)
18
- end
19
- end