зеркало из https://github.com/github/ruby.git
[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:
Родитель
97de4c02ad
Коммит
d7c734a27e
|
@ -457,7 +457,7 @@ repo_name ||= user_name
|
||||||
def implicit_global_source_warning
|
def implicit_global_source_warning
|
||||||
Bundler::SharedHelpers.major_deprecation 2, "This Gemfile does not include an explicit global source. " \
|
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 " \
|
"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\"."
|
"Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\"."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ module Bundler
|
||||||
|
|
||||||
class VirtualProtocolError < BundlerError
|
class VirtualProtocolError < BundlerError
|
||||||
def message
|
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."
|
"It is likely that you need to grant access to or mount some file system correctly."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -250,7 +250,7 @@ RSpec.describe Bundler::Dsl do
|
||||||
|
|
||||||
warning = "This Gemfile does not include an explicit global source. " \
|
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 " \
|
"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\"."
|
"Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\"."
|
||||||
expect(Bundler::SharedHelpers).to receive(:major_deprecation).with(2, warning)
|
expect(Bundler::SharedHelpers).to receive(:major_deprecation).with(2, warning)
|
||||||
|
|
||||||
|
|
|
@ -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. " \
|
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 " \
|
"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\".")
|
"Instead, define a global source in your Gemfile like this: source \"https://rubygems.org\".")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче