jekyll-file-protocol 0.1.1 → 0.1.3
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64e838dd7ebf0f0d155dfa3f74897ce594ffc317
|
4
|
+
data.tar.gz: ff5a034ca706b37c36556a297178a8d2026a1d0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e380eddfcf6db1841c55577250daf729c42c1c5f2b52faafac820af405462cf093702e4141900e0826d87890eef9ffe1264d11d5ec4175578d87b3987098d01
|
7
|
+
data.tar.gz: a2b7e38b17dfd3f326d9bec203ccf7bf793e8442f934df2c79a4abce5306e9a027cc73e22cf1f480f8e49008bdf1eb48ef096beb5983997b416c061b1614dfae
|
data/README.md
CHANGED
@@ -25,8 +25,10 @@ module JekyllFileProtocol
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def generate_relative_path!
|
28
|
-
@relative_path = @path
|
28
|
+
@relative_path = @path
|
29
29
|
relative = @relative_path
|
30
|
+
|
31
|
+
return unless is_absolute_path?
|
30
32
|
|
31
33
|
if relative.start_with?('//')
|
32
34
|
relative = relative[2..-1]
|