diff options
author | Agis Anastasopoulos <agis.anast@gmail.com> | 2016-01-02 14:24:59 +0200 |
---|---|---|
committer | Agis Anastasopoulos <agis.anast@gmail.com> | 2016-01-02 15:25:22 +0200 |
commit | 03351b6312919583a2222b2a489c91b4a22e56cc (patch) | |
tree | a729a4d427fdfd0370a8690adc2f7cb7c68a1d5e | |
parent | 6b0bc181cd788d4dec7cbaacb51589d68b7cf2a6 (diff) | |
download | bundler-env-output-fix.tar.gz |
Make `bundle env` output consistentenv-output-fix
We don't use ":" anywhere else on `bundle env` output.
-rw-r--r-- | lib/bundler/env.rb | 2 | ||||
-rw-r--r-- | spec/bundler/env_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb index c6ecdd0f69..6942eccaa8 100644 --- a/lib/bundler/env.rb +++ b/lib/bundler/env.rb @@ -43,7 +43,7 @@ module Bundler if print_gemspecs dsl = Dsl.new.tap {|d| d.eval_gemfile(Bundler.default_gemfile) } dsl.gemspecs.each do |gs| - out << "\n#{Pathname.new(gs).basename}:" + out << "\n#{Pathname.new(gs).basename}" out << "\n\n " << read_file(gs).gsub(/\n/, "\n ") << "\n" end end diff --git a/spec/bundler/env_spec.rb b/spec/bundler/env_spec.rb index 99d89fd4d6..1c38ca87df 100644 --- a/spec/bundler/env_spec.rb +++ b/spec/bundler/env_spec.rb @@ -67,7 +67,7 @@ describe Bundler::Env do it "prints the gemspec" do output = env.report(:print_gemspecs => true).gsub(/^\s+/, "") - expect(output).to include("foo.gemspec:") + expect(output).to include("foo.gemspec") expect(output).to include(gemspec) end end |