vimwiki_markdown 0.0.3 → 0.0.4
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/changelog.md +3 -0
- data/lib/vimwiki_markdown/version.rb +1 -1
- data/lib/vimwiki_markdown/wiki_body.rb +2 -2
- data/spec/lib/vimwiki_markdown/wiki_body_spec.rb +4 -0
- data/spec/spec_helper.rb +3 -0
- data/vimwiki_markdown.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bad5c7bc7b30802ecce1b77ec6729512f2f2fb3
|
|
4
|
+
data.tar.gz: 17e3ec405f5fdb919d2bc5c23f02d42fa190e99e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eaf481dbd12e105cec001d6f4d53db0451e33264a8a0ee714260015f2a0312f8decd372ee915a3be010c68593165ee51c5d30e2dfca224e113fdb2acf405842c
|
|
7
|
+
data.tar.gz: 6c4421662f3f06983304599a9bf9cb4fbe19ee389951d9748f61357fb3c65c5ed5e8390d81a285a1687a7e59e2ddd091fd1bc93a43bfaa8fb86319f91f86cc93
|
data/changelog.md
CHANGED
|
@@ -11,11 +11,11 @@ class VimwikiMarkdown::WikiBody
|
|
|
11
11
|
def to_s
|
|
12
12
|
@markdown_body = get_wiki_markdown_contents
|
|
13
13
|
fixlinks
|
|
14
|
+
github_markup = GitHub::Markup.render('README.markdown', markdown_body)
|
|
14
15
|
pipeline = HTML::Pipeline.new [
|
|
15
|
-
HTML::Pipeline::MarkdownFilter,
|
|
16
16
|
HTML::Pipeline::SyntaxHighlightFilter
|
|
17
17
|
]
|
|
18
|
-
result = pipeline.call(
|
|
18
|
+
result = pipeline.call(github_markup)
|
|
19
19
|
result[:output].to_s
|
|
20
20
|
end
|
|
21
21
|
|
data/spec/spec_helper.rb
CHANGED
data/vimwiki_markdown.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = %q{Converts a vimwiki markdown file to html. It parses [[links]] and has support for syntax highlighting.}
|
|
13
13
|
spec.homepage = "https://github.com/patrickdavey/wimwiki_markdown"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
-
|
|
15
|
+
spec.required_ruby_version = '>= 1.9.3'
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
|
|
29
29
|
spec.add_runtime_dependency "activesupport", "~> 4.1.6"
|
|
30
30
|
spec.add_runtime_dependency "github-markup", "~> 1.3.0"
|
|
31
|
-
spec.add_runtime_dependency "github-markdown", "~> 0.6.
|
|
31
|
+
spec.add_runtime_dependency "github-markdown", "~> 0.6.8"
|
|
32
32
|
spec.add_runtime_dependency "github-linguist", "~> 3.1.5"
|
|
33
33
|
spec.add_runtime_dependency "redcarpet", "~> 3.1.2"
|
|
34
34
|
spec.add_runtime_dependency "html-pipeline", "~> 1.11.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vimwiki_markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick Davey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -142,14 +142,14 @@ dependencies:
|
|
|
142
142
|
requirements:
|
|
143
143
|
- - "~>"
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0.6.
|
|
145
|
+
version: 0.6.8
|
|
146
146
|
type: :runtime
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.6.
|
|
152
|
+
version: 0.6.8
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: github-linguist
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
234
234
|
requirements:
|
|
235
235
|
- - ">="
|
|
236
236
|
- !ruby/object:Gem::Version
|
|
237
|
-
version:
|
|
237
|
+
version: 1.9.3
|
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
requirements:
|
|
240
240
|
- - ">="
|