debian/0000755000000000000000000000000012162575552007200 5ustar debian/ruby-tests.rb0000644000000000000000000000007712162575552011652 0ustar $: << "test" Dir['{spec,test}/**/*.rb'].each { |f| require f } debian/patches/0000755000000000000000000000000012162575552010627 5ustar debian/patches/remove_bundler_rubygems_stuff.patch0000644000000000000000000000144312162575552020006 0ustar Description: disable the use of rubygems/bundler in tests not needed since all dependencies are provided as Debian packages Author: Cédric Boutillier Last-Update: 2012-06-27 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,12 +1,12 @@ -require 'rubygems' -require 'bundler' -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end +# require 'rubygems' +# require 'bundler' +# begin +# Bundler.setup(:default, :development) +# rescue Bundler::BundlerError => e +# $stderr.puts e.message +# $stderr.puts "Run `bundle install` to install missing gems" +# exit e.status_code +# end require 'test/unit' require 'shoulda' debian/patches/series0000644000000000000000000000004412162575552012042 0ustar remove_bundler_rubygems_stuff.patch debian/source/0000755000000000000000000000000012162575552010500 5ustar debian/source/format0000644000000000000000000000001412162575552011706 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212162575552010376 0ustar 7 debian/copyright0000644000000000000000000001243112162575552011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: domain_name Source: http://github.com/knu/ruby-domain_name Files: * Copyright: © 2011 Akinori MUSHA License: BSD-2-clause Files: lib/domain_name/punycode.rb Copyright: © 2000-2002 John Colosi (Verisign) © 2000-2002 Srikanth Veeramachaneni (VeriSign) © 2000-2002 Nagesh Chigurupati (Verisign) © 2000-2002 Praveen Srinivasan(Verisign) License: BSD-3-clause Files: lib/domain_name/etld_data.rb Copyright: © 2007 Jo Hermans © Ruben Arakelyan © Gervase Markham © Pamela Greene © David Triendl © Jothan Frakes License: MPL-1.1 or GPL-2 or LGPL-2.1 Files: debian/* Copyright: 2012 Gunnar Wolf License: BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3) Neither the name of the VeriSign Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . This software is licensed under the BSD open source license. For more information visit www.opensource.org. License: GPL-2 In Debian systems, the full text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 License: LGPL-2.1 In Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1 License: MPL-1.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ . Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. . The Original Code is the Public Suffix List. . The contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. debian/ruby-domain-name.install0000644000000000000000000000004412162575552013732 0ustar data/* /usr/share/ruby-domain-name/ debian/changelog0000644000000000000000000000175512162575552011062 0ustar ruby-domain-name (0.5.12-1) unstable; urgency=low * New upstream release * Standards-version 3.9.3 → 3.9.4 (no changes needed) -- Gunnar Wolf Wed, 26 Jun 2013 09:30:28 -0500 ruby-domain-name (0.5.3-1) unstable; urgency=low * Team upload * New upstream version * Build against gem2deb >=0.3.0~ * Bump Standards-Version: to 3.9.3 (no changes needed) * Add debian/patches/remove_bundler_rubygems_stuff.patch * Add 'unapply-patches' to debian/source/local-options * Enable test suite; build-depend on ruby-shoulda * Update debian/copyright Format; to copyright-format/1.0 -- Cédric Boutillier Thu, 28 Jun 2012 15:30:29 +0200 ruby-domain-name (0.5.2-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Fri, 09 Mar 2012 09:41:08 -0600 ruby-domain-name (0.5.1-1) unstable; urgency=low * Initial release (Closes: #656282) -- Gunnar Wolf Tue, 17 Jan 2012 18:13:09 -0600 debian/rules0000755000000000000000000000070112162575552010256 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/ruby-domain-name.docs0000644000000000000000000000001212162575552013207 0ustar README.md debian/watch0000644000000000000000000000015312162575552010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/domain_name .*/domain_name-(.*).tar.gz debian/control0000644000000000000000000000160112162575552010601 0ustar Source: ruby-domain-name Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Gunnar Wolf Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-unf, ruby-shoulda Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-domain-name.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-domain-name.git;a=summary Homepage: http://github.com/knu/ruby-domain_name XS-Ruby-Versions: all Package: ruby-domain-name Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-unf Description: Domain Name manipulation library for Ruby This is a Domain Name manipulation library for Ruby. . It can also be used for cookie domain validation based on the Public Suffix List.