summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-06 16:59:02 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-06 18:36:08 +0200
commit09ecaf04fa5da7bbf8479e9555f3789e097ff24f (patch)
tree9cc03d33b7db3d9c1b25946145f0bfc9394ff76d
parentf11c9a2b3f49387413222ee7c4448d42615700d7 (diff)
downloadbundler-bump_test_deps.tar.gz
Bump rack and sinatra to latest versionsbump_test_deps
-rw-r--r--spec/support/artifice/endpoint.rb3
-rw-r--r--spec/support/artifice/endpoint_500.rb2
-rw-r--r--spec/support/artifice/windows.rb2
-rw-r--r--spec/support/rubygems_ext.rb5
4 files changed, 6 insertions, 6 deletions
diff --git a/spec/support/artifice/endpoint.rb b/spec/support/artifice/endpoint.rb
index fcced6ea35..d9e9e0ae0a 100644
--- a/spec/support/artifice/endpoint.rb
+++ b/spec/support/artifice/endpoint.rb
@@ -4,7 +4,8 @@ require File.expand_path("../../path.rb", __FILE__)
require Spec::Path.root.join("lib/bundler/deprecate")
include Spec::Path
-$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s))
+$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,mustermann,rack,tilt,sinatra}-*/lib")].map(&:to_s))
+
require "artifice"
require "sinatra/base"
diff --git a/spec/support/artifice/endpoint_500.rb b/spec/support/artifice/endpoint_500.rb
index 202ccfc829..ad51d58e67 100644
--- a/spec/support/artifice/endpoint_500.rb
+++ b/spec/support/artifice/endpoint_500.rb
@@ -3,7 +3,7 @@
require File.expand_path("../../path.rb", __FILE__)
include Spec::Path
-$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s))
+$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,mustermann,rack,tilt,sinatra}-*/lib")].map(&:to_s))
require "artifice"
require "sinatra/base"
diff --git a/spec/support/artifice/windows.rb b/spec/support/artifice/windows.rb
index f7fe26ae7b..0630798df0 100644
--- a/spec/support/artifice/windows.rb
+++ b/spec/support/artifice/windows.rb
@@ -3,7 +3,7 @@
require File.expand_path("../../path.rb", __FILE__)
include Spec::Path
-$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s))
+$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,mustermann,rack,tilt,sinatra}-*/lib")].map(&:to_s))
require "artifice"
require "sinatra/base"
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb
index b97b5278ce..ed2f7554b2 100644
--- a/spec/support/rubygems_ext.rb
+++ b/spec/support/rubygems_ext.rb
@@ -16,12 +16,11 @@ module Spec
}.freeze
DEPS = {
- # artifice doesn't support rack 2.x now.
- "rack" => "< 2.0",
+ "rack" => "~> 2.0",
"rack-test" => "~> 1.1",
"artifice" => "~> 0.6.0",
"compact_index" => "~> 0.11.0",
- "sinatra" => "~> 1.4.7",
+ "sinatra" => "~> 2.0",
# Rake version has to be consistent for tests to pass
"rake" => "12.3.2",
"builder" => "~> 3.2",