Show
Ignore:
Timestamp:
07/12/2006 12:44:46 (2 years ago)
Author:
why
Message:
  • lib/camping.rb: allow the Camping scriptable dispatcher (Camping.method_missing) to take a hash of environment vars or query vars. also, an empty StringIO is the default input stream. apply zimbatm's patch to allow urls to be overridden.
  • lib/camping-unabridged.rb: updated all the code and docs to match the above.
  • lib/camping/reloader.rb: update the not a Camping app error message to give the expected module name.
  • lib/camping/db.rb: docs.
  • Rakefile: at least Markaby 0.4.65 required.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping/reloader.rb

    r131 r134  
    6060        @klass = Object.const_get(Object.constants.grep(/^#{title}$/i)[0]) rescue nil 
    6161        unless @klass and @klass.const_defined? :C 
    62             puts "!! trouble loading #{title}: not a Camping app" 
     62            puts "!! trouble loading #{title}: not a Camping app, no #{title.capitalize} module found" 
    6363            @klass = nil 
    6464            return