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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fd9ef2a4424fb7fe0da56d52623b1feb5f78ed0
4
- data.tar.gz: 1aa08ffc473f6f2b700cb9c2288652d30462af9d
3
+ metadata.gz: 2db6339aceee1d41bbf1580c2d52ae8661cf83aa
4
+ data.tar.gz: ddc7649d6977d11d8e4b7a2764da8a682d62bdf0
5
5
  SHA512:
6
- metadata.gz: 9c98b604c3e7af7311fbd2c547d4b4fc1ab0c6ff4d552c716ef2b60e85e95e4e91d7337f03766c9cfc6eb647c5107d233e362b2b0b9ad3e8dc5444acc3fe958b
7
- data.tar.gz: bd743a880c9fbe0e07950f529e4bf160ccbf701bffc792fe7411debc18e1412431b1d279c369f8680010659dd4a85e66c135d31e860ca0d6ab61998d97428bb5
6
+ metadata.gz: da44d3f845a46843f0c4e4346e8ec5ffaa6b9557d9f3fac8fb1e889b2dfeef9e90883f1de28fc26bf802b9ca71272e0a4672d4ae08971cee7a521b0fbe0dac66
7
+ data.tar.gz: 802fd9b20155d80ff692707db59c9bbb859b2aec7d47b8c36b8a34a93fd0d58c490430f3793b2030d3761973ffd2c8d61a3935a4430d4cc84519f6f6e33e14a5
@@ -73,8 +73,9 @@ module Riven
73
73
  if ref =~ /^http(s)?/
74
74
  "[#{label}](#{ref})"
75
75
  else
76
- puts " - Rewriting ref '#{ref}' to '#{@dirname}/#{ref}'"
77
- "[#{label}](#{@dirname}/#{ref})"
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
@@ -1,3 +1,3 @@
1
1
  module Riven
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riven
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Kammerl