debian/0000755000000000000000000000000012250051015007155 5ustar debian/control.in0000644000000000000000000000213712247656476011224 0ustar Source: ruby-activemodel-3.2 Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Ondřej Surý , Antonio Terceiro , Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-activemodel-3.2.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-activemodel-3.2.git;a=summary Homepage: http://www.rubyonrails.org XS-Ruby-Versions: all Package: ruby-activemodel-3.2 Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-builder (>= 3.0.0), ruby-activesupport-3.2 (>= @RAILS_VERSION@) Suggests: ruby-bcrypt (>= 3.0.0) Description: toolkit for building modeling frameworks (part of Rails) Active Model is a toolkit for building modeling frameworks like Active Record and Active Resource. This includes a rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing. debian/watch0000644000000000000000000000015312247656476010241 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/activemodel .*/activemodel-(.*).tar.gz debian/copyright0000644000000000000000000000264212247656476011150 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: activemodel Upstream-Contact: David Heinemeier Hansson Source: http://rubygems.org/gems/activemodel Files: * Copyright: Copyright 2004 David Heinemeier Hansson License: Expat Files: debian/* Copyright: Copyright 2011 Ondřej Surý 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/source/0000755000000000000000000000000012247656476010511 5ustar debian/source/format0000644000000000000000000000001412247656476011717 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000552112247656476011066 0ustar ruby-activemodel-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:35:22 +0100 ruby-activemodel-3.2 (3.2.13-5) unstable; urgency=low [ Christian Hofstaedtler ] * Remove upstream patch CVE-2013-0276, already applied upstream * Fix debian/copyright format (missing-license-paragraph-in-dep5-copyright) * Allow for newer builder versions * Update debian/control.in to match debian/control * Bump Standards-Version to 3.9.4 (no changes) -- Antonio Terceiro Mon, 03 Jun 2013 22:10:00 -0300 ruby-activemodel-3.2 (3.2.13-4) unstable; urgency=low * Upload to unstable. -- Ondřej Surý Thu, 23 May 2013 10:51:42 +0200 ruby-activemodel-3.2 (3.2.13-3) experimental; urgency=low * Remove all unneeded ruby/rails build dependencies * Drop ${shlib:Depends}. -- Ondřej Surý Fri, 22 Mar 2013 14:19:40 +0100 ruby-activemodel-3.2 (3.2.13-2) experimental; urgency=low * Loosen install time dependencies to allow faster builds. -- Ondřej Surý Thu, 21 Mar 2013 15:11:23 +0100 ruby-activemodel-3.2 (3.2.13-1) unstable; urgency=low * Imported Upstream version 3.2.13 * Update debian/control to rails release 3.2.13 -- Ondřej Surý Tue, 19 Mar 2013 10:09:12 +0100 ruby-activemodel-3.2 (3.2.12-1) unstable; 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:08 +0100 ruby-activemodel-3.2 (3.2.11-1) unstable; urgency=low * Imported Upstream version 3.2.11 -- Ondřej Surý Tue, 15 Jan 2013 14:34:16 +0100 ruby-activemodel-3.2 (3.2.8-1) unstable; urgency=low * Imported Upstream version 3.2.8 -- Ondřej Surý Thu, 11 Oct 2012 13:01:43 +0200 ruby-activemodel-3.2 (3.2.6-3) unstable; urgency=low * Fix circumvention of attr_protected [CVE-2013-0276] -- Ondřej Surý Tue, 12 Feb 2013 16:58:09 +0100 ruby-activemodel-3.2 (3.2.6-2) unstable; urgency=low * Bump build dependency on gem2deb to >- 0.3.0~ -- Antonio Terceiro Sun, 24 Jun 2012 19:24:14 -0300 ruby-activemodel-3.2 (3.2.6-1) unstable; urgency=low * New upstream release. * debian/control: + Add myself to Uploaders: + Suggest ruby-bcrypt * debian/patches/remove-rubygems-requirement.patch: do not require bcrypt to be installed via Rubygems. As long as it is installed, it will work. * review short description -- Antonio Terceiro Fri, 15 Jun 2012 23:30:29 -0300 ruby-activemodel-3.2 (3.2.3-1) unstable; urgency=low * Initial release -- Ondřej Surý Wed, 25 Apr 2012 09:34:26 +0000 debian/control0000644000000000000000000000212612250051014010560 0ustar Source: ruby-activemodel-3.2 Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Ondřej Surý , Antonio Terceiro , Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-activemodel-3.2.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-activemodel-3.2.git;a=summary Homepage: http://www.rubyonrails.org XS-Ruby-Versions: all Package: ruby-activemodel-3.2 Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-builder (>= 3.0.0), ruby-activesupport-3.2 (>= 3.2.16) Suggests: ruby-bcrypt (>= 3.0.0) Description: toolkit for building modeling frameworks (part of Rails) Active Model is a toolkit for building modeling frameworks like Active Record and Active Resource. This includes a rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing. debian/rules0000755000000000000000000000133312247656476010271 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/ruby-activemodel-3.2.docs0000644000000000000000000000001412247656476013631 0ustar README.rdoc debian/patches/0000755000000000000000000000000012247656476010640 5ustar debian/patches/allow_newer_versions.patch0000644000000000000000000000107312247656476016130 0ustar --- ruby-activemodel-3.2.orig/metadata.yml +++ ruby-activemodel-3.2/metadata.yml @@ -28,14 +28,14 @@ dependencies: name: builder requirement: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: 3.0.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: 3.0.0 description: A toolkit for building modeling frameworks like Active Record and Active debian/patches/series0000644000000000000000000000007512247656476012057 0ustar remove-rubygems-requirement.patch allow_newer_versions.patch debian/patches/remove-rubygems-requirement.patch0000644000000000000000000000127712247656476017356 0ustar Description: Remove Rubygems requirement Remove the requirement to have the bcrypt library installed via Rubygems. As long as it is installed, it should work. Author: Antonio Terceiro --- --- ruby-activemodel-3.2-3.2.6.orig/lib/active_model/secure_password.rb +++ ruby-activemodel-3.2-3.2.6/lib/active_model/secure_password.rb @@ -34,7 +34,6 @@ module ActiveModel def has_secure_password # Load bcrypt-ruby only when has_secure_password is used. # This is to avoid ActiveModel (and by extension the entire framework) being dependent on a binary library. - gem 'bcrypt-ruby', '~> 3.0.0' require 'bcrypt' attr_reader :password debian/gbp.conf0000644000000000000000000000023412247656476010627 0ustar [DEFAULT] pristine-tar = True sign-tags = True # there are separate branches for stable and experimental upstream-branch = upstream debian-branch = master debian/compat0000644000000000000000000000000212247656476010407 0ustar 7