From a27454b29bd70e518b0d35b99a175d7d0f5f97e7 Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 10 Sep 2010 10:51:56 +0000 Subject: Update www/camping to 2.1. * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Add LICENSE. * Ajust new ruby package's framework. * Update dependency according to gemspec. = 2.1 === 19th Aug, 2010 (whyday) * Helpers#R now calls to_param on any object it passes in * Fix route generation issue with routes including "." (#22) * Improved tests * Improved 1.9 support * Camping::Server is now built upon Rack::Server * Add support for ERB, Haml etc through Tilt * Introducing Camping.options and Camping#set * Camping::Server only loads ActiveRecord when needed = 2.0 === 9th Apr, 2010 * Speed-up of Camping::Mab (thanks zimbatm!) * @state is now an alias of @env['rack.session'] * Camping.use injects a Rack middleware. * Update Flipbook to RDoc 2.4 * Removed old examples. * Updated examples/blog.rb * Camping::Apps returns! * Session-cookies now timeout naturally (thanks jenna!) * You can now `throw :halt` to halt the response in a helper. * Camping::H#u is gone (was an alias to merge!) * Camping::Session now uses session-cookies. The AR-backend is gone for now. * camping/db.rb has been renamed to camping/ar.rb. * Camping now uses Rack internally. Every app responds to #call. = 1.6 === Never released * Camping::Apps removed, it wasn't reliable. * bin/camping server kinds splitted in various files. * NotFound and ServerError controllers changed to methods : r404 : called when a controller was not found r500 : called on uncaught exception r501 : called on undefined method All of those can be overridden at your taste. * Markaby no longer required. Like AR, is it autoloaded on (Mab) usage. * Camping::H is now inheriting from Hash instead of HashWithIndifferentAccess. * Which made possible to remove the last strict dependency : active_support * #errors_for removed, it wasn't really used * Bug fixes ! --- www/camping/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'www/camping/Makefile') diff --git a/www/camping/Makefile b/www/camping/Makefile index fbab10b9f7e..0a4047e5d5b 100644 --- a/www/camping/Makefile +++ b/www/camping/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:22:40 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2010/09/10 10:51:56 taca Exp $ -DISTNAME= camping-1.5 +DISTNAME= camping-2.1 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://code.whytheluckystiff.net/camping +HOMEPAGE= http://rubyforge.org/projectrs/camping/ COMMENT= Ruby micro-framework for web applications +LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=1.3.1:../../devel/ruby-activesupport -DEPENDS+= ${RUBY_PKGPREFIX}-markaby>=0.5:../../textproc/ruby-markaby -DEPENDS+= ${RUBY_PKGPREFIX}-metaid>=1.0:../../devel/ruby-metaid +DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.0:../../www/ruby-rack -.include "../../misc/rubygems/rubygem.mk" +CONFLICTS+= ruby[1-9][0-9]-camping-[0-9]* + +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3