[DRE-commits] [ruby-net-ldap] 03/07: Remove unused fix_require_in_tests patch and do a little spring cleaning :-)

Sebastien Badia sbadia-guest at moszumanska.debian.org
Fri Apr 10 15:47:27 UTC 2015


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

sbadia-guest pushed a commit to branch master
in repository ruby-net-ldap.

commit 89b0a78841be12a48d461b58082163c15d3e383b
Author: Sebastien Badia <seb at sebian.fr>
Date:   Fri Apr 10 17:21:47 2015 +0200

    Remove unused fix_require_in_tests patch and do a little spring cleaning :-)
---
 debian/patches/0001-disable_online_tests.patch     | 10 ----
 .../0002-lt_and_gt_removed_from_filter.patch       | 27 ---------
 debian/patches/0003-fix_require_in_tests.patch     | 67 ----------------------
 debian/patches/series                              |  1 -
 4 files changed, 105 deletions(-)

diff --git a/debian/patches/0001-disable_online_tests.patch b/debian/patches/0001-disable_online_tests.patch
deleted file mode 100644
index c6dae08..0000000
--- a/debian/patches/0001-disable_online_tests.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/tests/testem.rb
-+++ b/tests/testem.rb
-@@ -5,7 +5,6 @@
- require 'test/unit'
- require 'tests/testber'
- require 'tests/testldif'
--require 'tests/testldap'
- require 'tests/testpsw'
- require 'tests/testfilter'
- 
diff --git a/debian/patches/0002-lt_and_gt_removed_from_filter.patch b/debian/patches/0002-lt_and_gt_removed_from_filter.patch
deleted file mode 100644
index fcfcc55..0000000
--- a/debian/patches/0002-lt_and_gt_removed_from_filter.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/lib/net/ldap/filter.rb
-+++ b/lib/net/ldap/filter.rb
-@@ -365,12 +365,8 @@ class FilterParser #:nodoc:
-             Filter.eq( token, value )
-           when "!="
-             Filter.ne( token, value )
--          when "<"
--            Filter.lt( token, value )
-           when "<="
-             Filter.le( token, value )
--          when ">"
--            Filter.gt( token, value )
-           when ">="
-             Filter.ge( token, value )
-           end
---- a/tests/testfilter.rb
-+++ b/tests/testfilter.rb
-@@ -21,9 +21,7 @@ class TestFilter < Test::Unit::TestCase
-   def test_rfc_2254
-     p Net::LDAP::Filter.from_rfc2254( " ( uid=george*   ) " )
-     p Net::LDAP::Filter.from_rfc2254( "uid!=george*" )
--    p Net::LDAP::Filter.from_rfc2254( "uid<george*" )
-     p Net::LDAP::Filter.from_rfc2254( "uid <= george*" )
--    p Net::LDAP::Filter.from_rfc2254( "uid>george*" )
-     p Net::LDAP::Filter.from_rfc2254( "uid>=george*" )
-     p Net::LDAP::Filter.from_rfc2254( "uid!=george*" )
- 
diff --git a/debian/patches/0003-fix_require_in_tests.patch b/debian/patches/0003-fix_require_in_tests.patch
deleted file mode 100644
index ea7ee41..0000000
--- a/debian/patches/0003-fix_require_in_tests.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Description: Fix require in test/test*.rb
- Those tests cannot be invoked from CURDIR
-Forwarded: not-needed
-Author: Jérémy Lal <kapouer at melix.org>
-Last-Update: 2012-05-14
---- a/test/test_entry.rb
-+++ b/test/test_entry.rb
-@@ -1,4 +1,4 @@
--require 'common'
-+require 'test/common'
- 
- =begin
- class TestEntry < Test::Unit::TestCase
---- a/test/test_filter.rb
-+++ b/test/test_filter.rb
-@@ -1,4 +1,4 @@
--require 'common'
-+require 'test/common'
- 
- class TestFilter < Test::Unit::TestCase
-   Filter = Net::LDAP::Filter
---- a/test/test_ldap_connection.rb
-+++ b/test/test_ldap_connection.rb
-@@ -1,4 +1,4 @@
--require 'common'
-+require 'test/common'
- 
- class TestLDAP < Test::Unit::TestCase
-   def test_modify_ops_delete
---- a/test/test_ldif.rb
-+++ b/test/test_ldif.rb
-@@ -1,6 +1,6 @@
- # $Id: testldif.rb 61 2006-04-18 20:55:55Z blackhedd $
- 
--require 'common'
-+require 'test/common'
- 
- require 'digest/sha1'
- require 'base64'
---- a/test/test_password.rb
-+++ b/test/test_password.rb
-@@ -1,6 +1,6 @@
- # $Id: testpsw.rb 72 2006-04-24 21:58:14Z blackhedd $
- 
--require 'common'
-+require 'test/common'
- 
- class TestPassword < Test::Unit::TestCase
- 
---- a/test/test_rename.rb
-+++ b/test/test_rename.rb
-@@ -1,4 +1,4 @@
--require 'common'
-+require 'test/common'
- 
- # Commented out since it assumes you have a live LDAP server somewhere. This
- # will be migrated to the integration specs, as soon as they are ready. 
---- a/test/test_snmp.rb
-+++ b/test/test_snmp.rb
-@@ -1,6 +1,6 @@
- # $Id: testsnmp.rb 231 2006-12-21 15:09:29Z blackhedd $
- 
--require 'common'
-+require 'test/common'
- require 'net/snmp'
- 
- class TestSnmp < Test::Unit::TestCase
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index bb876ed..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0003-fix_require_in_tests.patch

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



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