All Versions
13
Latest Version
Avg Release Cycle
232 days
Latest Release
4558 days ago

Changelog History
Page 1

  • v2.1.467

    October 05, 2011
  • v2.1 Changes

    August 19, 2010
    • 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
  • v2.0 Changes

    April 09, 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.
  • v2.0.rc0

    April 03, 2010
  • v1.6 Changes

    • ๐Ÿšš 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 !
  • v1.5 Changes

    October 03, 2006
    • Camping::Apps stores an array of classes for all loaded apps.
    • bin/camping can be given a directory. Like: camping examples/
    • Console mode -- thank zimbatm. Use: camping -C yourapp.rb
    • Call controllers with Camping.method_missing.

      Tepee.get(:Index) #=> (Response) Blog.post(:Delete, id) #=> (Response)

      Blog.post(:Login, :input => {'username' => 'admin', 'password' => 'camping'}) #=> #

      Blog.get(:Info, :env => {:HTTP_HOST => 'wagon'}) #=> #'wagon'} ...>

    • Using \r\n instead of \n on output. FastCGI has these needs.

    • ActiveRecord no longer required or installed.

    • ๐Ÿ‘€ If you refer to Models::Base, however, ActiveRecord will be loaded with autoload. (see lib/camping/db.rb)

    • ๐Ÿ†• new Camping::FastCGI.serve which will serve a whole directory of apps (see http://code.whytheluckystiff.net/camping/wiki/TheCampingServer)

    • 0๏ธโƒฃ ~/.campingrc can contain database connection info if you want your default to be something other than SQLite.

      database: adapter: mysql username: camping socket: /tmp/mysql.sock password: NOFORESTFIRES database: camping

    • controllers are now ordered. uses the inherited hook to keep track of all classes created with R. those classes are scanned, in order, when a request is made. any other controllers are handled first. so if you plan on overriding the urls method, be sure to subclass from R().

    • Console mode will load .irbrc in the working directory, if present. (for example, in my ~/git/balloon directory, i have this in the .irbrc: include Balloon::Models when camping -C balloon.rb gets run, the models all get included in main.)

    • ๐Ÿ›  And, of course, many other bugfixes from myself and the loyal+kind zimbatm...

    • โšก๏ธ Markaby updated to 0.5. (See its CHANGELOG.)

  • v1.4.2 Changes

    May 16, 2006
    • Efficient file uploads for multipart/form-data POSTs.
    • Camping tool now uses Mongrel, if available. If not, sticks with WEBrick.
    • Multiple apps can be loaded with the camping tool, each mounted according to their file name.
  • v1.4.1 Changes

    • ๐Ÿ‘ Streaming HTTP support. If body is IO, will simply pass to the controller. Mongrel, in particular, supports this nicely.
  • v1.4 Changes

    April 11, 2006
    • ๐Ÿšš Moved Camping::Controllers::Base to Camping::Base.
    • ๐Ÿšš Moved Camping::Controllers::R to Camping::R.
    • ๐Ÿ†• New session library (lib/camping/session.rb).
    • WEBrick handler (lib/camping/webrick.rb) and Mongrel handler (lib/camping/mongrel.rb).
    • ๐Ÿ— Helpers#URL, builds a complete URL for a route. Returns a URI object. This way relative links could just return self.URL.path.
    • Base#initialize takes over some of Base#service's duties.
    • ENV now available as @env in controllers and views.
    • ๐Ÿ“„ Beautiful multi-page docs without frames!
  • v1.3 Changes

    February 08, 2006
    • bin/camping: an application launcher.
    • Camping.run(request, response) now changed to controller = Camping.run(request, env)
    • ๐Ÿ‘€ This means outputting the response is the wrapper/server's job. See bin/camping, you can do a controller.to_s at the least.
    • Controllers::Base.env is the new thread-safe home for ENV.
    • ๐Ÿš… The input hash now works more like Rails params. You can call keys like methods or with symbols or strings.
    • ๐Ÿ“œ Queries are now parsed more like PHP/Rails, in that you can denote structure with brackets: post[user]=_why;post[id]=2
    • Auto-prefix table names, to help prevent name clash.
    • Helpers.errors_for simple validation.
    • Lots of empty :href and :action attributes, a bug.
    • ๐Ÿ†• New single-page flipbook RDoc template.