debian/0000755000000000000000000000000012155607771007201 5ustar debian/rules0000755000000000000000000000104611655074662010263 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 #install upstream changelog override_dh_installchangelogs: dh_installchangelogs ChangeLog.markdown debian/watch0000644000000000000000000000015511642137356010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/data_objects .*/data_objects-(.*).tar.gz debian/source/0000755000000000000000000000000011647020555010473 5ustar debian/source/format0000644000000000000000000000001411635725457011713 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000002011647020555012101 0ustar unapply-patches debian/ruby-tests.rake0000644000000000000000000000022311742657073012164 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/**/*_spec.rb' end task :default => :spec debian/copyright0000644000000000000000000000271212154172207011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: data_objects Source: http://github.com/datamapper/do Files: * Copyright: 2007-2011 Yehuda Katz 2007-2011 Dirkjan Bussink License: Expat Files: debian/* Copyright: 2011 Deepak Tripathi 2011-2013 Cédric Boutillier 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/control0000644000000000000000000000221612154172003010565 0ustar Source: ruby-dataobjects Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Deepak Tripathi , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-addressable (>= 2.1), ruby-rspec (>=2.5), rake Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-dataobjects.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-dataobjects.git;a=summary Homepage: http://github.com/datamapper/do XS-Ruby-Versions: all Package: ruby-dataobjects Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-addressable (>= 2.1) Recommends: ruby-dataobjects-mysql, ruby-dataobjects-postgres, ruby-dataobjects-sqlite3 Description: Unified interface to various databases for Ruby The purpose of DataObjects.rb is to propose a single interface for Ruby to various databases. This package contains the core infrastructure. Adapters for databases (MySQL, PostgreSQL, SQLite) are available as separate packages. debian/patches/0000755000000000000000000000000011757262503010625 5ustar debian/patches/series0000644000000000000000000000020411757257147012046 0ustar 0010_remove_rubygems_from_specs.patch 0020_set_WINDOWS_to_false_in_shared_spec.patch 0030_deactivate_asynchronous_shared_spec.patch debian/patches/0030_deactivate_asynchronous_shared_spec.patch0000644000000000000000000000177511757262503021606 0ustar Description: Mark as pending a test about asynchronous command The shared test "should finish within 2 seconds" currently fails with ruby-dataobjects-mysql on Debian FreeBSD and Hurd. Temporarily mark it as pending on these architectures to allow packages to build. Author: Cédric Boutillier Bug: https://github.com/datamapper/do/issues/33 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672714 Last-Update: 2012-05-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/lib/data_objects/spec/shared/command_spec.rb +++ b/lib/data_objects/spec/shared/command_spec.rb @@ -223,7 +223,8 @@ @finish = Time.now end - it "should finish within 2 seconds" do + #Temporarily deactivate this example, as it currently fails with hurd-i386 and freebsd-i386 + xit "should finish within 2 seconds" do pending_if("Ruby on Windows doesn't support asynchronous operations", WINDOWS) do (@finish - @start).should < 2 end debian/patches/0020_set_WINDOWS_to_false_in_shared_spec.patch0000644000000000000000000000102111651357606021212 0ustar Description: set WINDOWS to false The upstream formulation relies on the Gem class. The result will always be false on Debian. Hardcoding the value to avoid unnecessary dependency on rubygems. Author: Cédric Boutillier Last-Update: 2011-10-23 --- a/lib/data_objects/spec/shared/command_spec.rb +++ b/lib/data_objects/spec/shared/command_spec.rb @@ -1,4 +1,4 @@ -WINDOWS = Gem.win_platform? || (JRUBY && ENV_JAVA['os.name'] =~ /windows/i) +WINDOWS = false shared_examples_for 'a Command' do debian/patches/0010_remove_rubygems_from_specs.patch0000644000000000000000000000042011647020555017731 0ustar Description: remove requirement on rubygems in spec_helper Author: Cédric Boutillier Last-Update: 2011-10-16 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'data_objects' require 'rspec' debian/compat0000644000000000000000000000000211635725457010403 0ustar 7 debian/changelog0000644000000000000000000001005212155607771011051 0ustar ruby-dataobjects (0.10.13-1) unstable; urgency=low * New upstream version * debian/control: + remove obsolete DM-Upload-Allowed flag + use canonical URI in Vcs-* fields + bump Standards-Version to 3.9.4 (no changes needed), + update email address + drop transitional packages, not needed anymore * remove lintian overrides, about transitional packages * debian/copyright: update my email address and years -- Cédric Boutillier Tue, 11 Jun 2013 13:54:23 +0200 ruby-dataobjects (0.10.8-4) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 08:17:14 +0200 ruby-dataobjects (0.10.8-3) unstable; urgency=low * debian/patch/0030_deactivate_asynchronous_shared_spec_on_non_linux.patch: + make the shared example pending for all architectures and not raising an exception in case it passes + drop on_non_linux suffix in the name -- Cédric Boutillier Thu, 24 May 2012 00:28:56 +0200 ruby-dataobjects (0.10.8-2) unstable; urgency=low * Add 0030_deactivate_asynchronous_shared_spec_on_non_linux.patch to temporarily deactivate a shared test failing with ruby-dataobjects-mysql on FreeBSD and Hurd (Closes: #672714) -- Cédric Boutillier Tue, 22 May 2012 01:11:04 +0200 ruby-dataobjects (0.10.8-1) unstable; urgency=low * New upstream version * Update Format URL in DEP5 debian/copyright * Set DM-Upload-Allowed: to yes * Bump Standards-Version: to 3.9.3 (no changes needed) -- Cédric Boutillier Mon, 27 Feb 2012 11:46:02 +0100 ruby-dataobjects (0.10.7-1) unstable; urgency=low [ Deepak Tripathi ] * New upstream release * Switch to gem2deb-based packaging. Rename source and binary package. * debian/control - Removed DM upload tag. - Bumped the standard version. * debian/copyright - update copyright information. [ Cédric Boutillier ] * added myself as an uploader * added ruby-addressable as Depends * added 00010_remove_rubygems_from_specs.patch * override lintian warning about duplicate description for transitional packages -- Cédric Boutillier Sun, 16 Oct 2011 22:20:44 +0200 libdataobjects-ruby (0.10.2-2) unstable; urgency=low * debian/control + added libaddressable-ruby as Depends (Closes: #593085). + bumped standard version to 3.9.1 (no changes). + removed DM Upload tag. -- Deepak Tripathi Mon, 18 Oct 2010 21:45:26 +0530 libdataobjects-ruby (0.10.2-1) unstable; urgency=low * New upstream release * debian/watch + updated source file. -- Deepak Tripathi Fri, 21 May 2010 17:00:56 -0400 libdataobjects-ruby (0.10.1-1) unstable; urgency=low * New upstream release * debian/copyright + update copyright info. + update download location. * debian/ + removed repack.sh and README.Debian-source. * debian/watch + update for new download source * debian/control + added DM-Upload field. -- Deepak Tripathi Sat, 08 May 2010 01:46:15 +0530 libdataobjects-ruby (0.10.0-1) unstable; urgency=low * New upstream release. * Taking over from Sebestien. * Keeping under pkg-ruby-extras group. * Added Homepage and Vcs-* entry + Changes in debian/control * Bumped standard version * Update debian/copyright * Changed debian/rules to cdbs * Added debian/source/format * Modified debian/watch for .gem * Added README.Debian-source and repack.sh -- Deepak Tripathi Tue, 13 Apr 2010 05:28:10 +0000 libdataobjects-ruby (0.9.11-1) unstable; urgency=low * New upstream version. * Added debian/watch file. * Conform to latest policy. -- Sebastien Delafond Wed, 19 Aug 2009 11:29:25 +0200 libdataobjects-ruby (0.2-1) unstable; urgency=low * Initial Release (Closes: #480442). -- Sebastien Delafond Mon, 12 May 2008 14:36:06 -0700 debian/ruby-dataobjects.docs0000644000000000000000000000002011647020555013277 0ustar README.markdown