bard-static 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +1 -1
- data/lib/bard/static/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a3468ddff5734f66ebcdd1cc7e49631a0ebf78
|
4
|
+
data.tar.gz: e00c22380feb3caa6f9b96aef945706d83b946aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c1de1514ed9fb92584c717a49a80f94d8c60db8bde1b0c16281f0cfbea92e68537f4ff2b26f13d9f646d9f1494ee0404823bfdcffb985c826505c008bff768
|
7
|
+
data.tar.gz: 93cf25454801a6fbf960f4f9d094fca8ca8885b0b0dc0a27d55325b3d108bbab619680f1b376456f203f5fe4d70e5d2e253e5ab0d0fbcb75fdc3b29245924adf
|
data/config/routes.rb
CHANGED
@@ -4,7 +4,7 @@ Rails.application.routes.draw do
|
|
4
4
|
get "/*file_path" => "static#mockups"
|
5
5
|
end
|
6
6
|
root :to => "bard/static/static#static", :file_path => "index", :as => "bard_static_default_root"
|
7
|
-
get "*file_path" => "bard/static/static#static", constraints
|
7
|
+
get "*file_path" => "bard/static/static#static", :constraints => (lambda do |request|
|
8
8
|
lookup_context = ActionView::Base.new("app/views/static").lookup_context
|
9
9
|
lookup_context.exists?(request.path) || lookup_context.exists?(request.path + "/index")
|
10
10
|
end)
|
data/lib/bard/static/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard-static
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2014-10-
|
15
|
+
date: 2014-10-25 00:00:00.000000000 Z
|
16
16
|
dependencies: []
|
17
17
|
description: Handcrafted prototypes for Rails.
|
18
18
|
email:
|