debian/0000755000000000000000000000000012250051107007157 5ustar debian/control.in0000644000000000000000000000243012250045612011172 0ustar Source: ruby-activerecord-3.2 Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Ondřej Surý , Antonio Terceiro , DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-activerecord-3.2.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-activerecord-3.2.git;a=summary Homepage: http://www.rubyonrails.org XS-Ruby-Versions: all Package: ruby-activerecord-3.2 Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-activesupport-3.2 (>= @RAILS_VERSION@), ruby-activesupport-3.2 (<< @RAILS_VERSION@.), ruby-activemodel-3.2 (>= @RAILS_VERSION@), ruby-activemodel-3.2 (<< @RAILS_VERSION@.), ruby-arel (>= 3.0.2~), ruby-tzinfo (>= 0.3.29~) Conflicts: ruby-activerecord-2.3 Description: object-relational mapper framework (part of Rails) Active Records is a framework to work with databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in. debian/watch0000644000000000000000000000015512250045612010215 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/activerecord .*/activerecord-(.*).tar.gz debian/ruby-activerecord-3.2.examples0000644000000000000000000000001312250045612014646 0ustar examples/* debian/ruby-activerecord-3.2.docs0000644000000000000000000000001412250045612013761 0ustar README.rdoc debian/copyright0000644000000000000000000000262212250045612011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: activerecord Upstream-Contact: David Heinemeier Hansson Source: http://rubygems.org/gems/activemodel Files: * Copyright: Copyright 2004 David Heinemeier Hansson 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. Files: debian/* Copyright: Copyright 2011 Ondřej Surý License: Expat debian/source/0000755000000000000000000000000012250045612010463 5ustar debian/source/format0000644000000000000000000000001412250045612011671 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000667712250045612011055 0ustar ruby-activerecord-3.2 (3.2.16-1) unstable; urgency=high * New upstream version 3.2.16 * Update debian/control to rails release 3.2.16 -- Ondřej Surý Wed, 04 Dec 2013 17:37:19 +0100 ruby-activerecord-3.2 (3.2.13-4) unstable; urgency=low * Upload to unstable. * Remove all unneeded ruby/rails build dependencies, and drop ${shlib:Depends}. -- Ondřej Surý Thu, 23 May 2013 10:55:47 +0200 ruby-activerecord-3.2 (3.2.13-2) experimental; urgency=low * Remove gem dependency from mysql_adapter as well, this should fix the current breakage. -- Ondřej Surý Wed, 20 Mar 2013 14:13:31 +0100 ruby-activerecord-3.2 (3.2.13-1) experimental; urgency=low * Imported Upstream version 3.2.13 * Update debian/control to rails release 3.2.13 * Update patches for 3.2.13 release -- Ondřej Surý Tue, 19 Mar 2013 10:09:57 +0100 ruby-activerecord-3.2 (3.2.12-1) experimental; urgency=low * Imported Upstream version 3.2.12 * Update debian/control to rails release 3.2.12 -- Ondřej Surý Tue, 12 Feb 2013 17:28:32 +0100 ruby-activerecord-3.2 (3.2.11-1) experimental; urgency=low * Imported Upstream version 3.2.11 -- Ondřej Surý Tue, 15 Jan 2013 14:38:23 +0100 ruby-activerecord-3.2 (3.2.8-1) experimental; urgency=low * Imported Upstream version 3.2.8 -- Ondřej Surý Fri, 12 Oct 2012 10:45:31 +0200 ruby-activerecord-3.2 (3.2.6-5) unstable; urgency=high * Bump build dependency on gem2deb to >- 0.3.0~ in debian/control.in * [CVE-2013-1854]: Fix symbol DoS vulnerability in Active Record -- Ondřej Surý Tue, 19 Mar 2013 09:36:39 +0100 ruby-activerecord-3.2 (3.2.6-4) unstable; urgency=high * debian/patches/CVE-2013-0155.patch: fix Unsafe Query Generation Risk [CVE-2013-0155] (Closes: #697744). -- Antonio Terceiro Wed, 09 Jan 2013 18:18:07 -0300 ruby-activerecord-3.2 (3.2.6-3) unstable; urgency=high * debian/patches/3-2-dynamic_finder_injection.patch: fix SQL injection vulnerability (CVE-2012-5664). -- Antonio Terceiro Thu, 03 Jan 2013 11:21:18 -0300 ruby-activerecord-3.2 (3.2.6-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Antonio Terceiro Sun, 24 Jun 2012 18:52:10 -0300 ruby-activerecord-3.2 (3.2.6-1) unstable; urgency=low * New upstream release. Fixes the following security problems: + CVE-2012-2695 + CVE-2012-2660 (Closes: #675429) + CVE-2012-2661 (Closes: #675396) * debian/control: + Add myself to Uploaders: + Conflicty with ruby-activerecord-2.3 + Review short description * debian/patches/Remove_rubygems_dependency.patch: do not require database adapters to be installed via Rubygems. -- Antonio Terceiro Sat, 16 Jun 2012 20:58:15 -0300 ruby-activerecord-3.2 (3.2.3-3) unstable; urgency=low * Add Conflicts with ruby-activerecord-2.3 (Closes: #673741, #673578) -- Ondřej Surý Wed, 23 May 2012 13:10:42 +0200 ruby-activerecord-3.2 (3.2.3-2) unstable; urgency=low * Fix binary package name ruby-activerecord -> ruby-activerecord-3.2 -- Ondřej Surý Wed, 25 Apr 2012 13:44:18 +0200 ruby-activerecord-3.2 (3.2.3-1) unstable; urgency=low * Initial release -- Ondřej Surý Wed, 25 Apr 2012 13:43:56 +0200 debian/control0000644000000000000000000000236412250045612010573 0ustar Source: ruby-activerecord-3.2 Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Ondřej Surý , Antonio Terceiro , DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-activerecord-3.2.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-activerecord-3.2.git;a=summary Homepage: http://www.rubyonrails.org XS-Ruby-Versions: all Package: ruby-activerecord-3.2 Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-activesupport-3.2 (>= 3.2.16), ruby-activesupport-3.2 (<< 3.2.16.), ruby-activemodel-3.2 (>= 3.2.16), ruby-activemodel-3.2 (<< 3.2.16.), ruby-arel (>= 3.0.2~), ruby-tzinfo (>= 0.3.29~) Conflicts: ruby-activerecord-2.3 Description: object-relational mapper framework (part of Rails) Active Records is a framework to work with databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in. debian/rules0000755000000000000000000000133312250045612010243 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 RAILS_VERSION=$(shell sed -n "s/^ version: //p" metadata.yml) %: dh $@ --buildsystem=ruby --with ruby override_dh_testdir: debian/control dh_testdir debian/control: debian/control.in metadata.yml sed -e "s/@RAILS_VERSION@/$(RAILS_VERSION)/" >$@ <$< override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md debian/patches/0000755000000000000000000000000012250045612010612 5ustar debian/patches/series0000644000000000000000000000004112250045612012022 0ustar Remove_rubygems_dependency.patch debian/patches/Remove_rubygems_dependency.patch0000644000000000000000000000264012250045612017205 0ustar Description: Remove dependency on Rubygems This patch removes the need to have database adapter packages installed as gems. Just require them directly. Author: Antonio Terceiro --- a/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -4,7 +4,6 @@ require 'active_record/connection_adapte require 'arel/visitors/bind_visitor' # Make sure we're using pg high enough for PGResult#values -gem 'pg', '~> 0.11' require 'pg' module ActiveRecord --- a/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -1,6 +1,5 @@ require 'active_record/connection_adapters/sqlite_adapter' -gem 'sqlite3', '~> 1.3.5' require 'sqlite3' module ActiveRecord --- a/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/lib/active_record/connection_adapters/mysql2_adapter.rb @@ -1,6 +1,5 @@ require 'active_record/connection_adapters/abstract_mysql_adapter' -gem 'mysql2', '~> 0.3.10' require 'mysql2' module ActiveRecord --- a/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/lib/active_record/connection_adapters/mysql_adapter.rb @@ -2,7 +2,6 @@ require 'active_record/connection_adapte require 'active_record/connection_adapters/statement_pool' require 'active_support/core_ext/hash/keys' -gem 'mysql', '~> 2.8' require 'mysql' class Mysql debian/gbp.conf0000644000000000000000000000023412250045612010601 0ustar [DEFAULT] pristine-tar = True sign-tags = True # there are separate branches for stable and experimental upstream-branch = upstream debian-branch = master debian/compat0000644000000000000000000000000212250045612010361 0ustar 7