Module | Ramaze

In:

lib/ramaze.rb
lib/ramaze/app.rb
lib/ramaze/app_graph.rb
lib/ramaze/bin/console.rb
lib/ramaze/bin/create.rb
lib/ramaze/bin/helper.rb
lib/ramaze/bin/restart.rb
lib/ramaze/bin/runner.rb
lib/ramaze/bin/start.rb
lib/ramaze/bin/status.rb
lib/ramaze/bin/stop.rb
lib/ramaze/cache.rb
lib/ramaze/cache/localmemcache.rb
lib/ramaze/cache/lru.rb
lib/ramaze/cache/memcache.rb
lib/ramaze/cache/redis.rb
lib/ramaze/cache/sequel.rb
lib/ramaze/controller.rb
lib/ramaze/controller/default.rb
lib/ramaze/current.rb
lib/ramaze/dependencies.rb
lib/ramaze/files.rb
lib/ramaze/gestalt.rb
lib/ramaze/helper.rb
lib/ramaze/helper/auth.rb
lib/ramaze/helper/bench.rb
lib/ramaze/helper/blue_form.rb
lib/ramaze/helper/cache.rb
lib/ramaze/helper/csrf.rb
lib/ramaze/helper/disqus.rb
lib/ramaze/helper/email.rb
lib/ramaze/helper/erector.rb
lib/ramaze/helper/flash.rb
lib/ramaze/helper/formatting.rb
lib/ramaze/helper/gestalt.rb
lib/ramaze/helper/gravatar.rb
lib/ramaze/helper/identity.rb
lib/ramaze/helper/layout.rb
lib/ramaze/helper/link.rb
lib/ramaze/helper/localize.rb
lib/ramaze/helper/markaby.rb
lib/ramaze/helper/maruku.rb
lib/ramaze/helper/paginate.rb
lib/ramaze/helper/remarkably.rb
lib/ramaze/helper/request_accessor.rb
lib/ramaze/helper/send_file.rb
lib/ramaze/helper/simple_captcha.rb
lib/ramaze/helper/stack.rb
lib/ramaze/helper/tagz.rb
lib/ramaze/helper/thread.rb
lib/ramaze/helper/ultraviolet.rb
lib/ramaze/helper/upload.rb
lib/ramaze/helper/user.rb
lib/ramaze/helper/xhtml.rb
lib/ramaze/log.rb
lib/ramaze/log/analogger.rb
lib/ramaze/log/growl.rb
lib/ramaze/log/hub.rb
lib/ramaze/log/informer.rb
lib/ramaze/log/knotify.rb
lib/ramaze/log/logger.rb
lib/ramaze/log/logging.rb
lib/ramaze/log/rotatinginformer.rb
lib/ramaze/log/syslog.rb
lib/ramaze/log/xosd.rb
lib/ramaze/middleware_compiler.rb
lib/ramaze/plugin.rb
lib/ramaze/reloader.rb
lib/ramaze/reloader/watch_inotify.rb
lib/ramaze/reloader/watch_stat.rb
lib/ramaze/request.rb
lib/ramaze/response.rb
lib/ramaze/setup.rb
lib/ramaze/snippets/array/put_within.rb
lib/ramaze/snippets/binding/locals.rb
lib/ramaze/snippets/kernel/pretty_inspect.rb
lib/ramaze/snippets/numeric/filesize_format.rb
lib/ramaze/snippets/numeric/time.rb
lib/ramaze/snippets/object/__dir__.rb
lib/ramaze/snippets/object/instance_variable_defined.rb
lib/ramaze/snippets/object/pretty.rb
lib/ramaze/snippets/object/scope.rb
lib/ramaze/snippets/proc/locals.rb
lib/ramaze/snippets/ramaze/acquire.rb
lib/ramaze/snippets/ramaze/deprecated.rb
lib/ramaze/snippets/ramaze/dictionary.rb
lib/ramaze/snippets/ramaze/fiber.rb
lib/ramaze/snippets/ramaze/lru_hash.rb
lib/ramaze/snippets/ramaze/struct.rb
lib/ramaze/snippets/string/camel_case.rb
lib/ramaze/snippets/string/color.rb
lib/ramaze/snippets/string/end_with.rb
lib/ramaze/snippets/string/esc.rb
lib/ramaze/snippets/string/ord.rb
lib/ramaze/snippets/string/snake_case.rb
lib/ramaze/snippets/string/start_with.rb
lib/ramaze/snippets/string/unindent.rb
lib/ramaze/spec/helper/pretty_output.rb
lib/ramaze/version.rb
lib/ramaze/view.rb
lib/ramaze/view/erector.rb
lib/ramaze/view/erubis.rb
lib/ramaze/view/ezamar.rb
lib/ramaze/view/gestalt.rb
lib/ramaze/view/haml.rb
lib/ramaze/view/liquid.rb
lib/ramaze/view/lokar.rb
lib/ramaze/view/mustache.rb
lib/ramaze/view/nagoro.rb
lib/ramaze/view/remarkably.rb
lib/ramaze/view/sass.rb
lib/ramaze/view/slippers.rb
lib/ramaze/view/tagz.rb
lib/ramaze/view/tenjin.rb

             Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com

