Skip to content

Commit

Permalink
Merge pull request #314 from Sharpie/vagrant-19-compat
Browse files Browse the repository at this point in the history
Add Vagrant 1.9 compatibility
  • Loading branch information
ggiamarchi authored Jan 30, 2017
2 parents 24b370d + d0a68e5 commit ad4ca16
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ matrix:
- rvm: 2.0.0
env: VAGRANT_VERSION=v1.7.4 BUNDLER_VERSION=1.10.5

- rvm: 2.2.3
env: VAGRANT_VERSION=v1.8.5 BUNDLER_VERSION=1.12.5
- rvm: 2.2.5
env: VAGRANT_VERSION=v1.8.7 BUNDLER_VERSION=1.12.5
- rvm: 2.2.5
env: VAGRANT_VERSION=v1.9.1 BUNDLER_VERSION=1.12.5

sudo: false
6 changes: 1 addition & 5 deletions source/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ source 'https://rubygems.org'
gemspec

group :development do
gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git', tag: 'v1.8.5'
gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git', tag: 'v1.9.1'
# FIXME: Hack to allow Vagrant v1.6.5 to install for tests. Remove when
# support for 1.6.5 is dropped.
gem 'rack', '< 2'
# FIXME: Version 1.4.0 of the ruby_dep gem added a constraint on the Ruby
# version being >=2.2.5. This pin to ruby_dep 1.3.1 can be removed when the
# next Vagrant version after 1.8.5 is released.
gem 'ruby_dep', '~> 1.3.1'
gem 'appraisal', '1.0.0'
gem 'rubocop', '0.29.0', require: false
gem 'coveralls', require: false
Expand Down
2 changes: 1 addition & 1 deletion source/spec/vagrant-openstack-provider/client/nova_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
{
'Accept' => 'application/json',
'Accept-Encoding' => 'gzip, deflate',
'User-Agent' => 'Ruby',
'User-Agent' => /.*/,
'X-Auth-Token' => '123456'
})
.to_return(status: 200, body: '
Expand Down
8 changes: 5 additions & 3 deletions source/vagrant-openstack-provider.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ Gem::Specification.new do |gem|
gem.homepage = 'https://github.com/ggiamarchi/vagrant-openstack-provider'
gem.license = 'MIT'

gem.add_dependency 'json', '1.8.3'
gem.add_dependency 'rest-client', '~> 1.6.0'
gem.add_dependency 'json', '>= 1.8.1', '< 3.0'
gem.add_dependency 'rest-client', '>= 1.6.0', '< 3.0'
gem.add_dependency 'terminal-table', '1.4.5'
gem.add_dependency 'sshkey', '1.6.1'
gem.add_dependency 'colorize', '0.7.3'

gem.add_development_dependency 'rake'
# Constraint rake to properly handle deprecated method usage
# from within rspec 3.1.z
gem.add_development_dependency 'rake', '~> 11.3.0'
gem.add_development_dependency 'rspec', '~> 3.1.0'
gem.add_development_dependency 'rspec-its', '~> 1.0.1'
gem.add_development_dependency 'rspec-expectations', '~> 3.1.2'
Expand Down

0 comments on commit ad4ca16

Please sign in to comment.