Skip to content

Commit

Permalink
Pick up latest version of mixlib-install.
Browse files Browse the repository at this point in the history
  • Loading branch information
Serdar Sutay committed Dec 3, 2015
1 parent 7418a77 commit 000aebc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ before_script:
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
- /opt/chefdk/embedded/bin/chef gem install mixlib-versioning
- /opt/chefdk/embedded/bin/chef gem install mixlib-install --pre
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
Expand Down
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ end

group :unit do
gem 'mixlib-versioning'
# gem 'mixlib-install'
# TODO: Remove local gem installation
gem 'mixlib-install', path: '../../mixlib-install'
gem 'mixlib-install', '~> 0.8.0.alpha'
gem 'chef-sugar'
gem 'chefspec'
gem 'chef-dk'
Expand Down
2 changes: 1 addition & 1 deletion libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def ensure_mixlib_versioning_gem_installed!
#
def ensure_mixlib_install_gem_installed!
node.run_state[:mixlib_install_gem_installed] ||= begin # ~FC001
install_gem_from_rubygems('mixlib-install', '0.8.0.alpha.0')
install_gem_from_rubygems('mixlib-install', '0.8.0.alpha.1')

require 'mixlib/install'
require 'mixlib/install/product'
Expand Down
4 changes: 2 additions & 2 deletions test/integration/default/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
its(:exit_status) { should eq 0 }
end

describe package('opscode-manage') do
describe package('chef-manage') do
it { should be_installed }
end

describe command('opscode-manage-ctl test') do
describe command('chef-manage-ctl test') do
its(:exit_status) { should eq 0 }
end
end

0 comments on commit 000aebc

Please sign in to comment.