[前][次][番号順一覧][スレッド一覧]

ruby-changes:67448

From: Tim <ko1@a...>
Date: Tue, 31 Aug 2021 19:07:32 +0900 (JST)
Subject: [ruby-changes:67448] d7c734a27e (master): [rubygems/rubygems] typos in UI messages: fix a couple missing spaces between sentence breaks

https://git.ruby-lang.org/ruby.git/commit/?id=d7c734a27e

From d7c734a27e816992b592ebc586856a8a23b144fe Mon Sep 17 00:00:00 2001
From: Tim Sutton <tim@s...>
Date: Sat, 31 Jul 2021 22:25:20 -0400
Subject: [rubygems/rubygems] typos in UI messages: fix a couple missing spaces
 between sentence breaks

https://github.com/rubygems/rubygems/commit/5cdda53382
---
 lib/bundler/dsl.rb                    | 2 +-
 lib/bundler/errors.rb                 | 2 +-
 spec/bundler/bundler/dsl_spec.rb      | 2 +-
 spec/bundler/commands/install_spec.rb | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 3517a10..ed7b3e2 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -457,7 +457,7 @@ repo_name ||= user_name https://github.com/ruby/ruby/blob/trunk/lib/bundler/dsl.rb#L457
     def implicit_global_source_warning
       Bundler::SharedHelpers.major_deprecation 2, "This Gemfile does not include an explicit global source. " \
         "Not using an explicit global source may result in a different lockfile being generated depending on " \
-        "the gems you have installed locally before bundler is run." \
+        "the gems you have installed locally before bundler is run. " \
         "Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\"."
     end
 
diff --git a/lib/bundler/errors.rb b/lib/bundler/errors.rb
index 11763b4..565aaee 100644
--- a/lib/bundler/errors.rb
+++ b/lib/bundler/errors.rb
@@ -122,7 +122,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/errors.rb#L122
 
   class VirtualProtocolError < BundlerError
     def message
-      "There was an error relating to virtualization and file access." \
+      "There was an error relating to virtualization and file access. " \
       "It is likely that you need to grant access to or mount some file system correctly."
     end
 
diff --git a/spec/bundler/bundler/dsl_spec.rb b/spec/bundler/bundler/dsl_spec.rb
index e6cd43a..4d14949 100644
--- a/spec/bundler/bundler/dsl_spec.rb
+++ b/spec/bundler/bundler/dsl_spec.rb
@@ -250,7 +250,7 @@ RSpec.describe Bundler::Dsl do https://github.com/ruby/ruby/blob/trunk/spec/bundler/bundler/dsl_spec.rb#L250
 
         warning = "This Gemfile does not include an explicit global source. " \
           "Not using an explicit global source may result in a different lockfile being generated depending on " \
-          "the gems you have installed locally before bundler is run." \
+          "the gems you have installed locally before bundler is run. " \
           "Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\"."
         expect(Bundler::SharedHelpers).to receive(:major_deprecation).with(2, warning)
 
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb
index babb0c6..35c45b6 100644
--- a/spec/bundler/commands/install_spec.rb
+++ b/spec/bundler/commands/install_spec.rb
@@ -336,7 +336,7 @@ RSpec.describe "bundle install with gem sources" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/commands/install_spec.rb#L336
 
       expect(err).to include("This Gemfile does not include an explicit global source. " \
         "Not using an explicit global source may result in a different lockfile being generated depending on " \
-        "the gems you have installed locally before bundler is run." \
+        "the gems you have installed locally before bundler is run. " \
         "Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\".")
     end
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]