summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Cloke <tylercloke@gmail.com>2016-04-14 13:19:36 -0700
committerTyler Cloke <tylercloke@gmail.com>2016-04-14 13:48:22 -0700
commit9c3a06b1ec82310b8ec817968d27c381188a0d53 (patch)
tree7d91fdfeabec9bddb4155a4a25cca983ce0f73d6
parent344677bbf7028acc41226b39f9ca639073b0c926 (diff)
downloadchef-zero-tc/fix-host-port-options.tar.gz
Explicitly support only ruby >= 2.1.0.tc/fix-host-port-options
-rw-r--r--.travis.yml4
-rw-r--r--chef-zero.gemspec2
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b2ea0b..4994db3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-rvm: 2.0
+rvm: 2.1
gemfile: Gemfile
# This prevents testing branches that are created just for PRs
@@ -18,8 +18,6 @@ script:
matrix:
include:
- - rvm: 2.0
- - rvm: 2.1
- rvm: 2.1
env: PEDANT_KNIFE_TESTS=true PEDANT_ALLOW_RVM=1
- rvm: 2.1
diff --git a/chef-zero.gemspec b/chef-zero.gemspec
index d512955..24220dc 100644
--- a/chef-zero.gemspec
+++ b/chef-zero.gemspec
@@ -12,6 +12,8 @@ Gem::Specification.new do |s|
s.homepage = 'http://www.opscode.com'
s.license = 'Apache 2.0'
+ s.required_ruby_version = ">= 2.1.0"
+
s.add_dependency 'mixlib-log', '~> 1.3'
s.add_dependency 'hashie', '>= 2.0', '< 4.0'
s.add_dependency 'uuidtools', '~> 2.1'