org-ruby 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +36 -0
- data/History.txt +9 -0
- data/README.rdoc +2 -1
- data/Rakefile +10 -10
- data/announcement.txt +7 -12
- data/lib/org-ruby.rb +1 -1
- data/lib/org-ruby/headline.rb +8 -0
- data/lib/org-ruby/html_output_buffer.rb +12 -1
- data/lib/org-ruby/line.rb +36 -2
- data/lib/org-ruby/output_buffer.rb +6 -3
- data/lib/org-ruby/parser.rb +25 -7
- data/lib/org-ruby/regexp_helper.rb +7 -5
- data/lib/org-ruby/textile_symbol_replace.rb +1 -0
- data/lib/org-ruby/tilt.rb +29 -0
- data/org-ruby.gemspec +19 -23
- data/spec/headline_spec.rb +5 -0
- data/spec/html_examples/advanced-code.html +53 -18
- data/spec/html_examples/advanced-code.org +40 -0
- data/spec/html_examples/comment-trees.html +4 -0
- data/spec/html_examples/comment-trees.org +13 -0
- data/spec/html_examples/horizontal_rule.html +4 -0
- data/spec/html_examples/horizontal_rule.org +5 -0
- data/spec/html_examples/inline-formatting.html +7 -0
- data/spec/html_examples/inline-formatting.org +16 -0
- data/spec/line_spec.rb +8 -1
- data/spec/parser_spec.rb +6 -0
- metadata +55 -118
- data/doc/History_txt.html +0 -272
- data/doc/OrgRuby.html +0 -149
- data/doc/Orgmode.html +0 -960
- data/doc/Orgmode/Headline.html +0 -522
- data/doc/Orgmode/HtmlOutputBuffer.html +0 -480
- data/doc/Orgmode/Line.html +0 -1251
- data/doc/Orgmode/OutputBuffer.html +0 -810
- data/doc/Orgmode/Parser.html +0 -852
- data/doc/Orgmode/RegexpHelper.html +0 -639
- data/doc/Orgmode/TextileOutputBuffer.html +0 -456
- data/doc/README_rdoc.html +0 -178
- data/doc/announcement_txt.html +0 -142
- data/doc/bin/org-ruby.html +0 -54
- data/doc/created.rid +0 -15
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -306
- data/doc/js/darkfish.js +0 -116
- data/doc/js/jquery.js +0 -32
- data/doc/js/quicksearch.js +0 -114
- data/doc/js/thickbox-compressed.js +0 -10
- data/doc/lib/org-ruby/headline_rb.html +0 -52
- data/doc/lib/org-ruby/html_output_buffer_rb.html +0 -52
- data/doc/lib/org-ruby/html_symbol_replace_rb.html +0 -54
- data/doc/lib/org-ruby/line_rb.html +0 -52
- data/doc/lib/org-ruby/output_buffer_rb.html +0 -54
- data/doc/lib/org-ruby/parser_rb.html +0 -56
- data/doc/lib/org-ruby/regexp_helper_rb.html +0 -54
- data/doc/lib/org-ruby/textile_output_buffer_rb.html +0 -54
- data/doc/lib/org-ruby/textile_symbol_replace_rb.html +0 -54
- data/doc/lib/org-ruby_rb.html +0 -52
- data/doc/rdoc.css +0 -763
data/org-ruby.gemspec
CHANGED
@@ -1,41 +1,37 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "0.6.
|
4
|
+
s.name = "org-ruby"
|
5
|
+
s.version = "0.6.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = [
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
s.
|
16
|
-
s.
|
17
|
-
s.
|
18
|
-
s.
|
19
|
-
s.
|
20
|
-
s.
|
21
|
-
s.
|
22
|
-
s.rubyforge_project = %q{org-ruby}
|
23
|
-
s.rubygems_version = %q{1.8.5}
|
24
|
-
s.summary = %q{This gem contains Ruby routines for parsing org-mode files.}
|
25
|
-
s.test_files = [%q{test/test_orgmode_parser.rb}]
|
8
|
+
s.authors = ["Brian Dewey"]
|
9
|
+
s.date = "2012-04-14"
|
10
|
+
s.description = "This gem contains Ruby routines for parsing org-mode files.The most\nsignificant thing this library does today is convert org-mode files to\nHTML or textile. Currently, you cannot do much to customize the\nconversion. The supplied textile conversion is optimized for\nextracting \"content\" from the orgfile as opposed to \"metadata.\" "
|
11
|
+
s.email = "bdewey@gmail.com"
|
12
|
+
s.executables = ["org-ruby"]
|
13
|
+
s.extra_rdoc_files = ["History.txt", "README.rdoc", "announcement.txt", "bin/org-ruby"]
|
14
|
+
s.files = [".bnsignore", "Gemfile", "Gemfile.lock", "History.txt", "README.rdoc", "Rakefile", "TAGS", "announcement.txt", "bin/org-ruby", "lib/org-ruby.rb", "lib/org-ruby/headline.rb", "lib/org-ruby/html_output_buffer.rb", "lib/org-ruby/html_symbol_replace.rb", "lib/org-ruby/line.rb", "lib/org-ruby/output_buffer.rb", "lib/org-ruby/parser.rb", "lib/org-ruby/regexp_helper.rb", "lib/org-ruby/textile_output_buffer.rb", "lib/org-ruby/textile_symbol_replace.rb", "lib/org-ruby/tilt.rb", "org-ruby.gemspec", "spec/data/freeform-example.org", "spec/data/freeform.org", "spec/data/hyp-planning.org", "spec/data/remember.org", "spec/headline_spec.rb", "spec/html_examples/advanced-code.html", "spec/html_examples/advanced-code.org", "spec/html_examples/advanced-lists.html", "spec/html_examples/advanced-lists.org", "spec/html_examples/block_code.html", "spec/html_examples/block_code.org", "spec/html_examples/blockcomment.html", "spec/html_examples/blockcomment.org", "spec/html_examples/blockquote.html", "spec/html_examples/blockquote.org", "spec/html_examples/center.html", "spec/html_examples/center.org", "spec/html_examples/code-comment.html", "spec/html_examples/code-comment.org", "spec/html_examples/comment-trees.html", "spec/html_examples/comment-trees.org", "spec/html_examples/custom-seq-todo.html", "spec/html_examples/custom-seq-todo.org", "spec/html_examples/custom-todo.html", "spec/html_examples/custom-todo.org", "spec/html_examples/custom-typ-todo.html", "spec/html_examples/custom-typ-todo.org", "spec/html_examples/deflist.html", "spec/html_examples/deflist.org", "spec/html_examples/entities.html", "spec/html_examples/entities.org", "spec/html_examples/escape-pre.html", "spec/html_examples/escape-pre.org", "spec/html_examples/export-exclude-only.html", "spec/html_examples/export-exclude-only.org", "spec/html_examples/export-keywords.html", "spec/html_examples/export-keywords.org", "spec/html_examples/export-tags.html", "spec/html_examples/export-tags.org", "spec/html_examples/export-title.html", "spec/html_examples/export-title.org", "spec/html_examples/footnotes.html", "spec/html_examples/footnotes.org", "spec/html_examples/horizontal_rule.html", "spec/html_examples/horizontal_rule.org", "spec/html_examples/html-literal.html", "spec/html_examples/html-literal.org", "spec/html_examples/inline-formatting.html", "spec/html_examples/inline-formatting.org", "spec/html_examples/inline-images.html", "spec/html_examples/inline-images.org", "spec/html_examples/link-features.html", "spec/html_examples/link-features.org", "spec/html_examples/lists.html", "spec/html_examples/lists.org", "spec/html_examples/metadata-comment.html", "spec/html_examples/metadata-comment.org", "spec/html_examples/only-list.html", "spec/html_examples/only-list.org", "spec/html_examples/only-table.html", "spec/html_examples/only-table.org", "spec/html_examples/skip-header.html", "spec/html_examples/skip-header.org", "spec/html_examples/skip-table.html", "spec/html_examples/skip-table.org", "spec/html_examples/subsupscript-nil.html", "spec/html_examples/subsupscript-nil.org", "spec/html_examples/subsupscript.html", "spec/html_examples/subsupscript.org", "spec/html_examples/tables.html", "spec/html_examples/tables.org", "spec/html_examples/text.html", "spec/html_examples/text.org", "spec/line_spec.rb", "spec/output_buffer_spec.rb", "spec/parser_spec.rb", "spec/regexp_helper_spec.rb", "spec/spec_helper.rb", "spec/textile_examples/block_code.org", "spec/textile_examples/block_code.textile", "spec/textile_examples/blockquote.org", "spec/textile_examples/blockquote.textile", "spec/textile_examples/center.org", "spec/textile_examples/center.textile", "spec/textile_examples/footnotes.org", "spec/textile_examples/footnotes.textile", "spec/textile_examples/keywords.org", "spec/textile_examples/keywords.textile", "spec/textile_examples/links.org", "spec/textile_examples/links.textile", "spec/textile_examples/lists.org", "spec/textile_examples/lists.textile", "spec/textile_examples/single-space-plain-list.org", "spec/textile_examples/single-space-plain-list.textile", "spec/textile_examples/tables.org", "spec/textile_examples/tables.textile", "spec/textile_output_buffer_spec.rb", "tasks/test_case.rake", "test/test_orgmode_parser.rb", "util/gen-special-replace.el"]
|
15
|
+
s.homepage = "http://github.com/bdewey/org-ruby"
|
16
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubyforge_project = "org-ruby"
|
19
|
+
s.rubygems_version = "1.8.10"
|
20
|
+
s.summary = "This gem contains Ruby routines for parsing org-mode files."
|
21
|
+
s.test_files = ["test/test_orgmode_parser.rb"]
|
26
22
|
|
27
23
|
if s.respond_to? :specification_version then
|
28
24
|
s.specification_version = 3
|
29
25
|
|
30
26
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
31
27
|
s.add_runtime_dependency(%q<rubypants>, [">= 0.2.0"])
|
32
|
-
s.add_development_dependency(%q<bones>, [">= 3.
|
28
|
+
s.add_development_dependency(%q<bones>, [">= 3.8.0"])
|
33
29
|
else
|
34
30
|
s.add_dependency(%q<rubypants>, [">= 0.2.0"])
|
35
|
-
s.add_dependency(%q<bones>, [">= 3.
|
31
|
+
s.add_dependency(%q<bones>, [">= 3.8.0"])
|
36
32
|
end
|
37
33
|
else
|
38
34
|
s.add_dependency(%q<rubypants>, [">= 0.2.0"])
|
39
|
-
s.add_dependency(%q<bones>, [">= 3.
|
35
|
+
s.add_dependency(%q<bones>, [">= 3.8.0"])
|
40
36
|
end
|
41
37
|
end
|
data/spec/headline_spec.rb
CHANGED
@@ -56,5 +56,10 @@ describe Orgmode::Headline do
|
|
56
56
|
h.headline_text.should eql("Feed cat")
|
57
57
|
h.keyword.should eql("TODO")
|
58
58
|
end
|
59
|
+
|
60
|
+
it "should recognize headlines marked as COMMENT" do
|
61
|
+
h = Orgmode::Headline.new "* COMMENT This headline is a comment"
|
62
|
+
h.comment_headline?.should_not be_nil
|
63
|
+
end
|
59
64
|
end
|
60
65
|
|
@@ -3,29 +3,21 @@
|
|
3
3
|
<h1><span class="heading-number heading-number-1">1 </span>Inline examples</h1>
|
4
4
|
<p>This should work:</p>
|
5
5
|
<pre class="example">
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
6
|
+
fixed width? how does this work?
|
7
|
+
...........
|
8
|
+
............
|
9
|
+
.
|
10
|
+
. . . .
|
11
|
+
. ..
|
12
|
+
....... .....
|
13
|
+
. .
|
14
|
+
....
|
15
15
|
</pre>
|
16
16
|
<p>Two ASCII blobs.</p>
|
17
17
|
<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
|
18
|
-
<pre class="example">
|
19
|
-
PROPERTIES:
|
20
|
-
ARCHIVE_TIME: 2009-12-26 Sat 22:16
|
21
|
-
ARCHIVE_FILE: ~/brians-brain/content/projects/orgmode_parser.org
|
22
|
-
ARCHIVE_OLPATH: &lt;%= @page.title %&gt;/Future Development
|
23
|
-
ARCHIVE_CATEGORY: orgmode_parser
|
24
|
-
ARCHIVE_TODO: DONE
|
25
|
-
END:
|
26
|
-
</pre>
|
27
18
|
<p>And this:</p>
|
28
19
|
<pre class="src">
|
20
|
+
<code class="ruby">
|
29
21
|
# Finds all emphasis matches in a string.
|
30
22
|
# Supply a block that will get the marker and body as parameters.
|
31
23
|
def match_all(str)
|
@@ -33,9 +25,11 @@ END:
|
|
33
25
|
yield $2, $3
|
34
26
|
end
|
35
27
|
end
|
28
|
+
</code>
|
36
29
|
</pre>
|
37
30
|
<p>Now let’s test case-insensitive code blocks.</p>
|
38
31
|
<pre class="src">
|
32
|
+
<code class="ruby">
|
39
33
|
# Finds all emphasis matches in a string.
|
40
34
|
# Supply a block that will get the marker and body as parameters.
|
41
35
|
def match_all(str)
|
@@ -43,4 +37,45 @@ END:
|
|
43
37
|
yield $2, $3
|
44
38
|
end
|
45
39
|
end
|
40
|
+
</code>
|
41
|
+
</pre>
|
42
|
+
<pre class="src">
|
43
|
+
<code class="clojure">
|
44
|
+
(def fib-seq
|
45
|
+
(concat
|
46
|
+
[0 1]
|
47
|
+
((fn rfib [a b]
|
48
|
+
(lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))
|
49
|
+
|
50
|
+
user> (take 20 fib-seq)
|
51
|
+
(0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181)
|
52
|
+
</code>
|
53
|
+
</pre>
|
54
|
+
<p>Even if no language is set, it is still wrapped in code tags but class is empty.</p>
|
55
|
+
<pre class="src">
|
56
|
+
<code class="">
|
57
|
+
echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo tee -a /etc/sudoers
|
58
|
+
</code>
|
59
|
+
</pre>
|
60
|
+
<h1><span class="heading-number heading-number-1">3 </span>It should be possible to write a colon at the beginning of an example</h1>
|
61
|
+
<blockquote>
|
62
|
+
<p>I really love to write about :symbols. They sure are the best things in the world!</p>
|
63
|
+
</blockquote>
|
64
|
+
<pre class="src">
|
65
|
+
<code class="ruby">
|
66
|
+
{
|
67
|
+
:one => 1,
|
68
|
+
:two => 2
|
69
|
+
}
|
70
|
+
</code>
|
71
|
+
</pre>
|
72
|
+
<pre class="src">
|
73
|
+
<code class="clojure">
|
74
|
+
(defproject helloworld "0.1"
|
75
|
+
:dependencies [[org.clojure/clojure
|
76
|
+
"1.1.0-master-SNAPSHOT"]
|
77
|
+
[org.clojure/clojure-contrib
|
78
|
+
"1.0-SNAPSHOT"]]
|
79
|
+
:main helloworld)
|
80
|
+
</code>
|
46
81
|
</pre>
|
@@ -64,3 +64,43 @@ Now let's test case-insensitive code blocks.
|
|
64
64
|
end
|
65
65
|
#+end_src
|
66
66
|
|
67
|
+
#+begin_src clojure
|
68
|
+
(def fib-seq
|
69
|
+
(concat
|
70
|
+
[0 1]
|
71
|
+
((fn rfib [a b]
|
72
|
+
(lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))
|
73
|
+
|
74
|
+
user> (take 20 fib-seq)
|
75
|
+
(0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181)
|
76
|
+
#+end_src
|
77
|
+
|
78
|
+
Even if no language is set, it is still wrapped in code tags but class is empty.
|
79
|
+
|
80
|
+
#+BEGIN_SRC
|
81
|
+
echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo tee -a /etc/sudoers
|
82
|
+
#+END_SRC
|
83
|
+
|
84
|
+
* It should be possible to write a colon at the beginning of an example
|
85
|
+
|
86
|
+
#+BEGIN_QUOTE
|
87
|
+
I really love to write about
|
88
|
+
:symbols. They sure are the
|
89
|
+
best things in the world!
|
90
|
+
#+END_QUOTE
|
91
|
+
|
92
|
+
#+BEGIN_SRC ruby
|
93
|
+
{
|
94
|
+
:one => 1,
|
95
|
+
:two => 2
|
96
|
+
}
|
97
|
+
#+END_SRC
|
98
|
+
|
99
|
+
#+BEGIN_SRC clojure
|
100
|
+
(defproject helloworld "0.1"
|
101
|
+
:dependencies [[org.clojure/clojure
|
102
|
+
"1.1.0-master-SNAPSHOT"]
|
103
|
+
[org.clojure/clojure-contrib
|
104
|
+
"1.0-SNAPSHOT"]]
|
105
|
+
:main helloworld)
|
106
|
+
#+END_SRC
|
@@ -0,0 +1,13 @@
|
|
1
|
+
* This headline is in the output
|
2
|
+
* COMMENT Commented headline should not be in the output
|
3
|
+
This should not be in the output either.
|
4
|
+
** This should not be in the output.
|
5
|
+
*** Neither this
|
6
|
+
**** nor this
|
7
|
+
** Not in the output
|
8
|
+
* This is in the output
|
9
|
+
** COMMENT But this is not
|
10
|
+
This is not in the output
|
11
|
+
*** Neither is this
|
12
|
+
** Yet, this is in the output
|
13
|
+
and this is also part of the output
|
@@ -16,3 +16,10 @@
|
|
16
16
|
<ul>
|
17
17
|
<li><a href="http://www.xkcd.com"><img src="http://imgs.xkcd.com/comics/t_cells.png" /></a></li>
|
18
18
|
</ul>
|
19
|
+
<p>Helpful addition from <a href="https://github.com/wallyqs">wallyqs</a>:</p>
|
20
|
+
<p>While “naked” links don’t work (like http://www.google.com), angle links do work. This should look like a link: <a href="http://www.google.com">http://www.google.com</a>.</p>
|
21
|
+
<p>It should be possible to use both kind of links on the same paragraph:</p>
|
22
|
+
<p>This is an angle link <a href="http://google.com">http://google.com</a> and this is a bracket link <a href="https://github.com/bdewey/org-ruby">to a repository</a>.</p>
|
23
|
+
<p>This is a bracket link <a href="https://github.com/bdewey/org-ruby">to a repository</a> and this is an angle link <a href="http://google.com">http://google.com</a>.</p>
|
24
|
+
<p>This is a bracket link <a href="https://github.com/bdewey/org-ruby">to a repository</a> and this is a bracket link too <a href="https://github.com/bdewey/org-ruby">to a repository</a>.</p>
|
25
|
+
<p>This is an angle link <a href="http://google.com">http://google.com</a> and this is an angle link too <a href="http://google.com">http://google.com</a>.</p>
|
@@ -25,3 +25,19 @@ Also, if you make the descriptive text be an image, then it will get formatted
|
|
25
25
|
with an image tag, like so:
|
26
26
|
|
27
27
|
- [[http://www.xkcd.com][http://imgs.xkcd.com/comics/t_cells.png]]
|
28
|
+
|
29
|
+
Helpful addition from [[https://github.com/wallyqs][wallyqs]]:
|
30
|
+
|
31
|
+
|
32
|
+
While "naked" links don't work (like http://www.google.com), angle links
|
33
|
+
do work. This should look like a link: <http://www.google.com>.
|
34
|
+
|
35
|
+
It should be possible to use both kind of links on the same paragraph:
|
36
|
+
|
37
|
+
This is an angle link <http://google.com> and this is a bracket link [[https://github.com/bdewey/org-ruby][to a repository]].
|
38
|
+
|
39
|
+
This is a bracket link [[https://github.com/bdewey/org-ruby][to a repository]] and this is an angle link <http://google.com>.
|
40
|
+
|
41
|
+
This is a bracket link [[https://github.com/bdewey/org-ruby][to a repository]] and this is a bracket link too [[https://github.com/bdewey/org-ruby][to a repository]].
|
42
|
+
|
43
|
+
This is an angle link <http://google.com> and this is an angle link too <http://google.com>.
|
data/spec/line_spec.rb
CHANGED
@@ -24,7 +24,7 @@ describe Orgmode::Line do
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
[": inline", " :inline", "\t\t:\tinline"].each do |inline_example|
|
27
|
+
[": inline", " : inline", "\t\t:\tinline"].each do |inline_example|
|
28
28
|
it "should recognize this inline example: #{inline_example}" do
|
29
29
|
Orgmode::Line.new(inline_example).inline_example?.should be_true
|
30
30
|
end
|
@@ -50,6 +50,13 @@ describe Orgmode::Line do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
it "should recognize horizontal rules" do
|
54
|
+
Orgmode::Line.new("-----").horizontal_rule?.should be_true
|
55
|
+
Orgmode::Line.new("----------").horizontal_rule?.should be_true
|
56
|
+
Orgmode::Line.new(" \t ----- \t\t\t").horizontal_rule?.should be_true
|
57
|
+
Orgmode::Line.new("----").horizontal_rule?.should_not be_true
|
58
|
+
end
|
59
|
+
|
53
60
|
it "should recognize table rows" do
|
54
61
|
Orgmode::Line.new("| One | Two | Three |").table_row?.should be_true
|
55
62
|
Orgmode::Line.new(" |-------+-------+-------|\n").table_separator?.should be_true
|
data/spec/parser_spec.rb
CHANGED
@@ -146,6 +146,12 @@ describe Orgmode::Parser do
|
|
146
146
|
actual.should be_kind_of(String)
|
147
147
|
actual.should == expected
|
148
148
|
end
|
149
|
+
|
150
|
+
it "should render #{basename}.org to HTML using Tilt templates" do
|
151
|
+
expected = IO.read(textile_name)
|
152
|
+
template = Tilt.new(file).render
|
153
|
+
template.should == expected
|
154
|
+
end
|
149
155
|
end
|
150
156
|
end
|
151
157
|
end
|
metadata
CHANGED
@@ -1,127 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: org-ruby
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 0
|
10
|
-
version: 0.6.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Brian Dewey
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-04-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rubypants
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70290787144340 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 2
|
32
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 0.2.0
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: bones
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: *70290787144340
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bones
|
27
|
+
requirement: &70290787142880 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 3
|
47
|
-
- 7
|
48
|
-
- 1
|
49
|
-
version: 3.7.1
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.8.0
|
50
33
|
type: :development
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70290787142880
|
36
|
+
description: ! 'This gem contains Ruby routines for parsing org-mode files.The most
|
37
|
+
|
38
|
+
significant thing this library does today is convert org-mode files to
|
39
|
+
|
40
|
+
HTML or textile. Currently, you cannot do much to customize the
|
41
|
+
|
42
|
+
conversion. The supplied textile conversion is optimized for
|
43
|
+
|
44
|
+
extracting "content" from the orgfile as opposed to "metadata." '
|
57
45
|
email: bdewey@gmail.com
|
58
|
-
executables:
|
46
|
+
executables:
|
59
47
|
- org-ruby
|
60
48
|
extensions: []
|
61
|
-
|
62
|
-
extra_rdoc_files:
|
49
|
+
extra_rdoc_files:
|
63
50
|
- History.txt
|
64
51
|
- README.rdoc
|
65
52
|
- announcement.txt
|
66
53
|
- bin/org-ruby
|
67
|
-
files:
|
54
|
+
files:
|
68
55
|
- .bnsignore
|
56
|
+
- .gitignore
|
57
|
+
- Gemfile
|
58
|
+
- Gemfile.lock
|
69
59
|
- History.txt
|
70
60
|
- README.rdoc
|
71
61
|
- Rakefile
|
72
62
|
- TAGS
|
73
63
|
- announcement.txt
|
74
64
|
- bin/org-ruby
|
75
|
-
- doc/History_txt.html
|
76
|
-
- doc/OrgRuby.html
|
77
|
-
- doc/Orgmode.html
|
78
|
-
- doc/Orgmode/Headline.html
|
79
|
-
- doc/Orgmode/HtmlOutputBuffer.html
|
80
|
-
- doc/Orgmode/Line.html
|
81
|
-
- doc/Orgmode/OutputBuffer.html
|
82
|
-
- doc/Orgmode/Parser.html
|
83
|
-
- doc/Orgmode/RegexpHelper.html
|
84
|
-
- doc/Orgmode/TextileOutputBuffer.html
|
85
|
-
- doc/README_rdoc.html
|
86
|
-
- doc/announcement_txt.html
|
87
|
-
- doc/bin/org-ruby.html
|
88
|
-
- doc/created.rid
|
89
|
-
- doc/images/brick.png
|
90
|
-
- doc/images/brick_link.png
|
91
|
-
- doc/images/bug.png
|
92
|
-
- doc/images/bullet_black.png
|
93
|
-
- doc/images/bullet_toggle_minus.png
|
94
|
-
- doc/images/bullet_toggle_plus.png
|
95
|
-
- doc/images/date.png
|
96
|
-
- doc/images/find.png
|
97
|
-
- doc/images/loadingAnimation.gif
|
98
|
-
- doc/images/macFFBgHack.png
|
99
|
-
- doc/images/package.png
|
100
|
-
- doc/images/page_green.png
|
101
|
-
- doc/images/page_white_text.png
|
102
|
-
- doc/images/page_white_width.png
|
103
|
-
- doc/images/plugin.png
|
104
|
-
- doc/images/ruby.png
|
105
|
-
- doc/images/tag_green.png
|
106
|
-
- doc/images/wrench.png
|
107
|
-
- doc/images/wrench_orange.png
|
108
|
-
- doc/images/zoom.png
|
109
|
-
- doc/index.html
|
110
|
-
- doc/js/darkfish.js
|
111
|
-
- doc/js/jquery.js
|
112
|
-
- doc/js/quicksearch.js
|
113
|
-
- doc/js/thickbox-compressed.js
|
114
|
-
- doc/lib/org-ruby/headline_rb.html
|
115
|
-
- doc/lib/org-ruby/html_output_buffer_rb.html
|
116
|
-
- doc/lib/org-ruby/html_symbol_replace_rb.html
|
117
|
-
- doc/lib/org-ruby/line_rb.html
|
118
|
-
- doc/lib/org-ruby/output_buffer_rb.html
|
119
|
-
- doc/lib/org-ruby/parser_rb.html
|
120
|
-
- doc/lib/org-ruby/regexp_helper_rb.html
|
121
|
-
- doc/lib/org-ruby/textile_output_buffer_rb.html
|
122
|
-
- doc/lib/org-ruby/textile_symbol_replace_rb.html
|
123
|
-
- doc/lib/org-ruby_rb.html
|
124
|
-
- doc/rdoc.css
|
125
65
|
- lib/org-ruby.rb
|
126
66
|
- lib/org-ruby/headline.rb
|
127
67
|
- lib/org-ruby/html_output_buffer.rb
|
@@ -132,6 +72,7 @@ files:
|
|
132
72
|
- lib/org-ruby/regexp_helper.rb
|
133
73
|
- lib/org-ruby/textile_output_buffer.rb
|
134
74
|
- lib/org-ruby/textile_symbol_replace.rb
|
75
|
+
- lib/org-ruby/tilt.rb
|
135
76
|
- org-ruby.gemspec
|
136
77
|
- spec/data/freeform-example.org
|
137
78
|
- spec/data/freeform.org
|
@@ -152,6 +93,8 @@ files:
|
|
152
93
|
- spec/html_examples/center.org
|
153
94
|
- spec/html_examples/code-comment.html
|
154
95
|
- spec/html_examples/code-comment.org
|
96
|
+
- spec/html_examples/comment-trees.html
|
97
|
+
- spec/html_examples/comment-trees.org
|
155
98
|
- spec/html_examples/custom-seq-todo.html
|
156
99
|
- spec/html_examples/custom-seq-todo.org
|
157
100
|
- spec/html_examples/custom-todo.html
|
@@ -174,6 +117,8 @@ files:
|
|
174
117
|
- spec/html_examples/export-title.org
|
175
118
|
- spec/html_examples/footnotes.html
|
176
119
|
- spec/html_examples/footnotes.org
|
120
|
+
- spec/html_examples/horizontal_rule.html
|
121
|
+
- spec/html_examples/horizontal_rule.org
|
177
122
|
- spec/html_examples/html-literal.html
|
178
123
|
- spec/html_examples/html-literal.org
|
179
124
|
- spec/html_examples/inline-formatting.html
|
@@ -231,37 +176,29 @@ files:
|
|
231
176
|
- util/gen-special-replace.el
|
232
177
|
homepage: http://github.com/bdewey/org-ruby
|
233
178
|
licenses: []
|
234
|
-
|
235
179
|
post_install_message:
|
236
|
-
rdoc_options:
|
180
|
+
rdoc_options:
|
237
181
|
- --main
|
238
182
|
- README.rdoc
|
239
|
-
require_paths:
|
183
|
+
require_paths:
|
240
184
|
- lib
|
241
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
242
186
|
none: false
|
243
|
-
requirements:
|
244
|
-
- -
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
|
247
|
-
|
248
|
-
- 0
|
249
|
-
version: "0"
|
250
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
192
|
none: false
|
252
|
-
requirements:
|
253
|
-
- -
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
|
256
|
-
segments:
|
257
|
-
- 0
|
258
|
-
version: "0"
|
193
|
+
requirements:
|
194
|
+
- - ! '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
259
197
|
requirements: []
|
260
|
-
|
261
198
|
rubyforge_project: org-ruby
|
262
|
-
rubygems_version: 1.8.
|
199
|
+
rubygems_version: 1.8.10
|
263
200
|
signing_key:
|
264
201
|
specification_version: 3
|
265
202
|
summary: This gem contains Ruby routines for parsing org-mode files.
|
266
|
-
test_files:
|
203
|
+
test_files:
|
267
204
|
- test/test_orgmode_parser.rb
|