debian/0000755000000000000000000000000011633746603007177 5ustar debian/copyright0000644000000000000000000000415611633746603011140 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: Ruby/DBI dbd-mysql Source: http://rubyforge.org/projects/ruby-dbi Files: * Copyright: Copyright (c) 2008 Erik Hollensbe, Christopher Maujean Copyright (c) 2001, 2002 Michael Neumann License: BSD-3-clause All rights reserved. . 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. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED '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 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. Files: debian/* Copyright: 2002-2011, Dmitry Borodaenko License: GPL-2+ The files hereby included are free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000355311633746603010610 0ustar Source: ruby-dbd-mysql Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.8~) Standards-Version: 3.9.2 Homepage: http://www.rubyforge.org/projects/ruby-dbi XS-Ruby-Versions: all Package: ruby-dbd-mysql Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-dbi, ruby-mysql Replaces: libdbd-mysql-ruby (<< 0.4.4+gem2deb-1~), libdbd-mysql-ruby1.8 (<< 0.4.4+gem2deb-1~), libdbd-mysql-ruby1.9.1 (<< 0.4.4+gem2deb-1~) Breaks: libdbd-mysql-ruby (<< 0.4.4+gem2deb-1~), libdbd-mysql-ruby1.8 (<< 0.4.4+gem2deb-1~), libdbd-mysql-ruby1.9.1 (<< 0.4.4+gem2deb-1~) Provides: libdbd-mysql-ruby, libdbd-mysql-ruby1.8, libdbd-mysql-ruby1.9.1 Description: Ruby/DBI MySQL driver Ruby/DBI is a database independent interface for accessing databases, similar to Perl's DBI. . This package contains Ruby/DBI driver for MySQL database. Package: libdbd-mysql-ruby Section: oldlibs Architecture: all Depends: ${misc:Depends}, ruby-dbd-mysql Description: Transitional package for ruby-dbd-mysql This is a transitional package to ease upgrades to the ruby-dbd-mysql package. It can safely be removed. Package: libdbd-mysql-ruby1.8 Section: oldlibs Architecture: all Depends: ${misc:Depends}, ruby-dbd-mysql Description: Transitional package for ruby-dbd-mysql This is a transitional package to ease upgrades to the ruby-dbd-mysql package. It can safely be removed. Package: libdbd-mysql-ruby1.9.1 Section: oldlibs Architecture: all Depends: ${misc:Depends}, ruby-dbd-mysql Description: Transitional package for ruby-dbd-mysql This is a transitional package to ease upgrades to the ruby-dbd-mysql package. It can safely be removed. debian/compat0000644000000000000000000000000211633746603010375 0ustar 7 debian/watch0000644000000000000000000000011711633746603010227 0ustar version=3 http://rubyforge.org/frs/?group_id=234 .*/dbd-mysql-([\d\.]*).tar.gz debian/patches/0000755000000000000000000000000011633746603010626 5ustar debian/patches/0001-remove-usage-of-rubygems.patch0000644000000000000000000000242111633746603017060 0ustar From: Dmitry Borodaenko Date: Tue, 13 Sep 2011 23:30:57 +0300 Subject: remove usage of rubygems --- lib/dbd/Mysql.rb | 7 ------- test/ts_dbd.rb | 10 +--------- 2 files changed, 1 insertions(+), 16 deletions(-) diff --git a/lib/dbd/Mysql.rb b/lib/dbd/Mysql.rb index 3dee875..a7f6316 100644 --- a/lib/dbd/Mysql.rb +++ b/lib/dbd/Mysql.rb @@ -28,13 +28,6 @@ # $Id$ #++ -begin - require 'rubygems' - gem 'mysql' - gem 'dbi' -rescue LoadError => e -end - require 'dbi' require "mysql" require "thread" # for Mutex diff --git a/test/ts_dbd.rb b/test/ts_dbd.rb index fcd301e..29339f3 100644 --- a/test/ts_dbd.rb +++ b/test/ts_dbd.rb @@ -1,5 +1,3 @@ -require 'rubygems' -gem 'test-unit' # figure out what tests to run require 'yaml' require 'test/unit/testsuite' @@ -96,13 +94,7 @@ if __FILE__ == $0 begin require 'dbi' rescue LoadError => e - begin - require 'rubygems' - gem 'dbi' - require 'dbi' - rescue LoadError => e - abort "DBI must already be installed or must come with this package for tests to work." - end + abort "DBI must already be installed or must come with this package for tests to work." end Deprecate.set_action(proc { }) -- debian/patches/series0000644000000000000000000000004411633746603012041 0ustar 0001-remove-usage-of-rubygems.patch debian/rules0000755000000000000000000000070111633746603010255 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-test-files.yaml0000644000000000000000000000001011633746603013110 0ustar --- [] debian/changelog0000644000000000000000000000265111633746603011055 0ustar ruby-dbd-mysql (0.4.4+gem2deb-1) unstable; urgency=low * Switch to gem2deb-based packaging: - source and binary packages renamed to ruby-dbd-mysql - transitional packages added - source format changed to 3.0 (quilt). -- Dmitry Borodaenko Tue, 13 Sep 2011 23:12:49 +0300 libdbd-mysql-ruby (0.4.4-1) unstable; urgency=low * New upstream release. -- Dmitry Borodaenko Sat, 13 Mar 2010 15:39:28 +0200 libdbd-mysql-ruby (0.4.3-2) unstable; urgency=low * Switch from Ruby 1.9 to 1.9.1. Closes: #569890. * Standards-Version upgraded to 3.8.4. -- Dmitry Borodaenko Sun, 28 Feb 2010 14:20:24 +0200 libdbd-mysql-ruby (0.4.3-1) unstable; urgency=low * New upstream release. * Standards-Version upgraded to 3.8.2: - section changed from interpreters to ruby. * Debhelper compat level upgraded to 5. -- Dmitry Borodaenko Wed, 29 Jul 2009 10:54:57 +0300 libdbd-mysql-ruby (0.4.2-2) unstable; urgency=low * Upload to unstable. -- Dmitry Borodaenko Sat, 21 Feb 2009 12:42:12 +0200 libdbd-mysql-ruby (0.4.2-1) experimental; urgency=low * First release of libdbd-mysql-ruby as a separate package (prior to Ruby/DBI 0.4.0, all DBDs were included in the libdbi-ruby package). * Build versions for Ruby 1.8 and 1.9. -- Dmitry Borodaenko Wed, 03 Dec 2008 22:29:09 +0200 debian/source/0000755000000000000000000000000011633746603010477 5ustar debian/source/format0000644000000000000000000000001411633746603011705 0ustar 3.0 (quilt)