wallyqs-org-ruby 0.6.1 → 0.8.0
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.
- data/History.txt +41 -11
- data/README.rdoc +55 -50
- data/bin/org-ruby +11 -5
- data/lib/org-ruby.rb +20 -27
- data/lib/org-ruby/headline.rb +0 -10
- data/lib/org-ruby/html_output_buffer.rb +224 -143
- data/lib/org-ruby/html_symbol_replace.rb +359 -340
- data/lib/org-ruby/line.rb +91 -30
- data/lib/org-ruby/output_buffer.rb +147 -139
- data/lib/org-ruby/parser.rb +45 -111
- data/lib/org-ruby/regexp_helper.rb +52 -57
- data/lib/org-ruby/textile_output_buffer.rb +90 -37
- data/lib/org-ruby/textile_symbol_replace.rb +360 -341
- metadata +39 -200
- data/.bnsignore +0 -18
- data/.gitignore +0 -2
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -36
- data/Rakefile +0 -33
- data/TAGS +0 -167
- data/announcement.txt +0 -24
- data/org-ruby.gemspec +0 -40
- data/spec/data/freeform-example.org +0 -113
- data/spec/data/freeform.org +0 -111
- data/spec/data/hyp-planning.org +0 -335
- data/spec/data/remember.org +0 -53
- data/spec/headline_spec.rb +0 -65
- data/spec/html_examples/advanced-code.html +0 -81
- data/spec/html_examples/advanced-code.org +0 -106
- data/spec/html_examples/advanced-lists.html +0 -31
- data/spec/html_examples/advanced-lists.org +0 -31
- data/spec/html_examples/block_code.html +0 -28
- data/spec/html_examples/block_code.org +0 -35
- data/spec/html_examples/blockcomment.html +0 -3
- data/spec/html_examples/blockcomment.org +0 -15
- data/spec/html_examples/blockquote.html +0 -7
- data/spec/html_examples/blockquote.org +0 -13
- data/spec/html_examples/center.html +0 -6
- data/spec/html_examples/center.org +0 -7
- data/spec/html_examples/code-comment.html +0 -18
- data/spec/html_examples/code-comment.org +0 -22
- data/spec/html_examples/code-syntax.html +0 -98
- data/spec/html_examples/code-syntax.org +0 -99
- data/spec/html_examples/comment-trees.html +0 -4
- data/spec/html_examples/comment-trees.org +0 -13
- data/spec/html_examples/custom-seq-todo.html +0 -15
- data/spec/html_examples/custom-seq-todo.org +0 -24
- data/spec/html_examples/custom-todo.html +0 -15
- data/spec/html_examples/custom-todo.org +0 -24
- data/spec/html_examples/custom-typ-todo.html +0 -15
- data/spec/html_examples/custom-typ-todo.org +0 -24
- data/spec/html_examples/deflist.html +0 -6
- data/spec/html_examples/deflist.org +0 -6
- data/spec/html_examples/entities.html +0 -4
- data/spec/html_examples/entities.org +0 -11
- data/spec/html_examples/escape-pre.html +0 -6
- data/spec/html_examples/escape-pre.org +0 -6
- data/spec/html_examples/export-exclude-only.html +0 -13
- data/spec/html_examples/export-exclude-only.org +0 -81
- data/spec/html_examples/export-keywords.html +0 -4
- data/spec/html_examples/export-keywords.org +0 -18
- data/spec/html_examples/export-tags.html +0 -8
- data/spec/html_examples/export-tags.org +0 -82
- data/spec/html_examples/export-title.html +0 -2
- data/spec/html_examples/export-title.org +0 -4
- data/spec/html_examples/footnotes.html +0 -10
- data/spec/html_examples/footnotes.org +0 -7
- data/spec/html_examples/html-literal.html +0 -2
- data/spec/html_examples/html-literal.org +0 -6
- data/spec/html_examples/inline-formatting.html +0 -20
- data/spec/html_examples/inline-formatting.org +0 -33
- data/spec/html_examples/inline-images.html +0 -10
- data/spec/html_examples/inline-images.org +0 -15
- data/spec/html_examples/link-features.html +0 -8
- data/spec/html_examples/link-features.org +0 -19
- data/spec/html_examples/lists.html +0 -23
- data/spec/html_examples/lists.org +0 -47
- data/spec/html_examples/metadata-comment.html +0 -27
- data/spec/html_examples/metadata-comment.org +0 -30
- data/spec/html_examples/only-list.html +0 -5
- data/spec/html_examples/only-list.org +0 -3
- data/spec/html_examples/only-table.html +0 -6
- data/spec/html_examples/only-table.org +0 -5
- data/spec/html_examples/skip-header.html +0 -3
- data/spec/html_examples/skip-header.org +0 -28
- data/spec/html_examples/skip-table.html +0 -4
- data/spec/html_examples/skip-table.org +0 -19
- data/spec/html_examples/subsupscript-nil.html +0 -3
- data/spec/html_examples/subsupscript-nil.org +0 -6
- data/spec/html_examples/subsupscript.html +0 -3
- data/spec/html_examples/subsupscript.org +0 -5
- data/spec/html_examples/tables.html +0 -35
- data/spec/html_examples/tables.org +0 -50
- data/spec/html_examples/text.html +0 -2
- data/spec/html_examples/text.org +0 -16
- data/spec/line_spec.rb +0 -155
- data/spec/output_buffer_spec.rb +0 -19
- data/spec/parser_spec.rb +0 -152
- data/spec/regexp_helper_spec.rb +0 -57
- data/spec/spec_helper.rb +0 -20
- data/spec/textile_examples/block_code.org +0 -35
- data/spec/textile_examples/block_code.textile +0 -29
- data/spec/textile_examples/blockquote.org +0 -13
- data/spec/textile_examples/blockquote.textile +0 -11
- data/spec/textile_examples/center.org +0 -7
- data/spec/textile_examples/center.textile +0 -6
- data/spec/textile_examples/footnotes.org +0 -7
- data/spec/textile_examples/footnotes.textile +0 -8
- data/spec/textile_examples/keywords.org +0 -13
- data/spec/textile_examples/keywords.textile +0 -11
- data/spec/textile_examples/links.org +0 -11
- data/spec/textile_examples/links.textile +0 -10
- data/spec/textile_examples/lists.org +0 -36
- data/spec/textile_examples/lists.textile +0 -20
- data/spec/textile_examples/single-space-plain-list.org +0 -13
- data/spec/textile_examples/single-space-plain-list.textile +0 -10
- data/spec/textile_examples/tables.org +0 -50
- data/spec/textile_examples/tables.textile +0 -40
- data/spec/textile_output_buffer_spec.rb +0 -21
- data/tasks/test_case.rake +0 -49
- data/test/test_orgmode_parser.rb +0 -0
- data/util/gen-special-replace.el +0 -37
metadata
CHANGED
|
@@ -1,98 +1,47 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wallyqs-org-ruby
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 6
|
|
9
|
-
- 1
|
|
10
|
-
version: 0.6.1
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
13
|
-
- Waldemar Quevedo
|
|
7
|
+
authors:
|
|
14
8
|
- Brian Dewey
|
|
15
9
|
autorequire:
|
|
16
10
|
bindir: bin
|
|
17
11
|
cert_chain: []
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2013-02-10 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
22
15
|
name: rubypants
|
|
23
|
-
|
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &70290997286020 !ruby/object:Gem::Requirement
|
|
25
17
|
none: false
|
|
26
|
-
requirements:
|
|
27
|
-
- -
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
hash: 23
|
|
30
|
-
segments:
|
|
31
|
-
- 0
|
|
32
|
-
- 2
|
|
33
|
-
- 0
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
34
21
|
version: 0.2.0
|
|
35
22
|
type: :runtime
|
|
36
|
-
version_requirements: *id001
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
38
|
-
name: coderay
|
|
39
23
|
prerelease: false
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
version_requirements: *id002
|
|
53
|
-
- !ruby/object:Gem::Dependency
|
|
54
|
-
name: bones
|
|
55
|
-
prerelease: false
|
|
56
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
hash: 29
|
|
62
|
-
segments:
|
|
63
|
-
- 3
|
|
64
|
-
- 7
|
|
65
|
-
- 3
|
|
66
|
-
version: 3.7.3
|
|
67
|
-
type: :development
|
|
68
|
-
version_requirements: *id003
|
|
69
|
-
description: "This gem contains Ruby routines for parsing org-mode files.The most\n\
|
|
70
|
-
significant thing this library does today is convert org-mode files to\n\
|
|
71
|
-
HTML or textile. Currently, you cannot do much to customize the\n\
|
|
72
|
-
conversion. The supplied textile conversion is optimized for\n\
|
|
73
|
-
extracting \"content\" from the orgfile as opposed to \"metadata.\" "
|
|
74
|
-
email:
|
|
75
|
-
- waldemar.quevedo@gmail.com
|
|
76
|
-
- bdewey@gmail.com
|
|
77
|
-
executables:
|
|
24
|
+
version_requirements: *70290997286020
|
|
25
|
+
description: ! 'This gem contains Ruby routines for parsing org-mode files.The most
|
|
26
|
+
|
|
27
|
+
significant thing this library does today is convert org-mode files to
|
|
28
|
+
|
|
29
|
+
HTML or textile. Currently, you cannot do much to customize the
|
|
30
|
+
|
|
31
|
+
conversion. The supplied textile conversion is optimized for
|
|
32
|
+
|
|
33
|
+
extracting "content" from the orgfile as opposed to "metadata." '
|
|
34
|
+
email: bdewey@gmail.com
|
|
35
|
+
executables:
|
|
78
36
|
- org-ruby
|
|
79
37
|
extensions: []
|
|
80
|
-
|
|
81
|
-
extra_rdoc_files:
|
|
38
|
+
extra_rdoc_files:
|
|
82
39
|
- History.txt
|
|
83
40
|
- README.rdoc
|
|
84
|
-
- announcement.txt
|
|
85
41
|
- bin/org-ruby
|
|
86
|
-
files:
|
|
87
|
-
- .bnsignore
|
|
88
|
-
- .gitignore
|
|
89
|
-
- Gemfile
|
|
90
|
-
- Gemfile.lock
|
|
42
|
+
files:
|
|
91
43
|
- History.txt
|
|
92
44
|
- README.rdoc
|
|
93
|
-
- Rakefile
|
|
94
|
-
- TAGS
|
|
95
|
-
- announcement.txt
|
|
96
45
|
- bin/org-ruby
|
|
97
46
|
- lib/org-ruby.rb
|
|
98
47
|
- lib/org-ruby/headline.rb
|
|
@@ -105,140 +54,30 @@ files:
|
|
|
105
54
|
- lib/org-ruby/textile_output_buffer.rb
|
|
106
55
|
- lib/org-ruby/textile_symbol_replace.rb
|
|
107
56
|
- lib/org-ruby/tilt.rb
|
|
108
|
-
|
|
109
|
-
- spec/data/freeform-example.org
|
|
110
|
-
- spec/data/freeform.org
|
|
111
|
-
- spec/data/hyp-planning.org
|
|
112
|
-
- spec/data/remember.org
|
|
113
|
-
- spec/headline_spec.rb
|
|
114
|
-
- spec/html_examples/advanced-code.html
|
|
115
|
-
- spec/html_examples/advanced-code.org
|
|
116
|
-
- spec/html_examples/advanced-lists.html
|
|
117
|
-
- spec/html_examples/advanced-lists.org
|
|
118
|
-
- spec/html_examples/block_code.html
|
|
119
|
-
- spec/html_examples/block_code.org
|
|
120
|
-
- spec/html_examples/blockcomment.html
|
|
121
|
-
- spec/html_examples/blockcomment.org
|
|
122
|
-
- spec/html_examples/blockquote.html
|
|
123
|
-
- spec/html_examples/blockquote.org
|
|
124
|
-
- spec/html_examples/center.html
|
|
125
|
-
- spec/html_examples/center.org
|
|
126
|
-
- spec/html_examples/code-comment.html
|
|
127
|
-
- spec/html_examples/code-comment.org
|
|
128
|
-
- spec/html_examples/code-syntax.html
|
|
129
|
-
- spec/html_examples/code-syntax.org
|
|
130
|
-
- spec/html_examples/comment-trees.html
|
|
131
|
-
- spec/html_examples/comment-trees.org
|
|
132
|
-
- spec/html_examples/custom-seq-todo.html
|
|
133
|
-
- spec/html_examples/custom-seq-todo.org
|
|
134
|
-
- spec/html_examples/custom-todo.html
|
|
135
|
-
- spec/html_examples/custom-todo.org
|
|
136
|
-
- spec/html_examples/custom-typ-todo.html
|
|
137
|
-
- spec/html_examples/custom-typ-todo.org
|
|
138
|
-
- spec/html_examples/deflist.html
|
|
139
|
-
- spec/html_examples/deflist.org
|
|
140
|
-
- spec/html_examples/entities.html
|
|
141
|
-
- spec/html_examples/entities.org
|
|
142
|
-
- spec/html_examples/escape-pre.html
|
|
143
|
-
- spec/html_examples/escape-pre.org
|
|
144
|
-
- spec/html_examples/export-exclude-only.html
|
|
145
|
-
- spec/html_examples/export-exclude-only.org
|
|
146
|
-
- spec/html_examples/export-keywords.html
|
|
147
|
-
- spec/html_examples/export-keywords.org
|
|
148
|
-
- spec/html_examples/export-tags.html
|
|
149
|
-
- spec/html_examples/export-tags.org
|
|
150
|
-
- spec/html_examples/export-title.html
|
|
151
|
-
- spec/html_examples/export-title.org
|
|
152
|
-
- spec/html_examples/footnotes.html
|
|
153
|
-
- spec/html_examples/footnotes.org
|
|
154
|
-
- spec/html_examples/html-literal.html
|
|
155
|
-
- spec/html_examples/html-literal.org
|
|
156
|
-
- spec/html_examples/inline-formatting.html
|
|
157
|
-
- spec/html_examples/inline-formatting.org
|
|
158
|
-
- spec/html_examples/inline-images.html
|
|
159
|
-
- spec/html_examples/inline-images.org
|
|
160
|
-
- spec/html_examples/link-features.html
|
|
161
|
-
- spec/html_examples/link-features.org
|
|
162
|
-
- spec/html_examples/lists.html
|
|
163
|
-
- spec/html_examples/lists.org
|
|
164
|
-
- spec/html_examples/metadata-comment.html
|
|
165
|
-
- spec/html_examples/metadata-comment.org
|
|
166
|
-
- spec/html_examples/only-list.html
|
|
167
|
-
- spec/html_examples/only-list.org
|
|
168
|
-
- spec/html_examples/only-table.html
|
|
169
|
-
- spec/html_examples/only-table.org
|
|
170
|
-
- spec/html_examples/skip-header.html
|
|
171
|
-
- spec/html_examples/skip-header.org
|
|
172
|
-
- spec/html_examples/skip-table.html
|
|
173
|
-
- spec/html_examples/skip-table.org
|
|
174
|
-
- spec/html_examples/subsupscript-nil.html
|
|
175
|
-
- spec/html_examples/subsupscript-nil.org
|
|
176
|
-
- spec/html_examples/subsupscript.html
|
|
177
|
-
- spec/html_examples/subsupscript.org
|
|
178
|
-
- spec/html_examples/tables.html
|
|
179
|
-
- spec/html_examples/tables.org
|
|
180
|
-
- spec/html_examples/text.html
|
|
181
|
-
- spec/html_examples/text.org
|
|
182
|
-
- spec/line_spec.rb
|
|
183
|
-
- spec/output_buffer_spec.rb
|
|
184
|
-
- spec/parser_spec.rb
|
|
185
|
-
- spec/regexp_helper_spec.rb
|
|
186
|
-
- spec/spec_helper.rb
|
|
187
|
-
- spec/textile_examples/block_code.org
|
|
188
|
-
- spec/textile_examples/block_code.textile
|
|
189
|
-
- spec/textile_examples/blockquote.org
|
|
190
|
-
- spec/textile_examples/blockquote.textile
|
|
191
|
-
- spec/textile_examples/center.org
|
|
192
|
-
- spec/textile_examples/center.textile
|
|
193
|
-
- spec/textile_examples/footnotes.org
|
|
194
|
-
- spec/textile_examples/footnotes.textile
|
|
195
|
-
- spec/textile_examples/keywords.org
|
|
196
|
-
- spec/textile_examples/keywords.textile
|
|
197
|
-
- spec/textile_examples/links.org
|
|
198
|
-
- spec/textile_examples/links.textile
|
|
199
|
-
- spec/textile_examples/lists.org
|
|
200
|
-
- spec/textile_examples/lists.textile
|
|
201
|
-
- spec/textile_examples/single-space-plain-list.org
|
|
202
|
-
- spec/textile_examples/single-space-plain-list.textile
|
|
203
|
-
- spec/textile_examples/tables.org
|
|
204
|
-
- spec/textile_examples/tables.textile
|
|
205
|
-
- spec/textile_output_buffer_spec.rb
|
|
206
|
-
- tasks/test_case.rake
|
|
207
|
-
- test/test_orgmode_parser.rb
|
|
208
|
-
- util/gen-special-replace.el
|
|
209
|
-
homepage: http://github.com/wallyqs/org-ruby
|
|
57
|
+
homepage: http://github.com/bdewey/org-ruby
|
|
210
58
|
licenses: []
|
|
211
|
-
|
|
212
59
|
post_install_message:
|
|
213
|
-
rdoc_options:
|
|
60
|
+
rdoc_options:
|
|
214
61
|
- --main
|
|
215
62
|
- README.rdoc
|
|
216
|
-
require_paths:
|
|
63
|
+
require_paths:
|
|
217
64
|
- lib
|
|
218
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
66
|
none: false
|
|
220
|
-
requirements:
|
|
221
|
-
- -
|
|
222
|
-
- !ruby/object:Gem::Version
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
- 0
|
|
226
|
-
version: "0"
|
|
227
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
|
+
requirements:
|
|
68
|
+
- - ! '>='
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '0'
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
72
|
none: false
|
|
229
|
-
requirements:
|
|
230
|
-
- -
|
|
231
|
-
- !ruby/object:Gem::Version
|
|
232
|
-
|
|
233
|
-
segments:
|
|
234
|
-
- 0
|
|
235
|
-
version: "0"
|
|
73
|
+
requirements:
|
|
74
|
+
- - ! '>='
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '0'
|
|
236
77
|
requirements: []
|
|
237
|
-
|
|
238
78
|
rubyforge_project: org-ruby
|
|
239
79
|
rubygems_version: 1.8.10
|
|
240
80
|
signing_key:
|
|
241
81
|
specification_version: 3
|
|
242
82
|
summary: This gem contains Ruby routines for parsing org-mode files.
|
|
243
|
-
test_files:
|
|
244
|
-
- test/test_orgmode_parser.rb
|
|
83
|
+
test_files: []
|
data/.bnsignore
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# The list of files that should be ignored by Mr Bones.
|
|
2
|
-
# Lines that start with '#' are comments.
|
|
3
|
-
#
|
|
4
|
-
# A .gitignore file can be used instead by setting it as the ignore
|
|
5
|
-
# file in your Rakefile:
|
|
6
|
-
#
|
|
7
|
-
# Bones {
|
|
8
|
-
# ignore_file '.gitignore'
|
|
9
|
-
# }
|
|
10
|
-
#
|
|
11
|
-
# For a project with a C extension, the following would be a good set of
|
|
12
|
-
# exclude patterns (uncomment them if you want to use them):
|
|
13
|
-
# *.[oa]
|
|
14
|
-
# *~
|
|
15
|
-
announcement.txt
|
|
16
|
-
coverage
|
|
17
|
-
doc
|
|
18
|
-
pkg
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
wallyqs-org-ruby (0.6.1)
|
|
5
|
-
coderay (>= 1.0.0)
|
|
6
|
-
rubypants (>= 0.2.0)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: http://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
bones (3.8.0)
|
|
12
|
-
little-plugger (~> 1.1.3)
|
|
13
|
-
loquacious (~> 1.9.1)
|
|
14
|
-
rake (>= 0.8.7)
|
|
15
|
-
coderay (1.0.5)
|
|
16
|
-
diff-lcs (1.1.3)
|
|
17
|
-
little-plugger (1.1.3)
|
|
18
|
-
loquacious (1.9.1)
|
|
19
|
-
rake (0.9.2.2)
|
|
20
|
-
rspec (2.8.0)
|
|
21
|
-
rspec-core (~> 2.8.0)
|
|
22
|
-
rspec-expectations (~> 2.8.0)
|
|
23
|
-
rspec-mocks (~> 2.8.0)
|
|
24
|
-
rspec-core (2.8.0)
|
|
25
|
-
rspec-expectations (2.8.0)
|
|
26
|
-
diff-lcs (~> 1.1.2)
|
|
27
|
-
rspec-mocks (2.8.0)
|
|
28
|
-
rubypants (0.2.0)
|
|
29
|
-
|
|
30
|
-
PLATFORMS
|
|
31
|
-
ruby
|
|
32
|
-
|
|
33
|
-
DEPENDENCIES
|
|
34
|
-
bones (>= 3.7.3)
|
|
35
|
-
rspec
|
|
36
|
-
wallyqs-org-ruby!
|
data/Rakefile
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
begin
|
|
3
|
-
require 'bones'
|
|
4
|
-
rescue LoadError
|
|
5
|
-
abort '### Please install the "bones" gem ###'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
ensure_in_path 'lib'
|
|
9
|
-
require 'org-ruby'
|
|
10
|
-
|
|
11
|
-
require 'rspec/core'
|
|
12
|
-
require 'rspec/core/rake_task'
|
|
13
|
-
|
|
14
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
15
|
-
spec.pattern = FileList['spec/**/*_spec.rb']
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
task :default => 'spec'
|
|
19
|
-
task 'gem:release' => 'spec'
|
|
20
|
-
|
|
21
|
-
Bones {
|
|
22
|
-
readme_file 'README.rdoc'
|
|
23
|
-
name 'org-ruby'
|
|
24
|
-
authors 'Brian Dewey'
|
|
25
|
-
email 'bdewey@gmail.com'
|
|
26
|
-
url 'http://github.com/bdewey/org-ruby'
|
|
27
|
-
version OrgRuby::VERSION
|
|
28
|
-
depend_on 'rubypants'
|
|
29
|
-
depend_on('coderay','>= 1.0.0')
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# EOF
|
data/TAGS
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
(null),404
|
|
3
|
-
module OrgmodeOrgmode3,45
|
|
4
|
-
class Headline < LineHeadline6,107
|
|
5
|
-
def initialize(line, parser = nil, offset=0)initialize47,1403
|
|
6
|
-
def output_textoutput_text70,2258
|
|
7
|
-
def self.headline?(line)headline76,2420
|
|
8
|
-
def comment_headline?comment_headline?81,2539
|
|
9
|
-
def paragraph_typeparagraph_type86,2657
|
|
10
|
-
def to_textileto_textile91,2769
|
|
11
|
-
def parse_keywordsparse_keywords100,2999
|
|
12
|
-
|
|
13
|
-
702x2_nc0000gn/T//tags.aX8Cuf,636
|
|
14
|
-
module OrgmodeOrgmode10,190
|
|
15
|
-
class HtmlOutputBuffer < OutputBufferHtmlOutputBuffer12,206
|
|
16
|
-
def initialize(output, opts = {})initialize44,931
|
|
17
|
-
def push_mode(mode)push_mode59,1420
|
|
18
|
-
def pop_mode(mode = nil)pop_mode81,2346
|
|
19
|
-
def flush!flush!94,2695
|
|
20
|
-
def output_footnotes!output_footnotes!159,5550
|
|
21
|
-
def skip_tables?skip_tables?179,6179
|
|
22
|
-
def buffer_mode_is_table?buffer_mode_is_table?183,6238
|
|
23
|
-
def escape_buffer!escape_buffer!188,6380
|
|
24
|
-
def output_indentationoutput_indentation194,6512
|
|
25
|
-
def inline_formatting(str)inline_formatting210,7062
|
|
26
|
-
def silence_warningssilence_warnings265,9033
|
|
27
|
-
|
|
28
|
-
lib/org-ruby/html_symbol_replace.rb,100
|
|
29
|
-
module OrgmodeOrgmode3,48
|
|
30
|
-
def Orgmode.special_symbols_to_html(str)special_symbols_to_html4,63
|
|
31
|
-
|
|
32
|
-
,1591
|
|
33
|
-
module OrgmodeOrgmode1,0
|
|
34
|
-
class LineLine4,65
|
|
35
|
-
def initialize(line, parser = nil)initialize24,782
|
|
36
|
-
def to_sto_s33,988
|
|
37
|
-
def comment?comment?38,1065
|
|
38
|
-
def property_drawer_begin_block?property_drawer_begin_block?46,1323
|
|
39
|
-
def property_drawer_end_block?property_drawer_end_block?50,1427
|
|
40
|
-
def property_drawer?property_drawer?54,1522
|
|
41
|
-
def property_drawer_item?property_drawer_item?60,1684
|
|
42
|
-
def metadata?metadata?65,1830
|
|
43
|
-
def nonprinting?nonprinting?69,1949
|
|
44
|
-
def blank?blank?73,2037
|
|
45
|
-
def plain_list?plain_list?77,2111
|
|
46
|
-
def unordered_list?unordered_list?83,2242
|
|
47
|
-
def strip_unordered_list_tagstrip_unordered_list_tag87,2346
|
|
48
|
-
def definition_list?definition_list?93,2480
|
|
49
|
-
def ordered_list?ordered_list?99,2632
|
|
50
|
-
def strip_ordered_list_tagstrip_ordered_list_tag103,2730
|
|
51
|
-
def output_textoutput_text109,2916
|
|
52
|
-
def plain_text?plain_text?116,3140
|
|
53
|
-
def table_row?table_row?120,3224
|
|
54
|
-
def table_separator?table_separator?126,3396
|
|
55
|
-
def table_header?table_header?135,3725
|
|
56
|
-
def table?table?139,3804
|
|
57
|
-
def begin_block?begin_block?145,3938
|
|
58
|
-
def end_block?end_block?149,4013
|
|
59
|
-
def block_typeblock_type153,4084
|
|
60
|
-
def block_langblock_lang157,4145
|
|
61
|
-
def code_block_type?code_block_type?161,4206
|
|
62
|
-
def inline_example?inline_example?169,4424
|
|
63
|
-
def in_buffer_setting?in_buffer_setting?183,4951
|
|
64
|
-
def paragraph_typeparagraph_type195,5295
|
|
65
|
-
def self.to_textile(lines)to_textile214,6124
|
|
66
|
-
def check_assignment_or_regexp(assignment, regexp)check_assignment_or_regexp239,7192
|
|
67
|
-
|
|
68
|
-
lib/org-ruby/output_buffer.rb,960
|
|
69
|
-
module OrgmodeOrgmode3,18
|
|
70
|
-
class OutputBufferOutputBuffer9,295
|
|
71
|
-
def initialize(output)initialize34,1103
|
|
72
|
-
def current_modecurrent_mode59,1789
|
|
73
|
-
def current_mode_list?current_mode_list?63,1842
|
|
74
|
-
def push_mode(mode)push_mode67,1953
|
|
75
|
-
def pop_mode(mode = nil)pop_mode72,2088
|
|
76
|
-
def prepare(line)prepare80,2396
|
|
77
|
-
def clear_accumulation_buffer!clear_accumulation_buffer!101,3537
|
|
78
|
-
def get_next_headline_number(level)get_next_headline_number110,3852
|
|
79
|
-
def enter_table?enter_table?124,4399
|
|
80
|
-
def exit_table?exit_table?130,4620
|
|
81
|
-
def << (str)<<136,4830
|
|
82
|
-
def list_indent_levellist_indent_level146,5154
|
|
83
|
-
def preserve_whitespace?preserve_whitespace?151,5295
|
|
84
|
-
def mode_is_code(mode)mode_is_code158,5453
|
|
85
|
-
def maintain_list_indent_stack(line)maintain_list_indent_stack167,5596
|
|
86
|
-
def output_footnotes!output_footnotes!200,6570
|
|
87
|
-
def should_accumulate_output?(line)should_accumulate_output?208,6850
|
|
88
|
-
|
|
89
|
-
lib/org-ruby/parser.rb,911
|
|
90
|
-
module OrgmodeOrgmode4,40
|
|
91
|
-
class ParserParser10,123
|
|
92
|
-
def custom_keyword_regexpcustom_keyword_regexp32,775
|
|
93
|
-
def export_select_tagsexport_select_tags39,1035
|
|
94
|
-
def export_exclude_tagsexport_exclude_tags46,1316
|
|
95
|
-
def export_todo?export_todo?52,1547
|
|
96
|
-
def export_footnotes?export_footnotes?57,1656
|
|
97
|
-
def export_heading_number?export_heading_number?62,1774
|
|
98
|
-
def skip_header_lines?skip_header_lines?67,1905
|
|
99
|
-
def export_tables?export_tables?73,2068
|
|
100
|
-
def use_sub_superscripts?use_sub_superscripts?79,2229
|
|
101
|
-
def initialize(lines, offset=0)initialize85,2434
|
|
102
|
-
def self.load(fname)load176,5550
|
|
103
|
-
def to_textileto_textile182,5702
|
|
104
|
-
def to_htmlto_html192,5941
|
|
105
|
-
def self.translate(lines, output_buffer)translate236,7495
|
|
106
|
-
def mark_trees_for_exportmark_trees_for_export290,9493
|
|
107
|
-
def store_in_buffer_setting(key, value)store_in_buffer_setting341,11317
|
|
108
|
-
|
|
109
|
-
lib/org-ruby/regexp_helper.rb,686
|
|
110
|
-
module OrgmodeOrgmode3,18
|
|
111
|
-
class RegexpHelperRegexpHelper20,562
|
|
112
|
-
def initializeinitialize53,2089
|
|
113
|
-
def match_all(str)match_all70,2676
|
|
114
|
-
def rewrite_emphasis(str)rewrite_emphasis97,3613
|
|
115
|
-
def rewrite_subp(str) # :yields: type ("_" for subscript and "^" for superscript), textrewrite_subp105,3828
|
|
116
|
-
def rewrite_footnote(str) # :yields: name, definition or nilrewrite_footnote112,4028
|
|
117
|
-
def rewrite_links(str) # :yields: link, textrewrite_links143,5136
|
|
118
|
-
def rewrite_images(str) # :yields: image_linkrewrite_images159,5571
|
|
119
|
-
def build_org_emphasis_regexpbuild_org_emphasis_regexp167,5714
|
|
120
|
-
def build_org_link_regexpbuild_org_link_regexp177,6285
|
|
121
|
-
|
|
122
|
-
,365
|
|
123
|
-
module OrgmodeOrgmode3,20
|
|
124
|
-
class TextileOutputBuffer < OutputBufferTextileOutputBuffer5,36
|
|
125
|
-
def initialize(output)initialize7,80
|
|
126
|
-
def push_mode(mode)push_mode14,257
|
|
127
|
-
def pop_mode(mode = nil)pop_mode20,400
|
|
128
|
-
def inline_formatting(input)inline_formatting38,769
|
|
129
|
-
def output_footnotes!output_footnotes!65,1631
|
|
130
|
-
def flush!flush!76,1851
|
|
131
|
-
|
|
132
|
-
lib/org-ruby/textile_symbol_replace.rb,106
|
|
133
|
-
module OrgmodeOrgmode4,66
|
|
134
|
-
def Orgmode.special_symbols_to_textile(str)special_symbols_to_textile5,81
|
|
135
|
-
|
|
136
|
-
,277
|
|
137
|
-
module TiltTilt4,24
|
|
138
|
-
class OrgTemplate < TemplateOrgTemplate5,38
|
|
139
|
-
def self.engine_initialized?engine_initialized6,71
|
|
140
|
-
def initialize_engineinitialize_engine10,144
|
|
141
|
-
def prepareprepare14,210
|
|
142
|
-
def evaluate(scope, locals, &block)evaluate19,305
|
|
143
|
-
|
|
144
|
-
,240
|
|
145
|
-
module OrgRubyOrgRuby8,221
|
|
146
|
-
def self.versionversion18,469
|
|
147
|
-
def self.libpath( *args )libpath26,668
|
|
148
|
-
def self.path( *args )path34,913
|
|
149
|
-
def self.require_all_libs_relative_to( fname, dir = nil )require_all_libs_relative_to43,1300
|
|
150
|
-
|
|
151
|
-
,0
|
|
152
|
-
|
|
153
|
-
spec/line_spec.rb,0
|
|
154
|
-
|
|
155
|
-
spec/output_buffer_spec.rb,0
|
|
156
|
-
|
|
157
|
-
spec/parser_spec.rb,0
|
|
158
|
-
|
|
159
|
-
spec/regexp_helper_spec.rb,0
|
|
160
|
-
|
|
161
|
-
spec/spec_helper.rb,0
|
|
162
|
-
|
|
163
|
-
,0
|
|
164
|
-
|
|
165
|
-
,0
|
|
166
|
-
|
|
167
|
-
,0
|