pandoc 0.0.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 +7 -0
- data/CHANGELOG.md +4 -0
- data/Manifest.txt +8 -0
- data/README.md +17 -0
- data/Rakefile +28 -0
- data/lib/pandoc.rb +14 -0
- data/lib/pandoc/version.rb +20 -0
- data/test/helper.rb +10 -0
- data/test/test_builder.rb +18 -0
- metadata +86 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f88e2c6ecc7a2eb0acfb24f70f46d4a41cabf712
|
|
4
|
+
data.tar.gz: f7752f4e4cbf516ec7baa483a602de80d7d68f0a
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 895d3bf7d249eed2aa2a3c84c78f75d27034426869043670f8bb9f47e6d8d3264099c9bc009e3f7372a5083530a400930434622ac435a8f0ecb8237eb625f93b
|
|
7
|
+
data.tar.gz: 9eed20b790c32f6e370a2e97a84a154256fcf77485584b12e7f4efb2ad283fad6f7960a1fea7b28ae75bbfa125fbd60171a219f3790fd6edc88531c02bcf6e32
|
data/CHANGELOG.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# pandoc - structured text document model / abstract syntax tree for all the world's formats
|
|
2
|
+
|
|
3
|
+
* home :: [github.com/texti/pandoc](https://github.com/texti/pandoc)
|
|
4
|
+
* bugs :: [github.com/texti/pandoc/issues](https://github.com/texti/pandoc/issues)
|
|
5
|
+
* gem :: [rubygems.org/gems/pandoc](https://rubygems.org/gems/pandoc)
|
|
6
|
+
* rdoc :: [rubydoc.info/gems/pandoc](http://rubydoc.info/gems/pandoc)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
TBD
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## License
|
|
15
|
+
|
|
16
|
+
The `pandoc` scripts are dedicated to the public domain.
|
|
17
|
+
Use it as you please with no restrictions whatsoever.
|
data/Rakefile
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
require 'hoe'
|
|
2
|
+
require './lib/pandoc/version.rb'
|
|
3
|
+
|
|
4
|
+
Hoe.spec 'pandoc' do
|
|
5
|
+
|
|
6
|
+
self.version = Pandoc::VERSION
|
|
7
|
+
|
|
8
|
+
self.summary = "pandoc - structured text document model / abstract syntax tree for all the world's formats"
|
|
9
|
+
self.description = summary
|
|
10
|
+
|
|
11
|
+
self.urls = ['https://github.com/texti/pandoc']
|
|
12
|
+
|
|
13
|
+
self.author = 'Gerald Bauer'
|
|
14
|
+
self.email = 'ruby-talk@ruby-lang.org'
|
|
15
|
+
|
|
16
|
+
# switch extension to .markdown for gihub formatting
|
|
17
|
+
self.readme_file = 'README.md'
|
|
18
|
+
self.history_file = 'CHANGELOG.md'
|
|
19
|
+
|
|
20
|
+
self.extra_deps = []
|
|
21
|
+
|
|
22
|
+
self.licenses = ['Public Domain']
|
|
23
|
+
|
|
24
|
+
self.spec_extras = {
|
|
25
|
+
required_ruby_version: '>= 2.2.2'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
end
|
data/lib/pandoc.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
module Pandoc
|
|
3
|
+
MAJOR = 0 ## todo: namespace inside version or something - why? why not??
|
|
4
|
+
MINOR = 0
|
|
5
|
+
PATCH = 1
|
|
6
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
|
7
|
+
|
|
8
|
+
def self.version
|
|
9
|
+
VERSION
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.banner
|
|
13
|
+
"pandoc/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.root
|
|
17
|
+
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
|
|
18
|
+
end
|
|
19
|
+
end # module Pandoc
|
|
20
|
+
|
data/test/helper.rb
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
###
|
|
2
|
+
# to run use
|
|
3
|
+
# ruby -I ./lib -I ./test test/test_builder.rb
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
require 'helper'
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class TestBuilder < MiniTest::Test
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def test_load
|
|
13
|
+
|
|
14
|
+
assert true
|
|
15
|
+
## assume everything ok if get here
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
end # class TestBuilder
|
metadata
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: pandoc
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gerald Bauer
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rdoc
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '4.0'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '4.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: hoe
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.16'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.16'
|
|
41
|
+
description: pandoc - structured text document model / abstract syntax tree for all
|
|
42
|
+
the world's formats
|
|
43
|
+
email: ruby-talk@ruby-lang.org
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files:
|
|
47
|
+
- CHANGELOG.md
|
|
48
|
+
- Manifest.txt
|
|
49
|
+
- README.md
|
|
50
|
+
files:
|
|
51
|
+
- CHANGELOG.md
|
|
52
|
+
- Manifest.txt
|
|
53
|
+
- README.md
|
|
54
|
+
- Rakefile
|
|
55
|
+
- lib/pandoc.rb
|
|
56
|
+
- lib/pandoc/version.rb
|
|
57
|
+
- test/helper.rb
|
|
58
|
+
- test/test_builder.rb
|
|
59
|
+
homepage: https://github.com/texti/pandoc
|
|
60
|
+
licenses:
|
|
61
|
+
- Public Domain
|
|
62
|
+
metadata: {}
|
|
63
|
+
post_install_message:
|
|
64
|
+
rdoc_options:
|
|
65
|
+
- "--main"
|
|
66
|
+
- README.md
|
|
67
|
+
require_paths:
|
|
68
|
+
- lib
|
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
|
+
requirements:
|
|
71
|
+
- - ">="
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: 2.2.2
|
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
|
+
requirements:
|
|
76
|
+
- - ">="
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: '0'
|
|
79
|
+
requirements: []
|
|
80
|
+
rubyforge_project:
|
|
81
|
+
rubygems_version: 2.5.2
|
|
82
|
+
signing_key:
|
|
83
|
+
specification_version: 4
|
|
84
|
+
summary: pandoc - structured text document model / abstract syntax tree for all the
|
|
85
|
+
world's formats
|
|
86
|
+
test_files: []
|