diff options
author | elijah <elijah@riseup.net> | 2015-05-06 10:27:07 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-05-06 10:27:07 -0700 |
commit | 7b58100dc92dff5517d37ebfe04bba3c2731cc94 (patch) | |
tree | ca34c10bef04629e28a5255ca319a54248b36ceb | |
parent | 6c6b5a88f18f714924530d64486cb88c02bd7ee4 (diff) |
fix gli gem version pinning
-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' |