summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortaca <taca>2015-03-13 13:28:23 +0000
committertaca <taca>2015-03-13 13:28:23 +0000
commitdb58b7785331d4c87a1eecb7c9f96acfe9621a8e (patch)
tree0a6ef5827a292a97cc3f3f18ebc6fbae9959cf7a /time
parentf9f58813246453e7100f921869f4ecb4bf579ee0 (diff)
downloadpkgsrc-db58b7785331d4c87a1eecb7c9f96acfe9621a8e.tar.gz
Add ruby-timers package version 4.0.1.
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. An example of such a library is [nio4r](https://github.com/celluloid/nio4r), a cross-platform Ruby library for using system calls like epoll and kqueue.
Diffstat (limited to 'time')
-rw-r--r--time/ruby-timers/DESCR7
-rw-r--r--time/ruby-timers/Makefile14
-rw-r--r--time/ruby-timers/PLIST28
-rw-r--r--time/ruby-timers/distinfo5
4 files changed, 54 insertions, 0 deletions
diff --git a/time/ruby-timers/DESCR b/time/ruby-timers/DESCR
new file mode 100644
index 00000000000..12f043b7ee4
--- /dev/null
+++ b/time/ruby-timers/DESCR
@@ -0,0 +1,7 @@
+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. An example of
+such a library is [nio4r](https://github.com/celluloid/nio4r), a
+cross-platform Ruby library for using system calls like epoll and kqueue.
diff --git a/time/ruby-timers/Makefile b/time/ruby-timers/Makefile
new file mode 100644
index 00000000000..1298db42c54
--- /dev/null
+++ b/time/ruby-timers/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2015/03/13 13:28:23 taca Exp $
+
+DISTNAME= timers-4.0.1
+CATEGORIES= time
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/celluloid/timers
+COMMENT= Pure Ruby one-shot and periodic timers
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-hitimes>=1.2.2:../../time/ruby-hitimes
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/ruby-timers/PLIST b/time/ruby-timers/PLIST
new file mode 100644
index 00000000000..319da668940
--- /dev/null
+++ b/time/ruby-timers/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2015/03/13 13:28:23 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.coveralls.yml
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/AUTHORS.md
+${GEM_LIBDIR}/CHANGES.md
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/timers.rb
+${GEM_LIBDIR}/lib/timers/events.rb
+${GEM_LIBDIR}/lib/timers/group.rb
+${GEM_LIBDIR}/lib/timers/timer.rb
+${GEM_LIBDIR}/lib/timers/version.rb
+${GEM_LIBDIR}/lib/timers/wait.rb
+${GEM_LIBDIR}/spec/cancel_spec.rb
+${GEM_LIBDIR}/spec/events_spec.rb
+${GEM_LIBDIR}/spec/every_spec.rb
+${GEM_LIBDIR}/spec/group_spec.rb
+${GEM_LIBDIR}/spec/performance_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/strict_spec.rb
+${GEM_LIBDIR}/spec/timeout_spec.rb
+${GEM_LIBDIR}/timers.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/time/ruby-timers/distinfo b/time/ruby-timers/distinfo
new file mode 100644
index 00000000000..6faab7fcf18
--- /dev/null
+++ b/time/ruby-timers/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/03/13 13:28:23 taca Exp $
+
+SHA1 (timers-4.0.1.gem) = e4b0324f6ef2687bfd5e350399e9bd66c8acca63
+RMD160 (timers-4.0.1.gem) = c4728d02443e18a9a82b1424583040628c7af6fd
+Size (timers-4.0.1.gem) = 14848 bytes