summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch')
-rw-r--r--dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch b/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch
deleted file mode 100644
index 9c3ccc0cf912..000000000000
--- a/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit f00c791c8baa150bea4de7a4efbe941b93470c02
-Author: Sam Soffes <sam@samsoff.es>
-Date: Fri Sep 14 11:55:10 2012 -0700
-
- Support Sinatra::ExtendedRack. Fixes #30
-
-diff --git a/lib/sinatra/async/test.rb b/lib/sinatra/async/test.rb
-index 1571dbe..7e98aca 100644
---- a/lib/sinatra/async/test.rb
-+++ b/lib/sinatra/async/test.rb
-@@ -87,6 +87,8 @@ class Sinatra::Async::Test
- # This hack exists because sinatra is now returning a proper rack stack.
- # We might need to consider alternative approaches in future.
- app = app()
-+ app = app.app if app.is_a?(Sinatra::ExtendedRack)
-+
- until app.nil? || app.is_a?(Sinatra::Base)
- app = app.instance_variable_get(:@app)
- end