debian/ 0000755 0000000 0000000 00000000000 12145516105 007166 5 ustar debian/rules 0000755 0000000 0000000 00000001002 12145515272 010243 0 ustar #!/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
override_dh_installchangelogs:
dh_installchangelogs CHANGES.md
debian/copyright 0000644 0000000 0000000 00000002514 12145515272 011127 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: timers
Source:
Files: *
Copyright: 2012 Tony Arcieri
License: MIT
Files: debian/*
Copyright: 2013 Per Andersson
License: MIT
License: MIT
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/compat 0000644 0000000 0000000 00000000002 12145515272 010370 0 ustar 7
debian/patches/ 0000755 0000000 0000000 00000000000 12145515272 010621 5 ustar debian/patches/0002-Replace-git-ls-files-with-Dir-list.patch 0000644 0000000 0000000 00000001530 12145515272 020526 0 ustar From: Per Andersson
Date: Tue, 22 Jan 2013 14:35:29 +0100
Subject: Replace git ls-files with Dir list
---
timers.gemspec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/timers.gemspec b/timers.gemspec
index 98da21f..dc40f19 100644
--- a/timers.gemspec
+++ b/timers.gemspec
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
gem.summary = "Schedule procs to run after a certain time, or at periodic intervals, using any API that accepts a timeout"
gem.homepage = "https://github.com/tarcieri/timers"
- gem.files = `git ls-files`.split($\)
+ gem.files = Dir['README.md', 'lib/**/*', 'spec/**/*']
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "timers"
--
debian/patches/series 0000644 0000000 0000000 00000000110 12145515272 012026 0 ustar 0001-Make-tests-run.patch
0002-Replace-git-ls-files-with-Dir-list.patch
debian/patches/0001-Make-tests-run.patch 0000644 0000000 0000000 00000001464 12145515272 015044 0 ustar From: Per Andersson
Date: Tue, 22 Jan 2013 14:17:39 +0100
Subject: Make tests run
* Patch out everything bundler
* Require timers relatively
---
Rakefile | 2 +-
spec/spec_helper.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Rakefile b/Rakefile
index b4e258c..8173bde 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,5 @@
#!/usr/bin/env rake
-require "bundler/gem_tasks"
+#require "bundler/gem_tasks"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f98dd86..6c1510a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,2 +1,2 @@
-require 'bundler/setup'
-require 'timers'
\ No newline at end of file
+#require 'bundler/setup'
+require_relative '../lib/timers'
--
debian/ruby-timers.docs 0000644 0000000 0000000 00000000012 12145515272 012317 0 ustar README.md
debian/changelog 0000644 0000000 0000000 00000000234 12145515502 011037 0 ustar ruby-timers (1.1.0-1) unstable; urgency=low
* Initial release (Closes: #698708)
-- Per Andersson Tue, 22 Jan 2013 17:57:00 +0100
debian/control 0000644 0000000 0000000 00000001655 12145515445 010606 0 ustar Source: ruby-timers
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers
Uploaders: Per Andersson
Build-Depends:
debhelper (>= 7.0.50~),
gem2deb (>= 0.3.0~),
rake,
ruby-rspec
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-timers.git
Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-timers.git;a=summary
Homepage: https://github.com/tarcieri/timers
XS-Ruby-Versions: all
Package: ruby-timers
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
Description: pure Ruby timer collections
Schedule several procs to fire after configurable delays or at periodic
intervals.
.
This gem is especially useful when you are faced with an API that accepts a
single timeout but you want to run multiple timers on top of it.
debian/watch 0000644 0000000 0000000 00000000244 12145516105 010217 0 ustar version=3
# http://githubredir.debian.net/github/tarcieri/timers/ v(.*).tar.gz
https://github.com/tarcieri/timers/tags .*/v?(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz))
debian/ruby-tests.rb 0000644 0000000 0000000 00000000127 12145515272 011640 0 ustar #$: << 'lib' << 'spec' << '.'
#Dir['spec/**/*.rb'].each { |f| require f }
exec("rake")
debian/source/ 0000755 0000000 0000000 00000000000 12145515272 010472 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12145515272 011700 0 ustar 3.0 (quilt)