riven 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/riven/markup_file.rb +3 -2
- data/lib/riven/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2db6339aceee1d41bbf1580c2d52ae8661cf83aa
|
4
|
+
data.tar.gz: ddc7649d6977d11d8e4b7a2764da8a682d62bdf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da44d3f845a46843f0c4e4346e8ec5ffaa6b9557d9f3fac8fb1e889b2dfeef9e90883f1de28fc26bf802b9ca71272e0a4672d4ae08971cee7a521b0fbe0dac66
|
7
|
+
data.tar.gz: 802fd9b20155d80ff692707db59c9bbb859b2aec7d47b8c36b8a34a93fd0d58c490430f3793b2030d3761973ffd2c8d61a3935a4430d4cc84519f6f6e33e14a5
|
data/lib/riven/markup_file.rb
CHANGED
@@ -73,8 +73,9 @@ module Riven
|
|
73
73
|
if ref =~ /^http(s)?/
|
74
74
|
"[#{label}](#{ref})"
|
75
75
|
else
|
76
|
-
|
77
|
-
"
|
76
|
+
new_path = File.expand_path("#{@dirname}/#{ref}", Dir.pwd)
|
77
|
+
puts " - Rewriting ref '#{ref}' to '#{new_path}'"
|
78
|
+
"[#{label}](#{new_path})"
|
78
79
|
end
|
79
80
|
end
|
80
81
|
end
|
data/lib/riven/version.rb
CHANGED