bard_static 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module BardStatic
3
3
  before_filter :before_bard_static,
4
4
  :if => proc { respond_to?(:before_bard_static, true) }
5
5
 
6
- def serve
6
+ def mockups
7
7
  env["bard_static.prototype"] = true
8
8
  render "mockups/#{params[:file_path]}", :layout => false
9
9
  end
data/config/routes.rb CHANGED
@@ -3,6 +3,6 @@ Rails.application.routes.draw do
3
3
  root :to => "static#mockups", :file_path => "index"
4
4
  match "/*file_path" => "static#mockups"
5
5
  end
6
- root :to => "static#static", :file_path => "index"
7
- match "*view_path" => "static#static"
6
+ root :to => "bard_static/static#static", :file_path => "index"
7
+ match "*file_path" => "bard_static/static#static"
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module BardStatic
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard_static
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Micah Geisel