Skip to content

Commit 519b233

Browse files
deivid-rodriguezhsbt
authored andcommitted
Test with sinatra to 4.1.0
1 parent 4a7ac69 commit 519b233

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

spec/bundler/install/gemspecs_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
it "should use gemspecs in the system cache when available" do
3232
gemfile <<-G
33-
source "http://localtestserver.gem"
33+
source "http://localgemserver.test"
3434
gem 'myrack'
3535
G
3636

spec/bundler/runtime/inline_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def script(code, options = {})
8181

8282
script <<-RUBY, artifice: "endpoint"
8383
gemfile(true) do
84-
source "https://notaserver.com"
84+
source "https://notaserver.test"
8585
gem "activesupport", :require => true
8686
end
8787
RUBY
@@ -103,7 +103,7 @@ def confirm(msg, newline = nil)
103103
my_ui = MyBundlerUI.new
104104
my_ui.level = "confirm"
105105
gemfile(true, :ui => my_ui) do
106-
source "https://notaserver.com"
106+
source "https://notaserver.test"
107107
gem "activesupport", :require => true
108108
end
109109
RUBY
@@ -116,7 +116,7 @@ def confirm(msg, newline = nil)
116116
require 'bundler/inline'
117117
118118
gemfile(true, :quiet => true) do
119-
source "https://notaserver.com"
119+
source "https://notaserver.test"
120120
gem "activesupport", :require => true
121121
end
122122
RUBY
@@ -363,7 +363,7 @@ def confirm(msg, newline = nil)
363363

364364
it "installs inline gems when a Gemfile.lock is present" do
365365
gemfile <<-G
366-
source "https://notaserver.com"
366+
source "https://notaserver.test"
367367
gem "rake"
368368
G
369369

@@ -397,7 +397,7 @@ def confirm(msg, newline = nil)
397397

398398
it "does not leak Gemfile.lock versions to the installation output" do
399399
gemfile <<-G
400-
source "https://notaserver.com"
400+
source "https://notaserver.test"
401401
gem "rake"
402402
G
403403

spec/bundler/support/artifice/compact_index_creds_diff_host.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def protected!
2424
end
2525

2626
get "/gems/:id" do
27-
redirect "http://diffhost.com/no/creds/#{params[:id]}"
27+
redirect "http://diffhost.test/no/creds/#{params[:id]}"
2828
end
2929

3030
get "/no/creds/:id" do

spec/bundler/support/artifice/endpoint_creds_diff_host.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def protected!
2424
end
2525

2626
get "/gems/:id" do
27-
redirect "http://diffhost.com/no/creds/#{params[:id]}"
27+
redirect "http://diffhost.test/no/creds/#{params[:id]}"
2828
end
2929

3030
get "/no/creds/:id" do

spec/bundler/support/artifice/helpers/endpoint.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def self.all_requests
2727

2828
set :raise_errors, true
2929
set :show_exceptions, false
30+
set :host_authorization, permitted_hosts: [".example.org", ".local", ".repo", ".repo1", ".repo2", ".repo3", ".repo4", ".rubygems.org", ".security", ".source", ".test", "127.0.0.1"]
3031

3132
def call!(*)
3233
super.tap do

tool/bundler/test_gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
gem "webrick", "~> 1.8"
99
gem "rack-test", "~> 2.1"
1010
gem "compact_index", "~> 0.15.0"
11-
gem "sinatra", "~> 4.0"
11+
gem "sinatra", "~> 4.1"
1212
gem "rake", "~> 13.1"
1313
gem "builder", "~> 3.2"
1414
gem "rb_sys"

0 commit comments

Comments
 (0)