Fri Sep 13 12:59:41 2013 UTC ()
Add ruby-atomic package version 1.1.14.
Ruby-atomic is an atomic reference implementation for JRuby, Rubinius, and MRI.
This library provides:
* an Atomic class that guarantees atomic updates to its contained value
The Atomic class provides accessors for the contained "value" plus two update
methods:
* update will run the provided block, passing the current value and replacing
it with the block result iff the value has not been changed in the mean
time. It may run the block repeatedly if there are other concurrent updates
in progress.
* try_update will run the provided block, passing the current value and
replacing it with the block result. If the value changes before the update
can happen, it will throw Atomic::ConcurrentUpdateError.
(taca)
diff -r0 -r1.1 pkgsrc/devel/ruby-atomic/DESCR
diff -r0 -r1.1 pkgsrc/devel/ruby-atomic/Makefile
diff -r0 -r1.1 pkgsrc/devel/ruby-atomic/PLIST
diff -r0 -r1.1 pkgsrc/devel/ruby-atomic/distinfo
Ruby-atomic is an atomic reference implementation for JRuby, Rubinius, and MRI.
This library provides:
* an Atomic class that guarantees atomic updates to its contained value
The Atomic class provides accessors for the contained "value" plus two update
methods:
* update will run the provided block, passing the current value and replacing
it with the block result iff the value has not been changed in the mean
time. It may run the block repeatedly if there are other concurrent updates
in progress.
* try_update will run the provided block, passing the current value and
replacing it with the block result. If the value changes before the update
can happen, it will throw Atomic::ConcurrentUpdateError.
# $NetBSD: Makefile,v 1.1 2013/09/13 12:59:41 taca Exp $
DISTNAME= atomic-1.1.14
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/headius/ruby-atomic
COMMENT= Atomic reference implementation for JRuby, Rubinius, and MRI
LICENSE= apache-2.0
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2013/09/13 12:59:41 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/atomic.gemspec
${GEM_LIBDIR}/examples/atomic_example.rb
${GEM_LIBDIR}/examples/bench_atomic.rb
${GEM_LIBDIR}/examples/bench_atomic_1.rb
${GEM_LIBDIR}/examples/graph_atomic_bench.rb
${GEM_LIBDIR}/ext/AtomicReferenceService.java
${GEM_LIBDIR}/ext/atomic_reference.c
${GEM_LIBDIR}/ext/extconf.rb
${GEM_LIBDIR}/ext/org/jruby/ext/atomic/AtomicReferenceLibrary.java
${GEM_LIBDIR}/lib/atomic.rb
${GEM_LIBDIR}/lib/atomic/concurrent_update_error.rb
${GEM_LIBDIR}/lib/atomic/delegated_update.rb
${GEM_LIBDIR}/lib/atomic/direct_update.rb
${GEM_LIBDIR}/lib/atomic/fallback.rb
${GEM_LIBDIR}/lib/atomic/jruby.rb
${GEM_LIBDIR}/lib/atomic/numeric_cas_wrapper.rb
${GEM_LIBDIR}/lib/atomic/rbx.rb
${GEM_LIBDIR}/lib/atomic/ruby.rb
${GEM_LIBDIR}/lib/atomic_reference.${RUBY_DLEXT}
${GEM_LIBDIR}/test/test_atomic.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
@pkgdir lib/ruby/gems/2.0.0/build_info
$NetBSD: distinfo,v 1.1 2013/09/13 12:59:41 taca Exp $
SHA1 (atomic-1.1.14.gem) = 255bad8a4310719d62684c6ee8cf470c2322b7e2
RMD160 (atomic-1.1.14.gem) = 59cfaa3281a9ac35e9f61e45a8a4c3102efe96e5
Size (atomic-1.1.14.gem) = 16896 bytes