Skip to content

Commit

Permalink
support ruby 3
Browse files Browse the repository at this point in the history
Signed-off-by: kasif <[email protected]>
  • Loading branch information
kasif-adnan committed Apr 29, 2022
1 parent 933cf50 commit 25018f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
20 changes: 6 additions & 14 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
steps:

- label: run-specs-ruby-2.3
- label: run-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh "rake"
expeditor:
executor:
docker:
image: ruby:2.3
image: ruby:2.7

- label: run-specs-ruby-2.4
- label: run-specs-ruby-3.0
command:
- .expeditor/run_linux_tests.sh "rake"
expeditor:
executor:
docker:
image: ruby:2.4-buster
image: ruby:3.0

- label: run-specs-ruby-2.5
- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh "rake"
expeditor:
executor:
docker:
image: ruby:2.5-buster

- label: run-specs-ruby-2.6
command:
- .expeditor/run_linux_tests.sh "rake"
expeditor:
executor:
docker:
image: ruby:2.6-buster
image: ruby:3.1
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ gemspec name: 'stove'

# testing compatibility
gem 'rack', '< 2'
gem 'webrick'
2 changes: 1 addition & 1 deletion stove.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.executables = 'stove'
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.3'
spec.required_ruby_version = '>= 2.7'

# Runtime dependencies
spec.add_dependency 'chef-api', '~> 0.5'
Expand Down

0 comments on commit 25018f8

Please sign in to comment.