diff --git a/.travis.yml b/.travis.yml index 15e5a2a77..3440fe2ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ sudo: false rvm: - - 2.2.7 - 2.3.4 - 2.4.1 bundler_args: "--jobs 7 --without docs local" diff --git a/appveyor.yml b/appveyor.yml index 6ab45e7e6..de589fc5f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,6 @@ environment: matrix: - RUBY_VERSION: 24 - RUBY_VERSION: 23 - - RUBY_VERSION: 22 clone_folder: c:\projects\omnibus clone_depth: 1 diff --git a/omnibus.gemspec b/omnibus.gemspec index 0c720b7b6..313a31c04 100644 --- a/omnibus.gemspec +++ b/omnibus.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |gem| gem.description = gem.summary gem.homepage = "https://github.com/chef/omnibus" - gem.required_ruby_version = ">= 2.2" + gem.required_ruby_version = ">= 2.3" gem.files = %w{ LICENSE README.md Rakefile Gemfile } + Dir.glob("*.gemspec") + Dir.glob("{bin,lib,resources,spec}/**/*") gem.bindir = "bin" @@ -26,7 +26,7 @@ Gem::Specification.new do |gem| gem.add_dependency "cleanroom", "~> 1.0" gem.add_dependency "ffi-yajl", "~> 2.2" gem.add_dependency "mixlib-shellout", "~> 2.0" - gem.add_dependency "ohai", "~> 8.0" + gem.add_dependency "ohai", ">= 8.6.0.alpha.1", "< 15" gem.add_dependency "ruby-progressbar", "~> 1.7" gem.add_dependency "thor", "~> 0.18" gem.add_dependency "license_scout", "~> 1.0"