memorack 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/memorack/memoapp.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df0fc4ad433a14e26057d9581ce8cbfaea6935ff
|
4
|
+
data.tar.gz: f14cfd511ca13b7aeaad9c02033b453e865e01b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0c623c98371ea471b8d0a3cf1f59536adf2a8658454560f1018b33b5fb9e583ebc9909e67ada318b8570e5ec3f9b16ea7f14578e11d3f9a81ebafa6e13892fc
|
7
|
+
data.tar.gz: 73b25aac401e3243ea35267e0afdce120c984b923386a899605dcf8c60ad119efc0e0df0b56578449e44e3c1d6cdb11571a7d4d4fbd1828514c26018f94b12f7
|
data/HISTORY.md
CHANGED
data/lib/memorack/memoapp.rb
CHANGED
@@ -364,11 +364,12 @@ module MemoRack
|
|
364
364
|
path, ext = split_extname(path_info)
|
365
365
|
|
366
366
|
if @suffix == ''
|
367
|
-
|
368
|
-
fullpath = file_search(path, @options)
|
369
|
-
return nil unless fullpath
|
367
|
+
fullpath = file_search(path_info, @options)
|
370
368
|
|
371
|
-
|
369
|
+
if fullpath
|
370
|
+
path = path_info
|
371
|
+
ext = split_extname(fullpath)[1]
|
372
|
+
end
|
372
373
|
end
|
373
374
|
|
374
375
|
return nil unless ext && Tilt.registered?(ext)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memorack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gnue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|