diff options
author | taca <taca@pkgsrc.org> | 2010-09-10 10:51:56 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-10 10:51:56 +0000 |
commit | d0ff75c9d5ff0b89dc0d03f58ead1670b59098ad (patch) | |
tree | 4d4164f376ac93aa50bd8053816dd58ce2f91c90 /www/camping | |
parent | 42fd5780f752d9d1ef1e9e5b1727c32c2f7a7b68 (diff) | |
download | pkgsrc-d0ff75c9d5ff0b89dc0d03f58ead1670b59098ad.tar.gz |
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 !
Diffstat (limited to 'www/camping')
-rw-r--r-- | www/camping/Makefile | 15 | ||||
-rw-r--r-- | www/camping/PLIST | 55 | ||||
-rw-r--r-- | www/camping/distinfo | 8 |
3 files changed, 55 insertions, 23 deletions
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" diff --git a/www/camping/PLIST b/www/camping/PLIST index c1e50d51691..7fa4638e88b 100644 --- a/www/camping/PLIST +++ b/www/camping/PLIST @@ -1,23 +1,54 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:19 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/09/10 10:51:56 taca Exp $ bin/camping -${GEM_HOME}/cache/camping-${PKGVERSION}.gem +${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/CHANGELOG ${GEM_LIBDIR}/COPYING ${GEM_LIBDIR}/README ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/bin/camping -${GEM_LIBDIR}/doc/camping.1.gz +${GEM_LIBDIR}/book/01_introduction +${GEM_LIBDIR}/book/02_getting_started +${GEM_LIBDIR}/book/51_upgrading ${GEM_LIBDIR}/examples/blog.rb -${GEM_LIBDIR}/examples/campsh.rb -${GEM_LIBDIR}/examples/tepee.rb -${GEM_LIBDIR}/extras/Camping.gif -${GEM_LIBDIR}/extras/flipbook_rdoc.rb -${GEM_LIBDIR}/extras/permalink.gif +${GEM_LIBDIR}/extras/images/badge.gif +${GEM_LIBDIR}/extras/images/boys-life.png +${GEM_LIBDIR}/extras/images/deerputer.png +${GEM_LIBDIR}/extras/images/diagram.png +${GEM_LIBDIR}/extras/images/hill.png +${GEM_LIBDIR}/extras/images/i-wish.png +${GEM_LIBDIR}/extras/images/latl.png +${GEM_LIBDIR}/extras/images/little-wheels.png +${GEM_LIBDIR}/extras/images/square-badge.png +${GEM_LIBDIR}/extras/images/uniform.png +${GEM_LIBDIR}/extras/images/whale-bounce.png +${GEM_LIBDIR}/extras/rdoc/generator/singledarkfish.rb +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/Camping.gif +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/loadingAnimation.gif +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/permalink.gif +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/js/camping.js +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/js/jquery.js +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/page.rhtml +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/rdoc.css +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/readme.rhtml +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/reference.rhtml +${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/toc.rhtml ${GEM_LIBDIR}/lib/camping-unabridged.rb ${GEM_LIBDIR}/lib/camping.rb -${GEM_LIBDIR}/lib/camping/db.rb -${GEM_LIBDIR}/lib/camping/fastcgi.rb +${GEM_LIBDIR}/lib/camping/ar.rb +${GEM_LIBDIR}/lib/camping/mab.rb ${GEM_LIBDIR}/lib/camping/reloader.rb +${GEM_LIBDIR}/lib/camping/server.rb ${GEM_LIBDIR}/lib/camping/session.rb -${GEM_LIBDIR}/lib/camping/webrick.rb -${GEM_HOME}/specifications/camping-${PKGVERSION}.gemspec +${GEM_LIBDIR}/lib/camping/template.rb +${GEM_LIBDIR}/test/app_markup.rb +${GEM_LIBDIR}/test/app_route_generating.rb +${GEM_LIBDIR}/test/app_sessions.rb +${GEM_LIBDIR}/test/app_simple.rb +${GEM_LIBDIR}/test/apps/env_debug.rb +${GEM_LIBDIR}/test/apps/forms.rb +${GEM_LIBDIR}/test/apps/forward_to_other_controller.rb +${GEM_LIBDIR}/test/apps/migrations.rb +${GEM_LIBDIR}/test/apps/misc.rb +${GEM_LIBDIR}/test/apps/sessions.rb +${GEM_LIBDIR}/test/test_helper.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/www/camping/distinfo b/www/camping/distinfo index 80a83f4859c..c525694beb5 100644 --- a/www/camping/distinfo +++ b/www/camping/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:22:40 jlam Exp $ +$NetBSD: distinfo,v 1.2 2010/09/10 10:51:56 taca Exp $ -SHA1 (camping-1.5.gem) = d0c07de43ca11ac9d70170e077a375132b1ddc9e -RMD160 (camping-1.5.gem) = 5e169901b55fa87608a85eb54392e693ed5830c1 -Size (camping-1.5.gem) = 53760 bytes +SHA1 (camping-2.1.gem) = 4670c09ae8976478ed890835e33a67439ef3ca71 +RMD160 (camping-2.1.gem) = 57716195a60827f6b60affd33287b824a0c6dea4 +Size (camping-2.1.gem) = 374784 bytes |