pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-wisper devel/ruby-wisper: add version 2.0.1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f455a388b3da
branches:  trunk
changeset: 410223:f455a388b3da
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 19 15:01:47 2020 +0000

description:
devel/ruby-wisper: add version 2.0.1 package

Add ruby-wisper version 2.0.1 package.

Wisper

A micro library providing Ruby objects with Publish-Subscribe capabilities.

* Decouple core business logic from external concerns in Hexagonal style
  architectures.
* Use as an alternative to ActiveRecord callbacks and Observers in Rails
  apps.
* Connect objects based on context without permanence.
* React to events synchronously or asynchronously.

Note: Wisper was originally extracted from a Rails codebase but is not
dependant on Rails.

diffstat:

 devel/ruby-wisper/ALTERNATIVES |   2 +
 devel/ruby-wisper/DESCR        |  13 ++++++++++++
 devel/ruby-wisper/Makefile     |  28 ++++++++++++++++++++++++++
 devel/ruby-wisper/PLIST        |  44 ++++++++++++++++++++++++++++++++++++++++++
 devel/ruby-wisper/distinfo     |   6 +++++
 5 files changed, 93 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 471a5af2fc51 -r f455a388b3da devel/ruby-wisper/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-wisper/ALTERNATIVES    Sun Jan 19 15:01:47 2020 +0000
@@ -0,0 +1,2 @@
+bin/wisper-console @PREFIX@/bin/wisper-console@RUBY_SUFFIX@
+bin/wisper-setup @PREFIX@/bin/wisper-setup@RUBY_SUFFIX@
diff -r 471a5af2fc51 -r f455a388b3da devel/ruby-wisper/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-wisper/DESCR   Sun Jan 19 15:01:47 2020 +0000
@@ -0,0 +1,13 @@
+Wisper
+
+A micro library providing Ruby objects with Publish-Subscribe capabilities.
+
+* Decouple core business logic from external concerns in Hexagonal style
+  architectures.
+* Use as an alternative to ActiveRecord callbacks and Observers in Rails
+  apps.
+* Connect objects based on context without permanence.
+* React to events synchronously or asynchronously.
+
+Note: Wisper was originally extracted from a Rails codebase but is not
+dependant on Rails.
diff -r 471a5af2fc51 -r f455a388b3da devel/ruby-wisper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-wisper/Makefile        Sun Jan 19 15:01:47 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 15:01:47 taca Exp $
+
+DISTNAME=      wisper-2.0.1
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/krisleech/wisper
+COMMENT=       Providing objects with Publish-Subscribe capabilities
+LICENSE=       mit
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-bundler>=2.0:../../misc/ruby-bundler
+DEPENDS+=      ${RUBY_PKGPREFIX}-pry>=0.12.1:../../misc/ruby-pry
+
+USE_LANGUAGES= # empty
+USE_TOOLS=     bash:run
+REPLACE_BASH=  bin/setup
+
+RUBYGEM_OPTIONS+=      --format-executable
+WISPER_COMMANDS=       console setup
+
+post-install:
+.for f in ${WISPER_COMMANDS}
+       mv ${DESTDIR}${PREFIX}/bin/${f}${RUBY_SUFFIX} \
+               ${DESTDIR}${PREFIX}/bin/wisper-${f}${RUBY_SUFFIX}
+.endfor
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 471a5af2fc51 -r f455a388b3da devel/ruby-wisper/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-wisper/PLIST   Sun Jan 19 15:01:47 2020 +0000
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/19 15:01:47 taca Exp $
+bin/wisper-console${RUBY_SUFFIX}
+bin/wisper-setup${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/CONTRIBUTING.md
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/console
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/gem-public_cert.pem
+${GEM_LIBDIR}/lib/wisper.rb
+${GEM_LIBDIR}/lib/wisper/broadcasters/logger_broadcaster.rb
+${GEM_LIBDIR}/lib/wisper/broadcasters/send_broadcaster.rb
+${GEM_LIBDIR}/lib/wisper/configuration.rb
+${GEM_LIBDIR}/lib/wisper/global_listeners.rb
+${GEM_LIBDIR}/lib/wisper/publisher.rb
+${GEM_LIBDIR}/lib/wisper/registration/block.rb
+${GEM_LIBDIR}/lib/wisper/registration/object.rb
+${GEM_LIBDIR}/lib/wisper/registration/registration.rb
+${GEM_LIBDIR}/lib/wisper/temporary_listeners.rb
+${GEM_LIBDIR}/lib/wisper/value_objects/events.rb
+${GEM_LIBDIR}/lib/wisper/value_objects/prefix.rb
+${GEM_LIBDIR}/lib/wisper/version.rb
+${GEM_LIBDIR}/spec/lib/global_listeners_spec.rb
+${GEM_LIBDIR}/spec/lib/integration_spec.rb
+${GEM_LIBDIR}/spec/lib/simple_example_spec.rb
+${GEM_LIBDIR}/spec/lib/temporary_global_listeners_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/broadcasters/logger_broadcaster_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/broadcasters/send_broadcaster_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/configuration/broadcasters_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/configuration_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/publisher_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/registrations/object_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/value_objects/events_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper/value_objects/prefix_spec.rb
+${GEM_LIBDIR}/spec/lib/wisper_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/wisper.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 471a5af2fc51 -r f455a388b3da devel/ruby-wisper/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-wisper/distinfo        Sun Jan 19 15:01:47 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 15:01:47 taca Exp $
+
+SHA1 (wisper-2.0.1.gem) = 56adcfecc77c55f8959831866cedb7efc37730ae
+RMD160 (wisper-2.0.1.gem) = 61e74f8a0f43c68b1e99d99a6e8a3dfcb196d304
+SHA512 (wisper-2.0.1.gem) = 3518c218c0cb4ceb5d96260f7ac8845fb2f35d4a77c478cb56f1251fc29910a655ce070ebf3c17eaffd7d144ac54b436420bd2b2c4f72a8743f68dfdd72a514c
+Size (wisper-2.0.1.gem) = 26112 bytes



Home | Main Index | Thread Index | Old Index