Skip to content

Commit

Permalink
INFCT-76 Updated the vmware-vra gem dependency and added support for …
Browse files Browse the repository at this point in the history
…Ruby 3.0 and 3.1 (#62)

* Updated the vmware-vra gem dependency

Signed-off-by: Ashique Saidalavi <ashique.saidalavi@progress.com>
  • Loading branch information
ashiqueps committed May 18, 2022
1 parent 9e4dbcd commit 500ad97
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
17 changes: 13 additions & 4 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: run-specs-ruby-2.6
- label: run-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.6-buster
- label: run-specs-ruby-2.7
image: ruby:2.7-buster

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

- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7-buster
image: ruby:3.1-buster
5 changes: 3 additions & 2 deletions knife-vrealize.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ Gem::Specification.new do |spec|
spec.files = Dir["lib/**/*"] + %w{LICENSE}
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "knife"
spec.add_dependency "knife-cloud", ">= 1.2.0", "< 5.0"
spec.add_dependency "vmware-vra", "~> 2"
spec.add_dependency "vmware-vra", "~> 2", "< 3" # 3 and above is not supported for this version of vRA
spec.add_dependency "vcoworkflows", "~> 0.2"
spec.add_dependency "rb-readline", "~> 0.5"
end

0 comments on commit 500ad97

Please sign in to comment.