debian/0000755000000000000000000000000012222372074007167 5ustar debian/patches/0000755000000000000000000000000012222372074010616 5ustar debian/patches/series0000644000000000000000000000004612222372074012033 0ustar skip_tests_requiring_net_connectivity debian/patches/skip_tests_requiring_net_connectivity0000644000000000000000000000251112222372074020461 0ustar Date: Thu, 09 Aug 2012 18:47:53 -0500 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684421 Origin: Debian Forwarded: Not-needed Author: Gunnar Wolf Description: Fix FTBFS when built with no network access Index: ruby-net-http-persistent/test/test_net_http_persistent.rb =================================================================== --- ruby-net-http-persistent.orig/test/test_net_http_persistent.rb 2012-07-25 17:37:02.000000000 -0500 +++ ruby-net-http-persistent/test/test_net_http_persistent.rb 2012-08-09 18:45:55.000000000 -0500 @@ -354,6 +354,7 @@ end def test_connection_for_http_class_with_fakeweb + skip 'No network access can be assumed at Debian package build time' Object.send :const_set, :FakeWeb, nil c = @http.connection_for @uri assert_instance_of Net::HTTP, c @@ -364,6 +365,7 @@ end def test_connection_for_http_class_with_webmock + skip 'No network access can be assumed at Debian package build time' Object.send :const_set, :WebMock, nil c = @http.connection_for @uri assert_instance_of Net::HTTP, c @@ -385,6 +387,7 @@ end def test_connection_for_no_ssl_reuse + skip 'No network access can be assumed at Debian package build time' @http.reuse_ssl_sessions = false @http.open_timeout = 123 @http.read_timeout = 321 debian/ruby-test-files.yaml0000644000000000000000000000012512222372074013107 0ustar --- - test/test_net_http_persistent.rb - test/test_net_http_persistent_ssl_reuse.rb debian/ruby-net-http-persistent.docs0000644000000000000000000000001412222372074014754 0ustar README.rdoc debian/source/0000755000000000000000000000000012222372074010467 5ustar debian/source/format0000644000000000000000000000001412222372074011675 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212222372074010365 0ustar 7 debian/copyright0000644000000000000000000000260012222372074011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: net-http-persistent Source: http://docs.seattlerb.org/net-http-persistent/ Files: * Copyright: © 2010 Eric Hodel © 2010 Aaron Patterson License: Expat Files: debian/* Copyright: 2012 Gunnar Wolf License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/changelog0000644000000000000000000000321212222372074011037 0ustar ruby-net-http-persistent (2.9-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Mon, 30 Sep 2013 16:57:22 -0500 ruby-net-http-persistent (2.8-1) unstable; urgency=low * Team upload. * New upstream release. * Remove outdated DM-Upload-Allowed flag * Bump Standards-Version to 3.9.4 (no changes needed) * Update debian/copyright to match copyright-format/1.0 * Drop patch workaround_persistent_ssl_reuse_failing_test, applied upstream * Use canonical URLs in Vcs-* fields -- Christian Hofstaedtler Tue, 07 May 2013 23:02:49 +0200 ruby-net-http-persistent (2.7-2) unstable; urgency=low * Skip the tests that require network connectivity to pass (Closes: #684421) -- Gunnar Wolf Thu, 09 Aug 2012 18:47:53 -0500 ruby-net-http-persistent (2.7-1) unstable; urgency=low * Team upload. * New upstream release. * Build against gem2deb >=0.3.0~. * Bump Standards-Version: to 3.9.3 (no changes needed) * add debian/patches/workaround_persistent_ssl_reuse_failing_test.patch + Use a longer RSA key in test/test/test_net_http_persistent_ssl_reuse.rb. Thanks Christian Hofstaedtler (Closes: #665255) -- Cédric Boutillier Wed, 27 Jun 2012 22:37:09 +0200 ruby-net-http-persistent (2.5.2-1) unstable; urgency=low [ Gunnar Wolf ] * New upstream version [ Cédric Boutillier ] -- Gunnar Wolf Thu, 08 Mar 2012 17:49:23 -0600 ruby-net-http-persistent (2.3.3-1) unstable; urgency=low * Initial release (Closes: #656279) -- Gunnar Wolf Tue, 17 Jan 2012 17:47:26 -0600 debian/rules0000755000000000000000000000070112222372074010245 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/watch0000644000000000000000000000017312222372074010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/net-http-persistent .*/net-http-persistent-(.*).tar.gz debian/control0000644000000000000000000000236212222372074010575 0ustar Source: ruby-net-http-persistent Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Gunnar Wolf Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-minitest Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-net-http-persistent.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-net-http-persistent.git;a=summary Homepage: http://docs.seattlerb.org/net-http-persistent XS-Ruby-Versions: all Package: ruby-net-http-persistent Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Manages persistent connections using Net::HTTP This package provides persistent connections to Net::HTTP. . Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Using persistent HTTP connections can dramatically increase the speed of HTTP. . Net::HTTP supports persistent connections with some API methods but does not handle reconnection gracefully. Net::HTTP::Persistent supports reconnection and retry according to RFC 2616.