parkdown 1.4.29 → 1.4.31
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/Rakefile +14 -7
- data/ext/extconf.rb +1 -1
- data/ext/markdown_parser.c +5768 -4728
- data/ext/markdown_peg.h +3 -3
- data/ext/utility_functions.c +3 -3
- data/ext/utility_functions.h +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 006de45d4beb342de42643386cb96967a1fd5159cc62383745a57033a72b422c
|
4
|
+
data.tar.gz: 30cbb4948527a720f035783fd5b7edc108181d2dd62f5b3e883a6dc9c4b06adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7743c6665bce068d4afbc4c4637024b0075d9d11450f26972561e24af168327a89bbcc30d485ad7abac2a2e562fc6dc8e7d3cf2cfdf63714d6af4549671df5bb
|
7
|
+
data.tar.gz: f59d78491526e80325e8fac3aaa3026c5d6a2e92f16586059124ac35b97bfc6345e232af546dab6590c77e083b7f267a8f463307eba25b7a0cc49b527949018e
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require 'rubygems/package_task'
|
|
5
5
|
task :default => :test
|
6
6
|
|
7
7
|
DLEXT = RbConfig::CONFIG['DLEXT']
|
8
|
-
VERS = '1.4.
|
8
|
+
VERS = '1.4.31'
|
9
9
|
|
10
10
|
spec =
|
11
11
|
Gem::Specification.new do |s|
|
@@ -63,12 +63,19 @@ end
|
|
63
63
|
desc 'Gather required peg-markdown sources into extension directory'
|
64
64
|
task :gather => 'submodule:exist' do |t|
|
65
65
|
sh 'cd peg-markdown && make markdown_parser.c'
|
66
|
-
files =
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
66
|
+
files = FileList[
|
67
|
+
'peg-markdown/markdown_lib.c',
|
68
|
+
'peg-markdown/markdown_lib.h',
|
69
|
+
'peg-markdown/markdown_output.c',
|
70
|
+
'peg-markdown/markdown_parser.c',
|
71
|
+
'peg-markdown/markdown_peg.h',
|
72
|
+
'peg-markdown/odf.c',
|
73
|
+
'peg-markdown/odf.h',
|
74
|
+
'peg-markdown/parsing_functions.c',
|
75
|
+
'peg-markdown/parsing_functions.h',
|
76
|
+
'peg-markdown/utility_functions.c',
|
77
|
+
'peg-markdown/utility_functions.h',
|
78
|
+
]
|
72
79
|
cp files, 'ext/',
|
73
80
|
:preserve => true,
|
74
81
|
:verbose => true
|
data/ext/extconf.rb
CHANGED
@@ -2,7 +2,7 @@ require 'mkmf'
|
|
2
2
|
|
3
3
|
dir_config('peg_markdown')
|
4
4
|
|
5
|
-
$objs = %w[markdown.o markdown_lib.o markdown_output.o markdown_parser.o parsing_functions.o utility_functions.o]
|
5
|
+
$objs = %w[markdown.o markdown_lib.o markdown_output.o markdown_parser.o odf.o parsing_functions.o utility_functions.o]
|
6
6
|
|
7
7
|
if pkg_config = find_executable('pkg-config')
|
8
8
|
$CFLAGS = `#{pkg_config} --cflags glib-2.0`
|