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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3ab2a75f3bafc466dbbae3ddc9ce9a0c804540c
4
- data.tar.gz: 91b6411d5df0342e1ecc6844ba8056fb2b09084f
3
+ metadata.gz: e2a3468ddff5734f66ebcdd1cc7e49631a0ebf78
4
+ data.tar.gz: e00c22380feb3caa6f9b96aef945706d83b946aa
5
5
  SHA512:
6
- metadata.gz: 3693437e3f73818050a94c6dedef90ee20fc563f6ec9fcd5eb4011add5b5c08151841990345ee4dca123a4c32f656ee9bc73dab90871ea269ac7478247e48d87
7
- data.tar.gz: ed36e6a7d86200e0d9d569c87da5c17803b2d5b8dd9d3c12ee54530e0cc0232b588aa8d3f766220aa0607185815d714e6f4d8aa5e9660ab244ccabe922fef93e
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: (lambda do |request|
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)
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Static
3
- VERSION = "2.2.0"
3
+ VERSION = "2.2.1"
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: 2.2.0
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-22 00:00:00.000000000 Z
15
+ date: 2014-10-25 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email: