mdc 0.0.1 → 0.0.2
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 +13 -5
- data/bin/mdc +1 -1
- data/lib/mdc/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OTQxZTYwMTEwY2QwMTE4ZjI0ZTI1ZGJlZWU2MGU3YWQ3YzBmOTNlZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
Y2JjZjVlMmIzNGYxYzFjNzQzM2JjYWNmMzkxMGFmYzFiNjE0YzllZA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YzJkMjJkMjI1MmRjOGYxNGJjY2I3NDQ3ZWRkNjIyNjEzYTA4YTFlNTU2NWRh
|
10
|
+
YTdkZTVlN2RmOWQxYTNmMzc3YTQzOWRhZDkyNzg0Y2Y1NmQ4YWFmYzEyY2Zl
|
11
|
+
NjU3N2I5MTJlZDk4OGYyMmQyNzE2MzRlZDRhODczYTYxZTQyZmE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YmFlZTA3MmMzYTBjNDNhOGNlNjQyMTMxNzA4MmEwMTQ2YjNkODJjNjdjYmVj
|
14
|
+
YzFmNzQ2MzU1NjE5MjEyNTA4MTE2MTViZDIzNjBkMTA3ZGYwODk1MDI0NGQz
|
15
|
+
ZGZiNDlkMTUzYzg2OWYzYTBjNmJlMTA1NWZmZDdiNTIwZTlmNzY=
|
data/bin/mdc
CHANGED
@@ -10,7 +10,7 @@ markdown_extensions = { no_intra_emphasis: true, tables: true, fenced_code_block
|
|
10
10
|
markdown_renderer = Redcarpet::Render::HTML.new(with_toc_data: true, prettify: true)
|
11
11
|
markdown = Redcarpet::Markdown.new(markdown_renderer, markdown_extensions)
|
12
12
|
|
13
|
-
TEMPLATE = File.expand_path("../templates/default.html.erb",
|
13
|
+
TEMPLATE = File.expand_path("../templates/default.html.erb", File.dirname(__FILE__))
|
14
14
|
|
15
15
|
class Renderer
|
16
16
|
def initialize(body)
|
data/lib/mdc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Americo Duarte
|
@@ -14,42 +14,42 @@ dependencies:
|
|
14
14
|
name: redcarpet
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.7'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
55
|
description: A simple executable that generate html and pdf from markdown files.
|
@@ -60,7 +60,7 @@ executables:
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
-
|
63
|
+
- .gitignore
|
64
64
|
- Gemfile
|
65
65
|
- LICENSE.txt
|
66
66
|
- README.html
|
@@ -82,12 +82,12 @@ require_paths:
|
|
82
82
|
- lib
|
83
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ! '>='
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- -
|
90
|
+
- - ! '>='
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|