Skip to content

Test different JRuby versions; pin webmock to < 3.25.0; pin multi_json to < 1.16 #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ jobs:
- {os: ubuntu-24.04, ruby: '3.2'} # openssl 3
- {os: ubuntu-24.04, ruby: '3.3'} # openssl 3
- {os: ubuntu-24.04, ruby: '3.4'} # openssl 3
- {os: ubuntu-24.04, ruby: 'jruby-9.4'}
- {os: ubuntu-22.04, ruby: 'jruby-9.4.3'} # what Perforce used in their CI
- {os: ubuntu-22.04, ruby: 'jruby-9.4.4'}
- {os: ubuntu-22.04, ruby: 'jruby-9.4.5'}
- {os: ubuntu-22.04, ruby: 'jruby-9.4.6'}
- {os: ubuntu-22.04, ruby: 'jruby-9.4.7'}
- {os: ubuntu-22.04, ruby: 'jruby-9.4.8' } # what Openvox packages
- {os: ubuntu-22.04, ruby: 'jruby-9.4.13' } # latest
- {os: windows-2025, ruby: '3.1'}
- {os: windows-2025, ruby: '3.2'} # openssl 3
- {os: windows-2025, ruby: '3.3'} # openssl 3
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ group(:test) do
gem "rspec-its", "~> 1.1", require: false
gem 'rspec-mocks', '< 3.13.3', require: false # breaking change afterwards: https://github.com/rspec/rspec-mocks/pull/1596
gem 'vcr', '~> 6.1', require: false
gem 'webmock', '~> 3.0', require: false
gem 'webmock', '~> 3.0', '< 3.25', require: false
gem 'webrick', '~> 1.7', require: false
gem 'yard', require: false

Expand Down Expand Up @@ -88,4 +88,6 @@ if File.exist? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end

gem 'json', '2.7.6' # last release used by Perforce

# vim:filetype=ruby
2 changes: 1 addition & 1 deletion openvox.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency('fast_gettext', '>= 2.1', '< 4')
spec.add_runtime_dependency('getoptlong', '~> 0.2.0')
spec.add_runtime_dependency('locale', '~> 2.1')
spec.add_runtime_dependency('multi_json', '~> 1.13')
spec.add_runtime_dependency('multi_json', '~> 1.13', '< 1.16') # 1.15 is what perforce used
spec.add_runtime_dependency('openfact', '~> 5.0')
spec.add_runtime_dependency('ostruct', '~> 0.6.0')
spec.add_runtime_dependency('puppet-resource_api', '~> 1.5')
Expand Down
Loading