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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfa64d60edcee6eccd04d41464a3a099be2c897bc35b4eb24f0633e8cd17a0f1
4
- data.tar.gz: a4e7ec815daeb01d43590ab8a99f4c0a9576a8c199c9615aabe6725e49f17021
3
+ metadata.gz: 6cd92415549a953d04f87fc2e400e591c8a0fe19ea8803023d4831982ae13626
4
+ data.tar.gz: a28a988522d3b177ad5fee3de67c3401f3e79d5e44976abfb8e12f5093da98dd
5
5
  SHA512:
6
- metadata.gz: 22a93c352e9086094226ab2881764567f1cc6dcb1f44200b949370afde105fb9e52772636940e663cf0b38a3900125fa8945761c48346bfd07ea96da815fff65
7
- data.tar.gz: 71bedb2d8cb41d9941c9d2e53b6274540a955af79355136c1bb3408b917715fb50ee5962abb6dd2ecd68b36b1c43304d23897d7f3871e0eebd3f5544cc1d48cd
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")
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Static
3
- VERSION = "3.1.2"
3
+ VERSION = "3.1.3"
4
4
  end
5
5
  end
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.2
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-02 00:00:00.000000000 Z
15
+ date: 2023-12-04 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email: