Sha256: 65652827a5b86255c4d4c25a10d5106c2d39b8cbda176653038a0c7d038a9009
Contents?: true
Size: 1.74 KB
Versions: 1
Compression:
Stored size: 1.74 KB
Contents
# = Nitro # # Nitro is an efficient, yet simple engine for developing # professional Web Applications using Ruby and Javascript. # Nitro provides a robust infrastructure for scalable # applications that can be distributed over a server # cluster. However, Nitro can also power simple web # applications for deployment on intranets or desktops. # # Nitro integrates the powerful Og Object-Relational mapping # library. # # Copyright (c) 2004-2005, George Moschovitis (http://www.gmosx.com) # Copyright (c) 2004-2005, Navel Ltd (http://www.navel.gr) # # Nitro is copyrighted free software created and maintained by # George Moschovitis (mailto:gm@navel.gr) and released under the # standard BSD Licence. For details consult the file doc/LICENCE. require 'glue' require 'glue/logger' require 'glue/configuration' module Nitro # The version. Version = '0.22.0' # Library path. LibPath = File.dirname(__FILE__) # The path to the prototype application. setting :proto_path, :default => "#{LibPath}/../proto", :doc => 'The path to the prototype application' end #-- # gmosx: leave them here. #++ require 'nitro/context' require 'nitro/controller' require 'nitro/dispatcher/nice' require 'nitro/render' require 'nitro/server' unless $NITRO_NO_ENVIRONMENT # Setup up the proposed environment. You are free # to skip this if you dont like it. Just set # # $NITRO_NO_ENVIRONMENT = true # # before requiring nitro. Dir.chdir(File.dirname($0)) # Application code come here. $LOAD_PATH.unshift 'src' # Library code come here. $LOAD_PATH.unshift 'lib' end module Nitro # A helper method to start a Nitro application. def self.run(controller = nil) Server.run(controller) end end # * George Moschovitis <gm@navel.gr>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.22.0 | lib/nitro.rb |