bard-static 3.0.0 → 3.1.0

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
- SHA1:
3
- metadata.gz: 60e7004e2b16c79a49aba612c843800eecf12335
4
- data.tar.gz: e455800b3bd4e7b4ae089dc94f8c811b1f913a62
2
+ SHA256:
3
+ metadata.gz: 39c009569fdf0ec3ea49960990015ed40f8d16f18a35ced8df08c1cba12ea710
4
+ data.tar.gz: fd5c7bfb8fc8aeca7171c9ace9fbfb7920135c80606b5e2ff50ccf3338fc2c6b
5
5
  SHA512:
6
- metadata.gz: cff9928ff08b7b74be432810a3a569496e28a2f919df3e286a1335d110b7aefe99be7a9725ab7f5bae77f1d39154db239c708b340edcae8571c64b8adfcab935
7
- data.tar.gz: fa5790a613e2026acd4bd6c50b5897ee0c852368266fd9001fdd2e48b9a1744a96592aa76e6c80b3b3e72a72f293e514ca0183675d0dd13cd911d58252de6777
6
+ metadata.gz: 5700307ca0d58acc420fe05910272272e516cd471f4d042cfbef754ed813c6fda665da1d7293b56413ac267eaa48074609dac07e94260d32adbadc927e87665d
7
+ data.tar.gz: b401fedf833fdd12e0a1a9edd39063cc8ed1a4e7272c1d5103b7e0c89d9d05dd40c150700cb64c71932d91619601d9f072523e5324a67d50b1804faad128e007
data/Gemfile CHANGED
@@ -5,4 +5,5 @@ gem "rake"
5
5
  gem "capybara"
6
6
  gem "rspec-rails"
7
7
  gem "byebug"
8
+ gem "appraisal"
8
9
 
data/README.md CHANGED
@@ -14,6 +14,9 @@ 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)
18
+ [![Code Climate](https://codeclimate.com/github/botandrose/bard-static/badges/gpa.svg)](https://codeclimate.com/github/botandrose/bard-static)
19
+
17
20
  Installation
18
21
  ------------
19
22
 
data/config/routes.rb CHANGED
@@ -5,7 +5,7 @@ Rails.application.routes.draw do
5
5
  end
6
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
- lookup_context = ActionView::Base.new(Rails.root.join("app/views/static")).lookup_context
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")
10
10
  }
11
11
  end
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Static
3
- VERSION = "3.0.0"
3
+ VERSION = "3.1.0"
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.0.0
4
+ version: 3.1.0
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: 2018-04-20 00:00:00.000000000 Z
15
+ date: 2019-08-18 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email:
@@ -52,8 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  requirements: []
55
- rubyforge_project:
56
- rubygems_version: 2.6.14
55
+ rubygems_version: 3.0.3
57
56
  signing_key:
58
57
  specification_version: 4
59
58
  summary: Protoyping engine for Rails.