summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-26 18:25:02 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-31 13:00:11 +0100
commit6573baca3909c895986deba6aac3b63294f19a42 (patch)
treeb3b77ead2996a419946ff8804fc578ed64100890 /dev-ruby
parente848d70e6c115886ee4103285dbf3ab19d2d0d92 (diff)
downloadgentoo-6573baca3909c895986deba6aac3b63294f19a42.tar.gz
gentoo-6573baca3909c895986deba6aac3b63294f19a42.tar.xz
dev-ruby/sinatra: remove unused patch.
Closes: https://github.com/gentoo/gentoo/pull/2417 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch b/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch
deleted file mode 100644
index 25ed73097bf..00000000000
--- a/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit c5c9f6b5501a366d5809faa44e50fad371c14870
-Author: Jon Rowe <hello@jonrowe.co.uk>
-Date: Tue Oct 29 14:18:46 2013 +1100
-
- fixes the build by disabling path traversal protection for this test
-
- Seems that this test is in direct competition with the desired
- behaviour of path traversal protection.
-
-diff --git a/test/routing_test.rb b/test/routing_test.rb
-index 410bfda..5584601 100644
---- a/test/routing_test.rb
-+++ b/test/routing_test.rb
-@@ -90,7 +90,10 @@ class RoutingTest < Test::Unit::TestCase
- end
-
- it "it handles encoded slashes correctly" do
-- mock_app { get("/:a") { |a| a } }
-+ mock_app {
-+ set :protection, :except => :path_traversal
-+ get("/:a") { |a| a }
-+ }
- get '/foo%2Fbar'
- assert_equal 200, status
- assert_body "foo/bar"