From 164ba294b6193d11f3ff5505f452ac0eb7e07cd1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 17 May 2015 11:01:29 -0400 Subject: qi (quick install) gem install git version option --- setup/qi_libs.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'setup') diff --git a/setup/qi_libs.rb b/setup/qi_libs.rb index 5f325302..e58547b1 100644 --- a/setup/qi_libs.rb +++ b/setup/qi_libs.rb @@ -651,8 +651,13 @@ end def self.build_stable Gemspecs.build(filename) end - def self.install_stable - Gemspecs.install(filename_stable) + def self.install_stable(version=:version_standard) + vi=Version_info::Current.setting_stable + filename=((version==:version_git) \ + && (Version_info.version_number_use(vi) != vi[:version_number])) \ + ? ('sisu-' + Version_info.version_number_use(vi) + '.gem') + : ('sisu-' + vi[:version_number] + '.gem') + Gemspecs.install(filename) end end end -- cgit v1.2.3