./www/camping, Ruby micro-framework for web applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.532, Package name: ruby200-camping-2.1.532, Maintainer: pkgsrc-users

Camping is a web framework which consistently stays at less than 4kb
of code. You can probably view the complete source code on a single
page. But, you know, it's so small that, if you think about it, what
can it really do?

The idea here is to store a complete fledgling web application in a
single file like many small CGIs. But to organize it as a
Model-View-Controller application like Rails does. You can then easily
move it to Rails once you've got it going.


Required to run:
[www/ruby-rack] [textproc/ruby-mab] [lang/ruby200-base]

Master sites:

SHA1: 3d34a10169a822e3946da6da885dd949a4ed3c7d
RMD160: 40258c02af7ba95fb31d76a7243aacddacb529d0
Filesize: 367 KB

Version history: (Expand)


CVS history: (Expand)


   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-09-15 18:42:23 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update camping to 2.1.532.

= 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
   2013-03-14 17:18:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update camping to 2.1.531.

* Update HOMEPAGE.
* No changes are available.
   2012-09-16 16:34:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update camping to 2.1.523.

Changes are unavailable.
   2011-12-16 14:26:10 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update www/camping package to camping-2.1.467.

Changes are unknown.
   2010-10-13 13:33:47 by OBATA Akio | Files touched by this commit (1)
Log message:
Fix a typo in HOMEPAGE url.
   2010-09-13 16:12:15 by Takahiro Kambe | Files touched by this commit (9)
Log message:
* Add CONFLICTS a pattern matches previous package name
  without "${RUBY_PKGPREFIX}-".
   2010-09-10 12:51:57 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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 !