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.
This commit is contained in:
parent
7102f79904
commit
b79043f91b
5 changed files with 93 additions and 0 deletions
2
devel/ruby-wisper/ALTERNATIVES
Normal file
2
devel/ruby-wisper/ALTERNATIVES
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin/wisper-console @PREFIX@/bin/wisper-console@RUBY_SUFFIX@
|
||||
bin/wisper-setup @PREFIX@/bin/wisper-setup@RUBY_SUFFIX@
|
13
devel/ruby-wisper/DESCR
Normal file
13
devel/ruby-wisper/DESCR
Normal file
|
@ -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.
|
28
devel/ruby-wisper/Makefile
Normal file
28
devel/ruby-wisper/Makefile
Normal file
|
@ -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
|
||||
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"
|
44
devel/ruby-wisper/PLIST
Normal file
44
devel/ruby-wisper/PLIST
Normal file
|
@ -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
|
6
devel/ruby-wisper/distinfo
Normal file
6
devel/ruby-wisper/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue