moomerman-rambo 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +9 -1
  2. data/lib/rambo/env.rb +2 -0
  3. metadata +1 -1
data/README CHANGED
@@ -3,7 +3,15 @@ To install the gem:
3
3
  gem sources -a http://gems.github.com
4
4
  sudo gem install moomerman-rambo
5
5
 
6
- To run the example:
6
+ Smallest example (see the hello app in the example folder)
7
+
8
+ class HomeController < Rambo::Controller
9
+ def index
10
+ "hello world"
11
+ end
12
+ end
13
+
14
+ To run the Blog example:
7
15
 
8
16
  git clone git://github.com/moomerman/rambo.git
9
17
  cd rambo/example/blog/
data/lib/rambo/env.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  module Rambo
2
2
  class Env
3
+ @@config = {}
4
+
3
5
  def initialize
4
6
  # TODO: config reload
5
7
  @@config ||= YAML.load_file("config.yml") rescue nil || {}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moomerman-rambo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor