diff options
-rw-r--r-- | leap_cli.gemspec | 3 | ||||
-rw-r--r-- | 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' |