summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrank Lam <ryzingsun11@yahoo.com>2020-05-31 14:58:16 +0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit091daaa715e80a3964d7ddbcb53b40857d9399a8 (patch)
treee0d00845ae8c65ca6e575ca54c6a1930c76a10f9 /lib
parentfedd3201f34c76ad684fa28d7300bade5d0d7256 (diff)
[rubygems/rubygems] Lower verboseness of user-facing text for bundle gem
https://github.com/rubygems/rubygems/commit/288f073c3c
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli/gem.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb
index 05a5537d74..e42077b428 100644
--- a/lib/bundler/cli/gem.rb
+++ b/lib/bundler/cli/gem.rb
@@ -239,8 +239,7 @@ module Bundler
Bundler.ui.confirm "Do you want to generate tests with your gem?"
Bundler.ui.info hint_text("test")
- result = Bundler.ui.ask "Enter a framework name to generate those test files now. " \
- "rspec/minitest/test-unit/(none):"
+ result = Bundler.ui.ask "Enter a test framework. rspec/minitest/test-unit/(none):"
if result =~ /rspec|minitest|test-unit/
test_framework = result
else
@@ -268,9 +267,8 @@ module Bundler
ci_template = options[:ci] || Bundler.settings["gem.ci"]
if ci_template.to_s.empty?
- Bundler.ui.confirm "Do you want to set up automated testing for your gem? " \
- "Continuous integration services make it easy to see if pull requests have passing tests " \
- "before you merge them. Bundler supports these services:\n" \
+ Bundler.ui.confirm "Do you want to set up continuous integration for your gem? " \
+ "Supported services:\n" \
"* CircleCI: https://circleci.com/\n" \
"* GitHub Actions: https://github.com/features/actions\n" \
"* GitLab CI: https://docs.gitlab.com/ee/ci/\n" \
@@ -278,8 +276,7 @@ module Bundler
"\n"
Bundler.ui.info hint_text("ci")
- result = Bundler.ui.ask "Enter a service name to generate a CI configuration now. " \
- "github/travis/gitlab/circle/(none):"
+ result = Bundler.ui.ask "Enter a CI service. github/travis/gitlab/circle/(none):"
if result =~ /github|travis|gitlab|circle/
ci_template = result
else