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 !diff -r1.1.1.1 -r1.2 pkgsrc/www/camping/Makefile
(taca)
@@ -1,15 +1,16 @@ | @@ -1,15 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:22:40 jlam Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2010/09/10 10:51:56 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= camping-1.5 | 3 | DISTNAME= camping-2.1 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | 5 | |||
6 | MAINTAINER= pkgsrc-users@NetBSD.org | 6 | MAINTAINER= pkgsrc-users@NetBSD.org | |
7 | HOMEPAGE= http://code.whytheluckystiff.net/camping | 7 | HOMEPAGE= http://rubyforge.org/projectrs/camping/ | |
8 | COMMENT= Ruby micro-framework for web applications | 8 | COMMENT= Ruby micro-framework for web applications | |
9 | LICENSE= mit | |||
9 | 10 | |||
10 | DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=1.3.1:../../devel/ruby-activesupport | 11 | DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.0:../../www/ruby-rack | |
11 | DEPENDS+= ${RUBY_PKGPREFIX}-markaby>=0.5:../../textproc/ruby-markaby | |||
12 | DEPENDS+= ${RUBY_PKGPREFIX}-metaid>=1.0:../../devel/ruby-metaid | |||
13 | 12 | |||
14 | .include "../../misc/rubygems/rubygem.mk" | 13 | CONFLICTS+= ruby[1-9][0-9]-camping-[0-9]* | |
14 | ||||
15 | .include "../../lang/ruby/gem.mk" | |||
15 | .include "../../mk/bsd.pkg.mk" | 16 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:22:40 jlam Exp $ | 1 | $NetBSD: distinfo,v 1.2 2010/09/10 10:51:56 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (camping-1.5.gem) = d0c07de43ca11ac9d70170e077a375132b1ddc9e | 3 | SHA1 (camping-2.1.gem) = 4670c09ae8976478ed890835e33a67439ef3ca71 | |
4 | RMD160 (camping-1.5.gem) = 5e169901b55fa87608a85eb54392e693ed5830c1 | 4 | RMD160 (camping-2.1.gem) = 57716195a60827f6b60affd33287b824a0c6dea4 | |
5 | Size (camping-1.5.gem) = 53760 bytes | 5 | Size (camping-2.1.gem) = 374784 bytes |
@@ -1,23 +1,54 @@ | @@ -1,23 +1,54 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:19 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2010/09/10 10:51:56 taca Exp $ | |
2 | bin/camping | 2 | bin/camping | |
3 | ${GEM_HOME}/cache/camping-${PKGVERSION}.gem | 3 | ${GEM_HOME}/cache/${GEM_NAME}.gem | |
4 | ${GEM_LIBDIR}/CHANGELOG | 4 | ${GEM_LIBDIR}/CHANGELOG | |
5 | ${GEM_LIBDIR}/COPYING | 5 | ${GEM_LIBDIR}/COPYING | |
6 | ${GEM_LIBDIR}/README | 6 | ${GEM_LIBDIR}/README | |
7 | ${GEM_LIBDIR}/Rakefile | 7 | ${GEM_LIBDIR}/Rakefile | |
8 | ${GEM_LIBDIR}/bin/camping | 8 | ${GEM_LIBDIR}/bin/camping | |
9 | ${GEM_LIBDIR}/doc/camping.1.gz | 9 | ${GEM_LIBDIR}/book/01_introduction | |
10 | ${GEM_LIBDIR}/book/02_getting_started | |||
11 | ${GEM_LIBDIR}/book/51_upgrading | |||
10 | ${GEM_LIBDIR}/examples/blog.rb | 12 | ${GEM_LIBDIR}/examples/blog.rb | |
11 | ${GEM_LIBDIR}/examples/campsh.rb | 13 | ${GEM_LIBDIR}/extras/images/badge.gif | |
12 | ${GEM_LIBDIR}/examples/tepee.rb | 14 | ${GEM_LIBDIR}/extras/images/boys-life.png | |
13 | ${GEM_LIBDIR}/extras/Camping.gif | 15 | ${GEM_LIBDIR}/extras/images/deerputer.png | |
14 | ${GEM_LIBDIR}/extras/flipbook_rdoc.rb | 16 | ${GEM_LIBDIR}/extras/images/diagram.png | |
15 | ${GEM_LIBDIR}/extras/permalink.gif | 17 | ${GEM_LIBDIR}/extras/images/hill.png | |
18 | ${GEM_LIBDIR}/extras/images/i-wish.png | |||
19 | ${GEM_LIBDIR}/extras/images/latl.png | |||
20 | ${GEM_LIBDIR}/extras/images/little-wheels.png | |||
21 | ${GEM_LIBDIR}/extras/images/square-badge.png | |||
22 | ${GEM_LIBDIR}/extras/images/uniform.png | |||
23 | ${GEM_LIBDIR}/extras/images/whale-bounce.png | |||
24 | ${GEM_LIBDIR}/extras/rdoc/generator/singledarkfish.rb | |||
25 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/Camping.gif | |||
26 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/loadingAnimation.gif | |||
27 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/images/permalink.gif | |||
28 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/js/camping.js | |||
29 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/js/jquery.js | |||
30 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/page.rhtml | |||
31 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/rdoc.css | |||
32 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/readme.rhtml | |||
33 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/reference.rhtml | |||
34 | ${GEM_LIBDIR}/extras/rdoc/generator/template/flipbook/toc.rhtml | |||
16 | ${GEM_LIBDIR}/lib/camping-unabridged.rb | 35 | ${GEM_LIBDIR}/lib/camping-unabridged.rb | |
17 | ${GEM_LIBDIR}/lib/camping.rb | 36 | ${GEM_LIBDIR}/lib/camping.rb | |
18 | ${GEM_LIBDIR}/lib/camping/db.rb | 37 | ${GEM_LIBDIR}/lib/camping/ar.rb | |
19 | ${GEM_LIBDIR}/lib/camping/fastcgi.rb | 38 | ${GEM_LIBDIR}/lib/camping/mab.rb | |
20 | ${GEM_LIBDIR}/lib/camping/reloader.rb | 39 | ${GEM_LIBDIR}/lib/camping/reloader.rb | |
40 | ${GEM_LIBDIR}/lib/camping/server.rb | |||
21 | ${GEM_LIBDIR}/lib/camping/session.rb | 41 | ${GEM_LIBDIR}/lib/camping/session.rb | |
22 | ${GEM_LIBDIR}/lib/camping/webrick.rb | 42 | ${GEM_LIBDIR}/lib/camping/template.rb | |
23 | ${GEM_HOME}/specifications/camping-${PKGVERSION}.gemspec | 43 | ${GEM_LIBDIR}/test/app_markup.rb | |
44 | ${GEM_LIBDIR}/test/app_route_generating.rb | |||
45 | ${GEM_LIBDIR}/test/app_sessions.rb | |||
46 | ${GEM_LIBDIR}/test/app_simple.rb | |||
47 | ${GEM_LIBDIR}/test/apps/env_debug.rb | |||
48 | ${GEM_LIBDIR}/test/apps/forms.rb | |||
49 | ${GEM_LIBDIR}/test/apps/forward_to_other_controller.rb | |||
50 | ${GEM_LIBDIR}/test/apps/migrations.rb | |||
51 | ${GEM_LIBDIR}/test/apps/misc.rb | |||
52 | ${GEM_LIBDIR}/test/apps/sessions.rb | |||
53 | ${GEM_LIBDIR}/test/test_helper.rb | |||
54 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec |