bard-static 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5c0a15784402a02d998d165b0874b30b9f5fcd16bae4e4e42141956ecae5105
4
- data.tar.gz: 1cddd42f5dae9577077cfeb7ab4dfb45c0baeb0bf8b651e0f1e3bfa03dcacf81
3
+ metadata.gz: bfa64d60edcee6eccd04d41464a3a099be2c897bc35b4eb24f0633e8cd17a0f1
4
+ data.tar.gz: a4e7ec815daeb01d43590ab8a99f4c0a9576a8c199c9615aabe6725e49f17021
5
5
  SHA512:
6
- metadata.gz: 626a7c99080a7c1a8d73b0e9ea0280fd1e9d55fa746b9a50d6f8b2c7ea8761e7971d105be39ef1d84585d3a63ad222b0843f334cf22edf995ddb08b26ac8d2aa
7
- data.tar.gz: be8e49f33a4cca5f4a4caaf9ba06ac01cfee7ff3c11ebdc98c1d967a9410bfb4632191e048b48563e9db533e7eb182f5a5d94ab198ac4205d41b087be42d38a2
6
+ metadata.gz: 22a93c352e9086094226ab2881764567f1cc6dcb1f44200b949370afde105fb9e52772636940e663cf0b38a3900125fa8945761c48346bfd07ea96da815fff65
7
+ data.tar.gz: 71bedb2d8cb41d9941c9d2e53b6274540a955af79355136c1bb3408b917715fb50ee5962abb6dd2ecd68b36b1c43304d23897d7f3871e0eebd3f5544cc1d48cd
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "rails", "~> 5.0"
3
+ gem "rails"
4
4
  gem "rake"
5
5
  gem "capybara"
6
6
  gem "rspec-rails"
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", as: "bard_static_default_root"
6
+ root to: "bard/static/static#static", file_path: "index"
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.1"
3
+ VERSION = "3.1.2"
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.1
4
+ version: 3.1.2
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: 2022-03-16 00:00:00.000000000 Z
15
+ date: 2023-12-02 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email:
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  requirements: []
55
- rubygems_version: 3.2.3
55
+ rubygems_version: 3.2.32
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Protoyping engine for Rails.