vimwiki_markdown 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vimwiki_markdown/version.rb +1 -1
- data/lib/vimwiki_markdown/vimwiki_link.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6acc95dd6a5614bd65208e682f3f92c60c19c48db675a27e21fdfb619ab4a97d
|
|
4
|
+
data.tar.gz: e122a4b7e074c092bcb503c019441fe3c5e25c3d5fd6de03a97f95810e32ed13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c116b7dd75f305b1a7bdcdbc1eb5a952e2c95c6d78f236683a3cd96900f8b3d2c6b5843e1e7d37f5f2ec6bf2aca46b65d419ae1ec81583541a937868a033b390
|
|
7
|
+
data.tar.gz: 4babd45bcc33303e45a0b46f909456733fc6c1be8d1cc24c3cdc1fdaaa4fd3d61762364fe050910e601da552149f9f6a2bbcbafe69be213f3d8b1d4ede2776ef
|
|
@@ -36,10 +36,10 @@ module VimwikiMarkdown
|
|
|
36
36
|
path = Pathname.new(uri)
|
|
37
37
|
@uri = "#{path.dirname + path.basename(markdown_extension).to_s.parameterize}.html"
|
|
38
38
|
@fragment = fragment.parameterize.prepend("#") unless fragment.empty?
|
|
39
|
-
elsif /^file:/.match
|
|
39
|
+
elsif /^file:/.match(uri)
|
|
40
40
|
# begins with file: -> force absolute path if file exists
|
|
41
41
|
@uri = "#{source_markdown_directory + uri}" if uri_relative_path_exists?
|
|
42
|
-
elsif /^local:/.match
|
|
42
|
+
elsif /^local:/.match(uri)
|
|
43
43
|
# begins with local: -> force relative path if file exists
|
|
44
44
|
source = Pathname.new(source_markdown_directory)
|
|
45
45
|
output = Pathname.new(output_dir)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vimwiki_markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick Davey
|
|
@@ -260,7 +260,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
260
260
|
- !ruby/object:Gem::Version
|
|
261
261
|
version: '0'
|
|
262
262
|
requirements: []
|
|
263
|
-
|
|
263
|
+
rubyforge_project:
|
|
264
|
+
rubygems_version: 2.7.9
|
|
264
265
|
signing_key:
|
|
265
266
|
specification_version: 4
|
|
266
267
|
summary: Converts a github flavoured markdown vimwiki file into html.
|