diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-04 15:24:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-04 15:24:15 +0000 |
commit | 186c640c51270f8b411369c75a1f045cde46d553 (patch) | |
tree | 63e993673ed27b39d3f9ae4a5c66e8a0811b26a2 /www | |
parent | 99cae6c92237050332434ee535d0d9d6cf61f9ef (diff) | |
download | pkgsrc-186c640c51270f8b411369c75a1f045cde46d553.tar.gz |
Initial import of merb-has-flash-0.9.2 as www/merb-has-flash.
Merb_has_flash is a plugin for the Merb framework that provides Rails-style
flash.
The ``flash'' provides a way to pass temporary objects between actions.
Anything you place in the flash will be exposed to the very next action
and then cleared out. This is a great way of doing notices and alerts,
such as a create action that sets
flash[:notice] = "Successfully created"
before redirecting to a display action that can then expose the flash
to its template.
Diffstat (limited to 'www')
-rw-r--r-- | www/merb-has-flash/DESCR | 12 | ||||
-rw-r--r-- | www/merb-has-flash/Makefile | 13 | ||||
-rw-r--r-- | www/merb-has-flash/PLIST | 14 | ||||
-rw-r--r-- | www/merb-has-flash/distinfo | 5 |
4 files changed, 44 insertions, 0 deletions
diff --git a/www/merb-has-flash/DESCR b/www/merb-has-flash/DESCR new file mode 100644 index 00000000000..4c7e6347f4c --- /dev/null +++ b/www/merb-has-flash/DESCR @@ -0,0 +1,12 @@ +Merb_has_flash is a plugin for the Merb framework that provides Rails-style +flash. + +The ``flash'' provides a way to pass temporary objects between actions. +Anything you place in the flash will be exposed to the very next action +and then cleared out. This is a great way of doing notices and alerts, +such as a create action that sets + + flash[:notice] = "Successfully created" + +before redirecting to a display action that can then expose the flash +to its template. diff --git a/www/merb-has-flash/Makefile b/www/merb-has-flash/Makefile new file mode 100644 index 00000000000..1057207da6d --- /dev/null +++ b/www/merb-has-flash/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:24:15 jlam Exp $ + +DISTNAME= merb_has_flash-0.9.2 +PKGNAME= ${DISTNAME:S/_/-/g} +CATEGORIES= www + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Rails-style flash for Merb + +DEPENDS+= merb-core>=0.9.2:../../www/merb-core + +.include "../../misc/rubygems/rubygem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/merb-has-flash/PLIST b/www/merb-has-flash/PLIST new file mode 100644 index 00000000000..4104c696cb8 --- /dev/null +++ b/www/merb-has-flash/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:24:15 jlam Exp $ +${GEM_HOME}/cache/merb_has_flash-${PKGVERSION}.gem +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/TODO +${GEM_LIBDIR}/lib/merb_has_flash.rb +${GEM_LIBDIR}/lib/merb_has_flash/controller_extension.rb +${GEM_LIBDIR}/lib/merb_has_flash/flash_hash.rb +${GEM_LIBDIR}/lib/merb_has_flash/helper.rb +${GEM_HOME}/specifications/merb_has_flash-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/lib/merb_has_flash +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR} diff --git a/www/merb-has-flash/distinfo b/www/merb-has-flash/distinfo new file mode 100644 index 00000000000..5d30e9241cd --- /dev/null +++ b/www/merb-has-flash/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:24:15 jlam Exp $ + +SHA1 (merb_has_flash-0.9.2.gem) = 2f490fb002257e6e7eb8d163da88f1b9c65f69ca +RMD160 (merb_has_flash-0.9.2.gem) = ae5c2fbc4723bcdbc8ee222a4e9bd86f18983725 +Size (merb_has_flash-0.9.2.gem) = 7168 bytes |