[DRE-commits] [ruby-sinatra] 02/05: Drop obsolete patch

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Apr 10 22:43:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository ruby-sinatra.

commit f6b0980acfb5eda8676b8d0fd0aef494d2336476
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Apr 10 22:16:41 2014 +0200

    Drop obsolete patch
---
 debian/patches/series                       |  1 -
 debian/patches/test-disable-path-protection | 19 -------------------
 2 files changed, 20 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index d37f4d1..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-test-disable-path-protection
diff --git a/debian/patches/test-disable-path-protection b/debian/patches/test-disable-path-protection
deleted file mode 100644
index 6d6b7c4..0000000
--- a/debian/patches/test-disable-path-protection
+++ /dev/null
@@ -1,19 +0,0 @@
-Upstream commit: https://github.com/sinatra/sinatra/commit/c5c9f6b5501a366d5809faa44e50fad371c14870
-Fixes test failure on Ruby 1.9.
-
-Index: ruby-sinatra/test/routing_test.rb
-===================================================================
---- ruby-sinatra.orig/test/routing_test.rb	2013-08-15 17:52:13.941606687 +0200
-+++ ruby-sinatra/test/routing_test.rb	2013-12-02 21:10:15.918998018 +0100
-@@ -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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sinatra.git



More information about the Pkg-ruby-extras-commits mailing list