pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/merb-has-flash Initial import of merb-has-flash-0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2997f008e579
branches:  trunk
changeset: 540545:2997f008e579
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Apr 04 15:24:15 2008 +0000

description:
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:

 www/merb-has-flash/DESCR    |  12 ++++++++++++
 www/merb-has-flash/Makefile |  13 +++++++++++++
 www/merb-has-flash/PLIST    |  14 ++++++++++++++
 www/merb-has-flash/distinfo |   5 +++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r 4932324d17e0 -r 2997f008e579 www/merb-has-flash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/merb-has-flash/DESCR  Fri Apr 04 15:24:15 2008 +0000
@@ -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 -r 4932324d17e0 -r 2997f008e579 www/merb-has-flash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/merb-has-flash/Makefile       Fri Apr 04 15:24:15 2008 +0000
@@ -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@localhost
+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 -r 4932324d17e0 -r 2997f008e579 www/merb-has-flash/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/merb-has-flash/PLIST  Fri Apr 04 15:24:15 2008 +0000
@@ -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 -r 4932324d17e0 -r 2997f008e579 www/merb-has-flash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/merb-has-flash/distinfo       Fri Apr 04 15:24:15 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index