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.
- checksums.yaml +4 -4
- data/lib/mascot-server.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b8585fbea62c4dd11354a60fa1c62064b6d1cfe
|
4
|
+
data.tar.gz: 3d4497425313081ebde198715ab02273a7f40017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
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.
|
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.
|
68
|
+
version: 0.1.14
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: tilt
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|