1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] typos in UI messages: fix a couple missing spaces between sentence breaks

https://github.com/rubygems/rubygems/commit/5cdda53382
This commit is contained in:
Tim Sutton 2021-07-31 22:25:20 -04:00 committed by Hiroshi SHIBATA
parent 97de4c02ad
commit d7c734a27e
Notes: git 2021-08-31 19:07:19 +09:00
4 changed files with 4 additions and 4 deletions

View file

@ -457,7 +457,7 @@ repo_name ||= user_name
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

View file

@ -122,7 +122,7 @@ module Bundler
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

View file

@ -250,7 +250,7 @@ RSpec.describe Bundler::Dsl do
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)

View file

@ -336,7 +336,7 @@ RSpec.describe "bundle install with gem sources" do
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