From 7b58100dc92dff5517d37ebfe04bba3c2731cc94 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 6 May 2015 10:27:07 -0700 Subject: fix gli gem version pinning --- leap_cli.gemspec | 3 ++- lib/leap_cli.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/leap_cli.gemspec b/leap_cli.gemspec index 6f8f8de..d4fa2fe 100644 --- a/leap_cli.gemspec +++ b/leap_cli.gemspec @@ -49,7 +49,8 @@ spec = Gem::Specification.new do |s| #s.add_development_dependency('aruba') # console gems - s.add_runtime_dependency('gli','~> 2.12') + s.add_runtime_dependency('gli','~> 2.12', '>= 2.12.0') + # note: gli version is also pinned in leap_cli.rb. s.add_runtime_dependency('command_line_reporter', '~> 3.3') s.add_runtime_dependency('highline', '~> 1.6') s.add_runtime_dependency('paint', '~> 0.9') diff --git a/lib/leap_cli.rb b/lib/leap_cli.rb index 7b22913..b136b7a 100644 --- a/lib/leap_cli.rb +++ b/lib/leap_cli.rb @@ -12,7 +12,7 @@ $:.unshift(File.expand_path('../leap_cli/override',__FILE__)) # enforce the compatible versions here: require 'rubygems' gem 'net-ssh', '~> 2.7.0' -gem 'gli', '~> 2.12.0' +gem 'gli', '~> 2.12', '>= 2.12.0' require 'leap/platform' -- cgit v1.2.3