mercury 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Mercury.gemspec +1 -1
- data/VERSION +1 -1
- data/lib/mercury.rb +1 -0
- data/lib/public/javascripts/jquery-1.4.2.min.js +0 -0
- metadata +1 -1
data/Mercury.gemspec
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.5
|
data/lib/mercury.rb
CHANGED
@@ -6,6 +6,7 @@ class Mercury < Sinatra::Application
|
|
6
6
|
set :root, FileUtils.pwd.gsub("\n",'')
|
7
7
|
set :public, File.dirname(__FILE__) + '/public'
|
8
8
|
|
9
|
+
|
9
10
|
get '/*' do
|
10
11
|
unless params["splat"][0].empty?
|
11
12
|
haml params["splat"][0].to_sym, :layout => open(File.dirname(__FILE__) + '/views/layout.haml','r').read
|
File without changes
|