summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Esaulov <billikota@gmail.com>2018-03-16 14:58:59 +0300
committerNikita Esaulov <billikota@gmail.com>2018-03-16 14:58:59 +0300
commit46b8f26487a7c58f8cedb821b1cabba2c4f7ded0 (patch)
tree08e8c5fe7ae69855dc13345b2b837d01dd99c67d
parente76cd7f41c782f02d7bab7cfaf785e58bfb98690 (diff)
downloadbundler-46b8f26487a7c58f8cedb821b1cabba2c4f7ded0.tar.gz
Change comments
-rw-r--r--lib/bundler/cli/gem.rb2
-rw-r--r--lib/bundler/templates/newgem/newgem.gemspec.tt2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb
index d5dec323de..58e2f8a3fd 100644
--- a/lib/bundler/cli/gem.rb
+++ b/lib/bundler/cli/gem.rb
@@ -160,7 +160,7 @@ module Bundler
open_editor(options["edit"], target.join("#{name}.gemspec")) if options[:edit]
Bundler.ui.info "Gem '#{name}' was successfully created. " \
- "For detailed information on further steps please visit https://bundler.io/guides/creating_gem.html"
+ "For more information on making a RubyGem visit https://bundler.io/guides/creating_gem.html"
rescue Errno::EEXIST => e
raise GenericSystemCallError.new(e, "There was a conflict while creating the new gem.")
end
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt
index e706e90f66..991d645cc6 100644
--- a/lib/bundler/templates/newgem/newgem.gemspec.tt
+++ b/lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
end
# Specify which files should be added to the gem when it is released.
- # The `git ls-files -z` default will base this on all the files checked in to git.
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end