bard-static 3.1.2 → 3.1.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cd92415549a953d04f87fc2e400e591c8a0fe19ea8803023d4831982ae13626
|
4
|
+
data.tar.gz: a28a988522d3b177ad5fee3de67c3401f3e79d5e44976abfb8e12f5093da98dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cabc9f7ec86fc61b5b3ae4a924690159b0c0a4b07a108cc4e823a7fa995c7391f5f7f4f26a0011d73519894886d3f20dbe83e22a1a4d6cd03691d61477d9ca5
|
7
|
+
data.tar.gz: dbdf25a251c891f86d9494221b1e8e1d499122a830931278f684dda382fc78f75bb07acb3d09e8e449252278bfcef1eae1dd02125d755dfa237843fcd40d0970
|
data/config/routes.rb
CHANGED
@@ -3,7 +3,7 @@ Rails.application.routes.draw do
|
|
3
3
|
root to: "static#mockups", file_path: "index"
|
4
4
|
get "/*file_path" => "static#mockups"
|
5
5
|
end
|
6
|
-
root to: "bard/static/static#static", file_path: "index"
|
6
|
+
root to: "bard/static/static#static", file_path: "index", as: "bard_static_default_root"
|
7
7
|
get "*file_path" => "bard/static/static#static", constraints: ->(request){
|
8
8
|
lookup_context = ActionView::LookupContext.new([Rails.root.join("app/views/static")])
|
9
9
|
lookup_context.exists?(request.path) || lookup_context.exists?(request.path + "/index")
|
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: 3.1.
|
4
|
+
version: 3.1.3
|
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: 2023-12-
|
15
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
16
16
|
dependencies: []
|
17
17
|
description: Handcrafted prototypes for Rails.
|
18
18
|
email:
|