debian/0000755000000000000000000000000012226507202007164 5ustar debian/ruby-test-files.yaml0000644000000000000000000000003412132725626013113 0ustar --- - test/test_memoize.rb debian/copyright0000644000000000000000000000256412132731146011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: memoize Source: http://www.rubyforge.org/projects/shards Files: * Copyright: 2005-2009 Daniel J. Berger License: Artistic 2.0 (C) 2005-2009 Daniel J. Berger All Rights Reserved . This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose. Files: debian/* Copyright: 2013 HIGUCHI Daisuke (VDR dai) License: GPL-2+ 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 2 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-2'. debian/ruby-memoize.docs0000644000000000000000000000000712132727243012464 0ustar README debian/watch0000644000000000000000000000014312132725626010223 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/memoize .*/memoize-(.*).tar.gz debian/changelog0000644000000000000000000000103212226506441011036 0ustar ruby-memoize (1.3.1-2) unstable; urgency=low * debian/patches/use_tmpdir_instead_of_homedir.patch: new file. - fix FTBFS: ERROR: Test "ruby1.9.1" failed (Closes: #725590). - thanks to David Suárez and Adam D. Barratt . -- HIGUCHI Daisuke (VDR dai) Sun, 13 Oct 2013 20:55:58 +0900 ruby-memoize (1.3.1-1) unstable; urgency=low * Initial release (Closes: #706070) -- HIGUCHI Daisuke (VDR dai) Mon, 05 Aug 2013 22:47:48 +0900 debian/ruby-memoize.examples0000644000000000000000000000001312132727255013352 0ustar examples/* debian/source/0000755000000000000000000000000012132725626010474 5ustar debian/source/format0000644000000000000000000000001412132725626011702 0ustar 3.0 (quilt) debian/control0000644000000000000000000000164012177726433010606 0ustar Source: ruby-memoize Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: HIGUCHI Daisuke (VDR dai) Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-test-unit (>= 2.0.2) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-memoize.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-memoize.git;a=summary Homepage: http://www.rubyforge.org/projects/shards XS-Ruby-Versions: all Package: ruby-memoize Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby library providing speed up methods at the cost of memory (or disk space) The memoize library allows you to cache methods for faster lookup. Cached results can either be stored in memory (the default) or to a file. debian/rules0000755000000000000000000000070112132725626010252 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/patches/0000755000000000000000000000000012226506655010626 5ustar debian/patches/series0000644000000000000000000000011512226506223012027 0ustar remove_rubygems_stuff_in_test_unit.patch use_tmpdir_instead_of_homedir.patch debian/patches/remove_rubygems_stuff_in_test_unit.patch0000644000000000000000000000074412132730325021046 0ustar Description: do not rely on rubygems to load test-unit Author: HIGUCHI Daisuke (VDR dai) Last-Update: 2013-04-15 --- ruby-memoize-1.3.1/test/test_memoize.rb.orig 2013-04-15 16:26:14.000000000 +0900 +++ ruby-memoize-1.3.1/test/test_memoize.rb 2013-04-15 16:46:24.080056984 +0900 @@ -3,9 +3,6 @@ # # Test suite for the memoize library. ############################################### -require 'rubygems' -gem 'test-unit' - require 'test/unit' require 'memoize' debian/patches/use_tmpdir_instead_of_homedir.patch0000644000000000000000000000146012226506655017725 0ustar Description: use tmpdir instead of homedir Author: HIGUCHI Daisuke (VDR dai) Last-Update: 2013-10-13 Index: ruby-memoize/test/test_memoize.rb =================================================================== --- ruby-memoize.orig/test/test_memoize.rb 2013-10-13 21:05:22.883979804 +0900 +++ ruby-memoize/test/test_memoize.rb 2013-10-13 21:06:20.851463813 +0900 @@ -4,6 +4,7 @@ # Test suite for the memoize library. ############################################### require 'test/unit' +require 'tmpdir' require 'memoize' class TC_Memoize < Test::Unit::TestCase @@ -12,7 +13,7 @@ def setup @cache1 = nil @cache2 = nil - @file = File.join((ENV['HOME'] || ENV['USERPROFILE']), 'test.cache') + @file = File.join(Dir.tmpdir, 'test.cache') end def fib(n) debian/compat0000644000000000000000000000000212132725626010372 0ustar 7