summaryrefslogtreecommitdiff
path: root/spec/bundler/plugins/source
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
commitc02174354e6e963b0375fb8faf0b6045ec27a43f (patch)
treeef02f7a13b4a0b47fa7622d360178d9c2adaa177 /spec/bundler/plugins/source
parent15c977803d3e54045ed34d25d56eb11706c0db68 (diff)
Follow up r60970 for bundler's examples.
r60970 break Gemfile.lock format with file protocol after bundle install/update. I addd hostname to these examples. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler/plugins/source')
-rw-r--r--spec/bundler/plugins/source/example_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/plugins/source/example_spec.rb b/spec/bundler/plugins/source/example_spec.rb
index 0dbd9a2a0f..2b59244782 100644
--- a/spec/bundler/plugins/source/example_spec.rb
+++ b/spec/bundler/plugins/source/example_spec.rb
@@ -52,7 +52,7 @@ RSpec.describe "real source plugins" do
build_lib "a-path-gem"
gemfile <<-G
- source "file://#{gem_repo2}" # plugin source
+ source "file://localhost#{gem_repo2}" # plugin source
source "#{lib_path("a-path-gem-1.0")}", :type => :mpath do
gem "a-path-gem"
end
@@ -78,7 +78,7 @@ RSpec.describe "real source plugins" do
a-path-gem (1.0)
GEM
- remote: file:#{gem_repo2}/
+ remote: file://localhost#{gem_repo2}/
specs:
PLATFORMS
@@ -346,7 +346,7 @@ RSpec.describe "real source plugins" do
build_git "ma-gitp-gem"
gemfile <<-G
- source "file://#{gem_repo2}" # plugin source
+ source "file://localhost#{gem_repo2}" # plugin source
source "file://#{lib_path("ma-gitp-gem-1.0")}", :type => :gitp do
gem "ma-gitp-gem"
end
@@ -372,7 +372,7 @@ RSpec.describe "real source plugins" do
ma-gitp-gem (1.0)
GEM
- remote: file:#{gem_repo2}/
+ remote: file://localhost#{gem_repo2}/
specs:
PLATFORMS