All files in this distribution are subject to the terms of the Ruby license.

### Methods

acquire const_missing deprecated plugin setup to

### Classes and Modules

Module Ramaze::Bin
Module Ramaze::CoreExtensions
Module Ramaze::Helper
Module Ramaze::Logger
Module Ramaze::Logging
Module Ramaze::Plugin
Module Ramaze::View
Class Ramaze::App
Class Ramaze::AppGraph
Class Ramaze::Cache
Class Ramaze::Controller
Class Ramaze::Current
Class Ramaze::DefaultController
Class Ramaze::Dictionary
Class Ramaze::Fiber
Class Ramaze::Files
Class Ramaze::GemSetup
Class Ramaze::Gestalt
Class Ramaze::LRUHash
Class Ramaze::MiddlewareCompiler
Class Ramaze::Reloader
Class Ramaze::Request
Class Ramaze::Response
Class Ramaze::SpecLogger
Class Ramaze::Struct

### Constants

ROOT | = | File.expand_path(File.dirname(__FILE__)) unless defined?(Ramaze::ROOT)
AppMap | = | Innate::URLMap.new |  | An application is a collection of controllers and options that have a common name. Every application has a location it dispatches from, this behaves similar to Rack::URLMap.
Cache | = | Innate::Cache
UNSUPPORTED_GEMS | = | [ 'lokar', 'localmemcache', 'ruby-growl', 'nagoro', 'syslog' |  | Array containing gems that aren‘t supported for certain reasons. The gems that are in this array by default will be removed if the current setup does support them.
DEPENDENCIES | = | [ {:name => 'innate', :version => ['>= 2010.03']} |  | Array containing the names and versions of all the gems required by Ramaze along with the name of how the gem should be required.

DEVELOPMENT_DEPENDENCIES

=

[ {:name => 'bacon' , :version => ['>= 1.1.0']}, {:name => 'dalli' , :version => ['>= 1.0.5']}, {:name => 'erector' , :version => ['>= 0.8.2']}, {:name => 'erubis' , :version => ['>= 2.7.0']}, {:name => 'ezamar' , :version => ['>= 2009.06']}, {:name => 'sass' , :version => ['>= 3.1.4']}, {:name => 'haml' , :version => ['>= 3.1.2']}, {:name => 'hpricot' , :version => ['>= 0.8.4']}, {:name => 'liquid' , :version => ['>= 2.2.2']}, {:name => 'locale' , :version => ['>= 2.0.5']}, {:name => 'maruku' , :version => ['>= 0.6.0']}, {:name => 'mustache' , :version => ['>= 0.99.4']}, {:name => 'rack-contrib', :version => ['>= 1.1.0'], :lib => 'rack/contrib'}, {:name => 'rack-test' , :version => ['>= 0.6.0'], :lib => 'rack/test'}, {:name => 'Remarkably' , :version => ['>= 0.6.1'], :lib => 'remarkably'}, {:name => 'sequel' , :version => ['>= 3.25.0']}, {:name => 'slippers' , :version => ['>= 0.0.14']}, {:name => 'sqlite3' , :version => ['>= 1.3.3']}, {:name => 'tagz' , :version => ['>= 9.0.0']}, {:name => 'tenjin' , :version => ['>= 0.6.1']}, {:name => 'yard' , :version => ['>= 0.7.2']}, {:name => 'redis' , :version => ['>= 2.2.2']}, {:name => 'rdiscount' , :version => ['>= 1.6.8']}

Array containing all the development dependencies.

Helper | = | Innate::Helper
OpenIDStore | = | OpenID::Store::Filesystem.new(openid_store_file) |  | Constant for storing meta-information persistent
Log | = | Innate::Log
DEPRECATED_CONSTANTS | = | { :BASEDIR => :ROOT, :Template => :View, :Optional => :Optioned, }
VERSION | = | "2011.10.23"
View | = | Innate::View

### Attributes

options | [RW] |

### Public Class methods

acquire(*globs)

Require all .rb and .so files on the given globs, utilizes Dir::[].

Examples:

        # Given following directory structure:
        # src/foo.rb
        # src/bar.so
        # src/foo.yaml
        # src/foobar/baz.rb
        # src/foobar/README

        # requires all files in 'src':
        Ramaze.acquire 'src/*'

        # requires all files in 'src' recursive:
        Ramaze.acquire 'src/**/*'

        # require 'src/foo.rb' and 'src/bar.so' and 'src/foobar/baz.rb'
        Ramaze.acquire 'src/*', 'src/foobar/*'

const_missing(name)
deprecated(from, to = nil)
plugin(name, options = {})
setup(options = {:verbose => true}, &block)

Convenient setup and activation of gems from different sources and specific versions. It‘s almost like Kernel#gem but also installs automatically if a gem is missing.

@example

     Ramaze.setup :verbose => true do
       # gem and specific version
       gem 'makura', '>=2009.01'

       # gem and name for require
       gem 'aws-s3', :lib => 'aws/s3'

       # gem with specific version from rubyforge (default)
       gem 'json', :version => '=1.1.3', :source => rubyforge
     end

@author manveru @since 19-05-2009 @see GemSetup#initialize

to(object)

:nodoc:

[Validate]