summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/env.rb2
-rw-r--r--spec/bundler/env_spec.rb2
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