memorack 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY.md +4 -0
  3. data/lib/memorack/memoapp.rb +5 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a8343ec0da45fc84d78fa23a4f7cd8dc31f102a
4
- data.tar.gz: 38119f27df0c8ff87ae0d81d3fb92584254fc7ac
3
+ metadata.gz: df0fc4ad433a14e26057d9581ce8cbfaea6935ff
4
+ data.tar.gz: f14cfd511ca13b7aeaad9c02033b453e865e01b1
5
5
  SHA512:
6
- metadata.gz: 492fa18c13a7718fa49cf8baa5b7e0f0fcad410eb875317a64e064a16da7e6276756be35c9e7a414fb493ae7abdb2138a442becbb11d5db07e2931ce473f8845
7
- data.tar.gz: 288807a89bb8d6d5bc80b18a01796b69191e1fc3d6cf9520d2801ea0bea378b92fae065753af0ba60282f39c70fe7fa49807a9f75a790bfa86303bc6589443fe
6
+ metadata.gz: d0c623c98371ea471b8d0a3cf1f59536adf2a8658454560f1018b33b5fb9e583ebc9909e67ada318b8570e5ec3f9b16ea7f14578e11d3f9a81ebafa6e13892fc
7
+ data.tar.gz: 73b25aac401e3243ea35267e0afdce120c984b923386a899605dcf8c60ad119efc0e0df0b56578449e44e3c1d6cdb11571a7d4d4fbd1828514c26018f94b12f7
data/HISTORY.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## History
2
2
 
3
+ ### v0.0.4 / 2013-04-12
4
+
5
+ * fix link in content
6
+
3
7
  ### v0.0.3 / 2013-04-06
4
8
 
5
9
  * Abstraction URI
@@ -364,11 +364,12 @@ module MemoRack
364
364
  path, ext = split_extname(path_info)
365
365
 
366
366
  if @suffix == ''
367
- path = path_info
368
- fullpath = file_search(path, @options)
369
- return nil unless fullpath
367
+ fullpath = file_search(path_info, @options)
370
368
 
371
- ext = split_extname(fullpath)[1]
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.3
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-06 00:00:00.000000000 Z
11
+ date: 2013-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack