From 091daaa715e80a3964d7ddbcb53b40857d9399a8 Mon Sep 17 00:00:00 2001 From: Frank Lam Date: Sun, 31 May 2020 14:58:16 +0800 Subject: [rubygems/rubygems] Lower verboseness of user-facing text for bundle gem https://github.com/rubygems/rubygems/commit/288f073c3c --- lib/bundler/cli/gem.rb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3