mascot-server 0.1.12 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mascot-server.rb +1 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cf1f780863e9cad40f5b8e2130cfc1ccaba703c
4
- data.tar.gz: 151e341ba5d49e200ab2961822f5e0bca0d8f742
3
+ metadata.gz: 8b8585fbea62c4dd11354a60fa1c62064b6d1cfe
4
+ data.tar.gz: 3d4497425313081ebde198715ab02273a7f40017
5
5
  SHA512:
6
- metadata.gz: d5ae88f28afaacc2a3f597be69523705c4356e54bcec552427b3bc569ee3c30ff2b9273760ace4917fa0ceaaf8c478d74754856e2ab66c76b4386f59a663731b
7
- data.tar.gz: 8037ec1aee68d8c5c9fd717df8002f7c3343b6fa4a5797c79e136a680dde59810447f612d3f870f15b195acef24a7ae7a1265135677bf906582307949b86414d
6
+ metadata.gz: e62aacb6616a5ab885b5714ebbd63393426f33a9e499783679572521336ee3c2e44d981d7a822df435eb2fa13b1fb3c398edf6f11b15ca9db923d98d5cd1944e
7
+ data.tar.gz: 35a4ea4e63b12c8d25ff72913e4ed862c44dd1cd4e320cc45c68f529f217b932f52a0f4b01b3b3fff7a602711327f294d43609b704b200e8ba9c30578c356bd8
data/lib/mascot-server.rb CHANGED
@@ -32,7 +32,7 @@ module Mascot
32
32
  req = Rack::Request.new(env)
33
33
  resource = @site.get req.path
34
34
  # TODO: Memoize this per request and between requests eventually.
35
- resources = @site.resources
35
+ resources = @site.root
36
36
 
37
37
  if resource
38
38
  body = if resource.asset.template_extensions.empty?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mascot-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Gessler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.12
61
+ version: 0.1.14
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.12
68
+ version: 0.1.14
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: tilt
71
71
  requirement: !ruby/object:Gem::Requirement