[DRE-commits] [ruby-mechanize] 03/07: Refresh patches

Lucas Kanashiro kanashiro at moszumanska.debian.org
Fri Dec 2 15:04:21 UTC 2016


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

kanashiro pushed a commit to branch master
in repository ruby-mechanize.

commit c49e6075a2d3f9a694df3a0daaea8306be9992ed
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Fri Dec 2 12:38:12 2016 -0200

    Refresh patches
---
 debian/changelog                                         |  1 +
 .../0003-Replace-dep-on-ntlm-http-by-rubyntlm.patch      |  6 ++----
 debian/patches/set_path_for_test                         | 16 ++++++----------
 3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7abc0e9..4c00003 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-mechanize (2.7.5-1) UNRELEASED; urgency=medium
 
   * New upstream version 2.7.5
+  * Refresh patches
 
  -- Lucas Kanashiro <kanashiro at debian.org>  Fri, 02 Dec 2016 12:35:26 -0200
 
diff --git a/debian/patches/0003-Replace-dep-on-ntlm-http-by-rubyntlm.patch b/debian/patches/0003-Replace-dep-on-ntlm-http-by-rubyntlm.patch
index c866879..46f4dfe 100644
--- a/debian/patches/0003-Replace-dep-on-ntlm-http-by-rubyntlm.patch
+++ b/debian/patches/0003-Replace-dep-on-ntlm-http-by-rubyntlm.patch
@@ -8,12 +8,10 @@ Forwarded: https://github.com/sparklemotion/mechanize/issues/436
  mechanize.gemspec | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/mechanize.gemspec b/mechanize.gemspec
-index 44ced16..ca4f996 100644
 --- a/mechanize.gemspec
 +++ b/mechanize.gemspec
-@@ -50,7 +50,7 @@ Gem::Specification.new do |spec|
-   spec.add_runtime_dependency "mime-types",           [ ">= 1.17.2", "< 3" ]
+@@ -54,7 +54,7 @@ Gem::Specification.new do |spec|
+   end
    spec.add_runtime_dependency "http-cookie",          [ "~> 1.0" ]
    spec.add_runtime_dependency "nokogiri",             [ "~> 1.6" ]
 -  spec.add_runtime_dependency "ntlm-http",            [ ">= 0.1.1", "~> 0.1"   ]
diff --git a/debian/patches/set_path_for_test b/debian/patches/set_path_for_test
index 973cee1..6e8095f 100644
--- a/debian/patches/set_path_for_test
+++ b/debian/patches/set_path_for_test
@@ -6,11 +6,9 @@ Description: Fix the provided path for te tests
  Gems-installed system, and fails to find the tests' data. Fix it by
  setting the right path for our build environment.
 
-Index: ruby-mechanize/lib/mechanize/test_case.rb
-===================================================================
---- ruby-mechanize.orig/lib/mechanize/test_case.rb	2013-06-24 10:09:24.000000000 -0500
-+++ ruby-mechanize/lib/mechanize/test_case.rb	2013-06-24 10:09:24.000000000 -0500
-@@ -34,7 +34,9 @@
+--- a/lib/mechanize/test_case.rb
++++ b/lib/mechanize/test_case.rb
+@@ -39,7 +39,9 @@ end
  
  class Mechanize::TestCase < Minitest::Test
  
@@ -21,11 +19,9 @@ Index: ruby-mechanize/lib/mechanize/test_case.rb
    REQUESTS = []
  
    ##
-Index: ruby-mechanize/lib/mechanize/test_case/gzip_servlet.rb
-===================================================================
---- ruby-mechanize.orig/lib/mechanize/test_case/gzip_servlet.rb	2013-06-24 10:09:24.000000000 -0500
-+++ ruby-mechanize/lib/mechanize/test_case/gzip_servlet.rb	2013-06-24 10:09:24.000000000 -0500
-@@ -3,7 +3,9 @@
+--- a/lib/mechanize/test_case/gzip_servlet.rb
++++ b/lib/mechanize/test_case/gzip_servlet.rb
+@@ -3,7 +3,9 @@ require 'zlib'
  
  class GzipServlet < WEBrick::HTTPServlet::AbstractServlet
  

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



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