debian/0000755000000000000000000000000012224221434007162 5ustar debian/rules0000755000000000000000000000070111635725512010253 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/watch0000644000000000000000000000014711635725512010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ipaddress .*/ipaddress-(.*).tar.gz debian/source/0000755000000000000000000000000011635725512010475 5ustar debian/source/format0000644000000000000000000000001411635725512011703 0ustar 3.0 (quilt) debian/ruby-ipaddress.docs0000644000000000000000000000001411635725512012777 0ustar README.rdoc debian/copyright0000644000000000000000000000251712224221361011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ipaddress Source: https://github.com/bluemonk/ipaddress Files: * Copyright: Copyright (c) 2009-2011 Marco Ceresa License: Expat Files: debian/* Copyright: 2011, Lucas Nussbaum 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/control0000644000000000000000000000171712224221361010572 0ustar Source: ruby-ipaddress Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , David Suárez Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.3) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ipaddress.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-ipaddress.git;a=summary Homepage: http://github.com/bluemonk/ipaddress XS-Ruby-Versions: all Package: ruby-ipaddress Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby library to manipulate IPv4/IPv6 addresses IPAddress is a Ruby library designed to make manipulation of IPv4 and IPv6 addresses both powerful and simple. It maintains a layer of compatibility with Ruby's own IPAddr, while addressing many of its issues. debian/patches/0000755000000000000000000000000012224076235010620 5ustar debian/patches/001-fix-tests-strings-encoding0000644000000000000000000000166012224076235016245 0ustar Description: Fix tests strings encodings Fix the encoding of some string literals in the test code Bug-Debian: http://bugs.debian.org/720251 Author: David Suárez --- ruby-ipaddress-0.8.0.orig/test/ipaddress/ipv4_test.rb +++ ruby-ipaddress-0.8.0/test/ipaddress/ipv4_test.rb @@ -109,7 +109,7 @@ class IPv4Test < Test::Unit::TestCase end def test_method_data - assert_equal "\254\020\n\001", @ip.data + assert_equal "\254\020\n\001".force_encoding('ASCII-8BIT'), @ip.data end def test_method_to_string --- ruby-ipaddress-0.8.0.orig/test/ipaddress/ipv6_test.rb +++ ruby-ipaddress-0.8.0/test/ipaddress/ipv6_test.rb @@ -180,7 +180,7 @@ class IPv6Test < Test::Unit::TestCase end def test_method_data - str = " \001\r\270\000\000\000\000\000\b\b\000 \fAz" + str = " \001\r\270\000\000\000\000\000\b\b\000 \fAz".force_encoding('ASCII-8BIT') assert_equal str, @ip.data end debian/patches/series0000644000000000000000000000003712224076235012035 0ustar 001-fix-tests-strings-encoding debian/compat0000644000000000000000000000000211635725512010373 0ustar 7 debian/changelog0000644000000000000000000000141512224221361011034 0ustar ruby-ipaddress (0.8.0-2) unstable; urgency=low * Fix failing tests on ruby2 (Closes: #720251) * Bump standards version to 3.9.4; no changes needed * Update the copyright format specification to the latest version [ Cédric Boutillier ] * use canonical anonscm.debian.org URI in Vcs-* fields * remove obsolete DM-Upload-Allowed flag * use DEP5 copyright-format/1.0 official URL in debian/copyright -- David Suárez Sun, 06 Oct 2013 10:07:58 +0200 ruby-ipaddress (0.8.0-1) unstable; urgency=low * New upstream release. -- Lucas Nussbaum Sat, 30 Jul 2011 15:20:00 +0200 ruby-ipaddress (0.7.5-1) unstable; urgency=low * Initial release. -- Lucas Nussbaum Fri, 13 May 2011 09:42:14 +0200 debian/ruby-tests.rb0000644000000000000000000000011511635725512011640 0ustar $: << 'lib' << 'test' << '.' Dir['test/**/*_test.rb'].each { |f| require f }