lib/bundler/cli.rb in bundler-1.12.0.pre.1 vs lib/bundler/cli.rb in bundler-1.12.0.pre.2

- old
+ new

@@ -168,11 +168,15 @@ method_option "with", :type => :array, :banner => "Include gems that are part of the specified named group." map "i" => "install" def install require "bundler/cli/install" + no_install = Bundler.settings[:no_install] + Bundler.settings[:no_install] = false Install.new(options.dup).run + ensure + Bundler.settings[:no_install] = no_install end desc "update [OPTIONS]", "update the current environment" long_desc <<-D Update will install the newest versions of the gems listed in the Gemfile. Use @@ -242,11 +246,12 @@ method_option "pre", :type => :boolean, :banner => "Check for newer pre-release gems" method_option "source", :type => :array, :banner => "Check against a specific source" method_option "strict", :type => :boolean, :banner => "Only list newer versions allowed by your Gemfile requirements" method_option "major", :type => :boolean, :banner => "Only list major newer versions" - method_option "minor", :type => :boolean, :banner => "Only list at least minor newer versions" + method_option "minor", :type => :boolean, :banner => "Only list minor newer versions" + method_option "patch", :type => :boolean, :banner => "Only list patch newer versions" method_option "parseable", :aliases => "--porcelain", :type => :boolean, :banner => "Use minimal formatting for more parseable output" def outdated(*gems) require "bundler/cli/outdated" Outdated.new(options, gems).run @@ -270,9 +275,11 @@ method_option "no-install", :type => :boolean, :banner => "Don't actually install the gems, just package." method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache." method_option "path", :type => :string, :banner => "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine" method_option "quiet", :type => :boolean, :banner => "Only output warnings and errors." + method_option "frozen", :type => :boolean, :banner => + "Do not allow the Gemfile.lock to be updated after this package operation's install" long_desc <<-D The package command will copy the .gem files for every gem in the bundle into the directory ./vendor/cache. If you then check that directory into your source control repository, others who check out your source will be able to install the bundle without having to download any additional gems.