debian/0000755000000000000000000000000012151725676007202 5ustar debian/rules0000755000000000000000000000064512151725043010253 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 # # 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/copyright0000644000000000000000000000422312151725676011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: foreigner Source: https://github.com/matthuhiggins/foreigner Files: * Copyright: Matthew Higgins 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: 2013 Nitesh A Jain License: GPL-3+ This program is 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 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . 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-3'. debian/compat0000644000000000000000000000000212151725043010364 0ustar 7 debian/patches/0000755000000000000000000000000012151725043010615 5ustar debian/patches/remove-bundler.patch0000644000000000000000000000122312151725043014562 0ustar Description: Remove bundler We don't need bundler, we use apt instead. Add require lines instead of Bundler.require Author: Praveen Arimbrathodiyil Last-Update: 2013-05-31 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,9 +1,11 @@ -require 'bundler/setup' -Bundler.require(:default) +#require 'bundler/setup' +#Bundler.require(:default) require 'test/unit' require 'active_record' -require 'mocha' +require 'mocha/setup' +require 'set' +require 'foreigner' # Foreigner::Adapter.registered.values.each do |file_name| # require file_name @@ -57,4 +59,4 @@ migration end end -end \ No newline at end of file +end debian/patches/series0000644000000000000000000000002512151725043012027 0ustar remove-bundler.patch debian/ruby-foreigner.docs0000644000000000000000000000001412151725043012772 0ustar README.rdoc debian/changelog0000644000000000000000000000035312151725043011041 0ustar ruby-foreigner (1.4.1-1) unstable; urgency=low * Initial release (Closes: #707000) [ Praveen Arimbrathodiyil] * fix missing require in test/helper.rb -- Nitesh A Jain Mon, 06 May 2013 12:57:28 +0530 debian/control0000644000000000000000000000207112151725043010571 0ustar Source: ruby-foreigner Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Nitesh A Jain Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-activerecord-3.2, ruby-mocha Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-foreigner.git Vcs-Browser: http://anonscm.debian.org/?p=pkg-ruby-extras/ruby-foreigner.git;a=summary Homepage: http://github.com/matthuhiggins/foreigner XS-Ruby-Versions: all Package: ruby-foreigner Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-activerecord-3.2 Description: Foreign Keys for Rails Adds helpers to migrations and dumps foreign keys to schema.rb Foreigner introduces a few methods to your migrations for adding and removing foreign key constraints. It also dumps foreign keys to schema.rb. . The following adapters are supported: - mysql2 - postgres - sqlite (foreign key methods are a no-op) debian/watch0000644000000000000000000000014712151725043010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/foreigner .*/foreigner-(.*).tar.gz debian/ruby-tests.rb0000644000000000000000000000010612151725123011630 0ustar $: << 'test' << '.' Dir['{test}/**/*_test.rb'].each { |f| require f } debian/source/0000755000000000000000000000000012151724774010500 5ustar debian/source/format0000644000000000000000000000001412151725043011674 0ustar 3.0 (quilt) debian/ruby-foreigner.lintian-overrides0000644000000000000000000000011612151725043015503 0ustar # Upstream does not provide a changelog ruby-foreigner: no-upstream-changelog