lib/bundler/env.rb in bundler-1.14.6 vs lib/bundler/env.rb in bundler-1.15.0.pre.1
- old
+ new
@@ -3,15 +3,15 @@
require "bundler/source/git/git_proxy"
module Bundler
class Env
def write(io)
- io.write report(:print_gemfile => true, :print_gemspecs => true)
+ io.write report
end
def report(options = {})
- print_gemfile = options.delete(:print_gemfile)
- print_gemspecs = options.delete(:print_gemspecs)
+ print_gemfile = options.delete(:print_gemfile) { true }
+ print_gemspecs = options.delete(:print_gemspecs) { true }
out = String.new("## Environment\n\n```\n")
out << "Bundler #{Bundler::VERSION}\n"
out << "Rubygems #{Gem::VERSION}\n"
out << "Ruby #{ruby_version}"