bard-static 3.1.0 → 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: 39c009569fdf0ec3ea49960990015ed40f8d16f18a35ced8df08c1cba12ea710
4
- data.tar.gz: fd5c7bfb8fc8aeca7171c9ace9fbfb7920135c80606b5e2ff50ccf3338fc2c6b
3
+ metadata.gz: bfa64d60edcee6eccd04d41464a3a099be2c897bc35b4eb24f0633e8cd17a0f1
4
+ data.tar.gz: a4e7ec815daeb01d43590ab8a99f4c0a9576a8c199c9615aabe6725e49f17021
5
5
  SHA512:
6
- metadata.gz: 5700307ca0d58acc420fe05910272272e516cd471f4d042cfbef754ed813c6fda665da1d7293b56413ac267eaa48074609dac07e94260d32adbadc927e87665d
7
- data.tar.gz: b401fedf833fdd12e0a1a9edd39063cc8ed1a4e7272c1d5103b7e0c89d9d05dd40c150700cb64c71932d91619601d9f072523e5324a67d50b1804faad128e007
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/README.md CHANGED
@@ -14,7 +14,7 @@ Bard::Static
14
14
  || ||
15
15
 
16
16
 
17
- [![Build Status](https://travis-ci.org/botandrose/bard-static.svg?branch=master)](https://travis-ci.org/botandrose/bard-static)
17
+ [![CI Status](https://github.com/botandrose/bard-static/workflows/CI/badge.svg?branch=master)](https://github.com/botandrose/bard-static/actions?query=workflow%3ACI+branch%3Amaster)
18
18
  [![Code Climate](https://codeclimate.com/github/botandrose/bard-static/badges/gpa.svg)](https://codeclimate.com/github/botandrose/bard-static)
19
19
 
20
20
  Installation
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.0"
3
+ VERSION = "3.1.2"
4
4
  end
5
5
  end
data/lib/bard/static.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "bard/static/no_robots_middleware"
2
+ require_relative "../../app/helpers/bard/static/mockup_helper"
2
3
 
3
4
  module Bard
4
5
  module Static
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.0
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: 2019-08-18 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.0.3
55
+ rubygems_version: 3.2.32
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Protoyping engine for Rails.