xoxo 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby +45 -33
- data/.yardopts +8 -0
- data/COPYING.rdoc +24 -19
- data/HISTORY.rdoc +12 -0
- data/README.rdoc +13 -9
- data/lib/xoxo.rb +43 -27
- data/qed/applique/xoxo.rb +7 -0
- data/qed/to_xoxo.rdoc +96 -0
- metadata +58 -64
- data/Profile +0 -30
- data/Redfile +0 -86
- data/Version +0 -1
data/.ruby
CHANGED
@@ -1,36 +1,48 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
name:
|
8
|
-
|
9
|
-
|
1
|
+
---
|
2
|
+
source:
|
3
|
+
- meta
|
4
|
+
authors:
|
5
|
+
- name: Thomas Sawyer
|
6
|
+
email: transfire@gmail.com
|
7
|
+
- name: Christian Neukirchen
|
8
|
+
email: chneukirchen@gmail.com
|
9
|
+
copyrights:
|
10
|
+
- holder: Christian Neukirchen
|
11
|
+
year: '2006'
|
12
|
+
license: MIT
|
13
|
+
replacements: []
|
14
|
+
alternatives: []
|
15
|
+
requirements:
|
16
|
+
- name: detroit
|
17
|
+
groups:
|
18
|
+
- build
|
19
|
+
development: true
|
20
|
+
- name: qed
|
21
|
+
groups:
|
22
|
+
- test
|
23
|
+
development: true
|
24
|
+
dependencies: []
|
10
25
|
conflicts: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
resources:
|
17
|
-
code: http://github.com/rubyworks/xoxo
|
26
|
+
repositories:
|
27
|
+
- uri: git://github.com/rubyworks/xoxo.git
|
28
|
+
scm: git
|
29
|
+
name: upstream
|
30
|
+
resources:
|
18
31
|
home: http://rubyworks.github.com/xoxo
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
suite: rubyworks
|
27
|
-
manifest: MANIFEST.txt
|
28
|
-
version: 1.1.0
|
29
|
-
licenses:
|
30
|
-
- chneukirchen
|
31
|
-
copyright: Copyright (c) 2006 Christian Neukirchen
|
32
|
-
authors:
|
33
|
-
- Christian Neukirchen <chneukirchen@gmail.com>
|
34
|
-
description: XOXO is a Ruby XOXO parser and generator. It provides a Ruby API similar to Marshal and YAML (though more specific) to load and dump XOXO[http://microformats.org/wiki/xoxo], an simple, open outline format written in standard XHTML and suitable for embedding in (X)HTML, Atom, RSS, and arbitrary XML.
|
32
|
+
code: http://github.com/rubyworks/xoxo
|
33
|
+
mail: http://groups.google.com/rubyworks-mailinglist
|
34
|
+
extra: {}
|
35
|
+
load_path:
|
36
|
+
- lib
|
37
|
+
revision: 0
|
38
|
+
created: '2006-01-01'
|
35
39
|
summary: XOXO Parser and Generator
|
36
|
-
|
40
|
+
title: XOXO
|
41
|
+
version: 1.2.0
|
42
|
+
name: xoxo
|
43
|
+
description: ! "XOXO is a Ruby XOXO parser and generator. It provides a Ruby API \nsimilar
|
44
|
+
to Marshal and YAML (though more specific) to load and dump\nXOXO[http://microformats.org/wiki/xoxo],
|
45
|
+
an simple, open outline\nformat written in standard XHTML and suitable for embedding
|
46
|
+
in\n(X)HTML, Atom, RSS, and arbitrary XML."
|
47
|
+
organization: rubyworks
|
48
|
+
date: '2011-10-26'
|
data/.yardopts
ADDED
data/COPYING.rdoc
CHANGED
@@ -1,22 +1,27 @@
|
|
1
1
|
= COPYRIGHT NOTICES
|
2
2
|
|
3
|
-
==
|
3
|
+
== XOXO
|
4
|
+
|
5
|
+
Copyright:: (c) 2007 Christian Neukirchen
|
6
|
+
License:: MIT
|
7
|
+
Website:: http://rubyworks.github.com/xoxo
|
8
|
+
|
9
|
+
Copyright (c) 2007 Christian Neukirchen <purl.org/net/chneukirchen>
|
10
|
+
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
12
|
+
of this software and associated documentation files (the "Software"), to
|
13
|
+
deal in the Software without restriction, including without limitation the
|
14
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
15
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
16
|
+
furnished to do so, subject to the following conditions:
|
17
|
+
|
18
|
+
The above copyright notice and this permission notice shall be included in
|
19
|
+
all copies or substantial portions of the Software.
|
20
|
+
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
24
|
+
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
25
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
26
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
4
27
|
|
5
|
-
Copyright (c) 2007, 2008 Christian Neukirchen <purl.org/net/chneukirchen>
|
6
|
-
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
of this software and associated documentation files (the "Software"), to
|
9
|
-
deal in the Software without restriction, including without limitation the
|
10
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
11
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
12
|
-
furnished to do so, subject to the following conditions:
|
13
|
-
|
14
|
-
The above copyright notice and this permission notice shall be included in
|
15
|
-
all copies or substantial portions of the Software.
|
16
|
-
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
20
|
-
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
21
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
22
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/HISTORY.rdoc
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
= RELEASE HISTORY
|
2
2
|
|
3
|
+
== 1.2.0 | 2011-10-26
|
4
|
+
|
5
|
+
Converting Hashes with 'url' for a key are treated completely as `a` tags.
|
6
|
+
Before they were converted into `a` tags and `dl` tags for any "left over"
|
7
|
+
keys. This release also modernizes the build configuraiton.
|
8
|
+
|
9
|
+
Changes:
|
10
|
+
|
11
|
+
* Hashes with 'url' keys are ONLY `a` tags.
|
12
|
+
* Use XOXO::Assoc to keep definition lists in order if possible.
|
13
|
+
* Modernize build configuration.
|
14
|
+
|
3
15
|
|
4
16
|
== 1.1.0 | 2011-05-05
|
5
17
|
|
data/README.rdoc
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
= XOXO
|
2
2
|
|
3
|
+
{Homepage}[http://rubyworks.github.com/xoxo] |
|
4
|
+
{Source Code}[http://github.com/rubyworks/xoxo] |
|
5
|
+
{Issue Tracker}[http://github.com/rubyworks/xoxo/issues]
|
6
|
+
|
7
|
+
{<img src="http://travis-ci.org/rubyworks/xoxo.png" />}[http://travis-ci.org/rubyworks/xoxo]
|
8
|
+
|
9
|
+
|
3
10
|
== DESCRIPTION
|
4
11
|
|
5
12
|
XOXO is a Ruby XOXO parser and generator. It provides
|
@@ -12,14 +19,11 @@ suitable for embedding in (X)HTML, Atom, RSS, and arbitrary XML.
|
|
12
19
|
== FEATURES
|
13
20
|
|
14
21
|
* Uses REXML's pull parser.
|
15
|
-
* Serialize any object via to_xoxo
|
22
|
+
* Serialize any object via `to_xoxo`.
|
16
23
|
|
17
24
|
|
18
25
|
== RESOURCES
|
19
26
|
|
20
|
-
* home: http://rubyworks.github.com/xoxo
|
21
|
-
* code: http://github.com/rubyworks/xoxo
|
22
|
-
|
23
27
|
The original version of this code was written by Christian Neukirchen,
|
24
28
|
and can be found here[http://chneukirchen.org/repos/xoxo-rb/] and a
|
25
29
|
blog post on it here[http://chneukirchen.org/blog/archive/2006/01/xoxo-rb-0-1-released.html].
|
@@ -29,7 +33,7 @@ The offical XOXO format site is here[http://microformats.org/wiki/xoxo].
|
|
29
33
|
|
30
34
|
== RELEASE NOTES
|
31
35
|
|
32
|
-
Please see HISTORY file.
|
36
|
+
Please see HISTORY.rdoc file.
|
33
37
|
|
34
38
|
|
35
39
|
== SYNOPSIS
|
@@ -57,11 +61,11 @@ then download the tarball package and type:
|
|
57
61
|
Windows users use 'ruby setup.rb all'.
|
58
62
|
|
59
63
|
|
60
|
-
==
|
64
|
+
== COPYRIGHTS
|
61
65
|
|
62
|
-
Copyright (
|
66
|
+
Copyright (c) 2006 Christian Neukirchen, Rubyworks
|
63
67
|
|
64
|
-
This program is
|
68
|
+
This program is ditributable under the terms of the *MIT* license.
|
65
69
|
|
66
|
-
See COPYING file for details.
|
70
|
+
See COPYING.rdoc file for details.
|
67
71
|
|
data/lib/xoxo.rb
CHANGED
@@ -21,7 +21,7 @@ require 'rexml/parsers/pullparser'
|
|
21
21
|
#
|
22
22
|
module XOXO
|
23
23
|
# xoxo.rb version number
|
24
|
-
VERSION = "1.
|
24
|
+
VERSION = "1.2.0" # :erb: VERSION = "<%= version %>"
|
25
25
|
|
26
26
|
# Load and return a XOXO structure from the String, IO or StringIO or _xoxo_.
|
27
27
|
def self.load(xoxo)
|
@@ -72,10 +72,25 @@ EOF
|
|
72
72
|
|
73
73
|
# Serialize an object in XOXO format.
|
74
74
|
#
|
75
|
+
# Note that Hash's with a 'url' key are converted to `<a>` tags instead
|
76
|
+
# of `<dl>` tags. If you need to work around this you can convert the key
|
77
|
+
# to a Symbol instead of a String.
|
78
|
+
#
|
79
|
+
# TODO: Should it be the other way around, Symbol instead of String key?
|
80
|
+
#
|
75
81
|
# @return [String] an XOXO document
|
76
82
|
def self.make_xoxo(struct, class_name=nil)
|
77
83
|
s = ''
|
78
84
|
case struct
|
85
|
+
when Assoc
|
86
|
+
unless struct.empty?
|
87
|
+
s << "<dl>"
|
88
|
+
struct.each do |(key, value)|
|
89
|
+
s << "<dt>" << key.to_s << "</dt><dd>" << make_xoxo(value) << "</dd>"
|
90
|
+
end
|
91
|
+
s << "</dl>"
|
92
|
+
end
|
93
|
+
|
79
94
|
when Array
|
80
95
|
if class_name
|
81
96
|
s << %Q[<ol class="#{class_name}">]
|
@@ -88,26 +103,23 @@ EOF
|
|
88
103
|
s << "</ol>"
|
89
104
|
|
90
105
|
when Hash
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
106
|
+
if struct.has_key? 'url'
|
107
|
+
d = struct.dup
|
108
|
+
u = d.delete('url')
|
109
|
+
t = d.delete('text') { d.delete('title', u) }
|
110
|
+
s << '<a href="' << u.to_s << '" '
|
111
|
+
d.each do |tag, value|
|
112
|
+
s << tag.to_s << '="' << make_xoxo(d.delete(tag)) << '" '
|
113
|
+
end
|
114
|
+
s << '>' << make_xoxo(t) << '</a>'
|
115
|
+
else
|
116
|
+
unless struct.empty?
|
117
|
+
s << "<dl>"
|
118
|
+
struct.each do |key, value|
|
119
|
+
s << "<dt>" << key.to_s << "</dt><dd>" << make_xoxo(value) << "</dd>"
|
98
120
|
end
|
99
|
-
|
100
|
-
|
101
|
-
d.delete 'text'
|
102
|
-
d.delete 'url'
|
103
|
-
end
|
104
|
-
|
105
|
-
unless d.empty?
|
106
|
-
s << "<dl>"
|
107
|
-
d.each { |key, value|
|
108
|
-
s << "<dt>" << key.to_s << "</dt><dd>" << make_xoxo(value) << "</dd>"
|
109
|
-
}
|
110
|
-
s << "</dl>"
|
121
|
+
s << "</dl>"
|
122
|
+
end
|
111
123
|
end
|
112
124
|
|
113
125
|
when String
|
@@ -117,24 +129,28 @@ EOF
|
|
117
129
|
s << struct.to_s
|
118
130
|
|
119
131
|
when Struct
|
120
|
-
|
132
|
+
a = Assoc.new
|
121
133
|
struct.each_pair do |k,v|
|
122
|
-
|
134
|
+
a << [k,v]
|
123
135
|
end
|
124
|
-
s = make_xoxo(
|
136
|
+
s = make_xoxo(a, class_name)
|
125
137
|
|
126
138
|
else
|
127
|
-
|
139
|
+
a = Assoc.new
|
128
140
|
struct.instance_variables.each do |iv|
|
129
|
-
key = iv.sub(/^@/, '')
|
130
|
-
|
141
|
+
key = iv.to_s.sub(/^@/, '')
|
142
|
+
a << [key, struct.instance_variable_get(iv)]
|
131
143
|
end
|
132
|
-
s = make_xoxo(
|
144
|
+
s = make_xoxo(a, class_name)
|
133
145
|
end
|
134
146
|
|
135
147
|
s
|
136
148
|
end
|
137
149
|
|
150
|
+
# Used to distinguish arrays from assoc arrays.
|
151
|
+
class Assoc < Array
|
152
|
+
end
|
153
|
+
|
138
154
|
end
|
139
155
|
|
140
156
|
class XOXO::Parser
|
data/qed/to_xoxo.rdoc
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
= to_xoxo
|
2
|
+
|
3
|
+
Any object can be serialized as an XOXO document easily with the #to_xoxo
|
4
|
+
method.
|
5
|
+
|
6
|
+
== String
|
7
|
+
|
8
|
+
"This is an example".to_xoxo
|
9
|
+
|
10
|
+
serializes to:
|
11
|
+
|
12
|
+
<ol class="xoxo">
|
13
|
+
<li>This is an example</li>
|
14
|
+
</ol>
|
15
|
+
|
16
|
+
== Array
|
17
|
+
|
18
|
+
["one", "two", "three"].to_xoxo
|
19
|
+
|
20
|
+
serializes to:
|
21
|
+
|
22
|
+
<ol class="xoxo">
|
23
|
+
<li>one</li>
|
24
|
+
<li>two</li>
|
25
|
+
<li>three</li>
|
26
|
+
</ol>
|
27
|
+
|
28
|
+
== Hash
|
29
|
+
|
30
|
+
{"one"=>1, "two"=>2, "three"=>3}.to_xoxo
|
31
|
+
|
32
|
+
With some implementations of Ruby Hash order is not preserved. So,
|
33
|
+
|
34
|
+
@_.assert.include?('<ol class="xoxo">')
|
35
|
+
@_.assert.include?('<dt>one</dt><dd>1</dd>')
|
36
|
+
@_.assert.include?('<dt>two</dt><dd>2</dd>')
|
37
|
+
@_.assert.include?('<dt>three</dt><dd>3</dd>')
|
38
|
+
|
39
|
+
It would otherwise look like this:
|
40
|
+
|
41
|
+
<ol class="xoxo">
|
42
|
+
<li>
|
43
|
+
<dl>
|
44
|
+
<dt>a</dt><dd>1</dd>
|
45
|
+
<dt>b</dt><dd>2</dd>
|
46
|
+
<dt>c</dt><dd>3</dd>
|
47
|
+
</dl>
|
48
|
+
</li>
|
49
|
+
</ol>
|
50
|
+
|
51
|
+
== Struct
|
52
|
+
|
53
|
+
c = Struct.new(:a, :b, :c)
|
54
|
+
s = c.new(1,2,3)
|
55
|
+
|
56
|
+
s.to_xoxo
|
57
|
+
|
58
|
+
With some implementations of Ruby Stuct order is not preserved. So,
|
59
|
+
|
60
|
+
@_.assert.include?('<ol class="xoxo">')
|
61
|
+
@_.assert.include?('<dt>a</dt><dd>1</dd>')
|
62
|
+
@_.assert.include?('<dt>b</dt><dd>2</dd>')
|
63
|
+
@_.assert.include?('<dt>c</dt><dd>3</dd>')
|
64
|
+
|
65
|
+
It would otherwise look like this:
|
66
|
+
|
67
|
+
<ol class="xoxo">
|
68
|
+
<li>
|
69
|
+
<dl>
|
70
|
+
<dt>a</dt><dd>1</dd>
|
71
|
+
<dt>b</dt><dd>2</dd>
|
72
|
+
<dt>c</dt><dd>3</dd>
|
73
|
+
</dl>
|
74
|
+
</li>
|
75
|
+
</ol>
|
76
|
+
|
77
|
+
== Object
|
78
|
+
|
79
|
+
class C
|
80
|
+
def initialize(a,b,c)
|
81
|
+
@a, @b, @c = a, b, c
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
c = C.new(1,2,3)
|
86
|
+
|
87
|
+
c.to_xoxo
|
88
|
+
|
89
|
+
Instance attributes are not stored in order. So
|
90
|
+
|
91
|
+
@_.assert.include?('<ol class="xoxo">')
|
92
|
+
@_.assert.include?('<dt>a</dt><dd>1</dd>')
|
93
|
+
@_.assert.include?('<dt>b</dt><dd>2</dd>')
|
94
|
+
@_.assert.include?('<dt>c</dt><dd>3</dd>')
|
95
|
+
|
96
|
+
|
metadata
CHANGED
@@ -1,91 +1,85 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: xoxo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
7
|
+
authors:
|
8
|
+
- Thomas Sawyer
|
9
|
+
- Christian Neukirchen
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
date: 2011-10-26 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: detroit
|
17
|
+
requirement: &10737640 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :development
|
23
24
|
prerelease: false
|
24
|
-
|
25
|
+
version_requirements: *10737640
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: qed
|
28
|
+
requirement: &10726380 !ruby/object:Gem::Requirement
|
25
29
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
33
34
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *10726380
|
37
|
+
description: ! "XOXO is a Ruby XOXO parser and generator. It provides a Ruby API \nsimilar
|
38
|
+
to Marshal and YAML (though more specific) to load and dump\nXOXO[http://microformats.org/wiki/xoxo],
|
39
|
+
an simple, open outline\nformat written in standard XHTML and suitable for embedding
|
40
|
+
in\n(X)HTML, Atom, RSS, and arbitrary XML."
|
41
|
+
email:
|
42
|
+
- transfire@gmail.com
|
43
|
+
- chneukirchen@gmail.com
|
37
44
|
executables: []
|
38
|
-
|
39
45
|
extensions: []
|
40
|
-
|
41
|
-
|
46
|
+
extra_rdoc_files:
|
47
|
+
- HISTORY.rdoc
|
42
48
|
- README.rdoc
|
43
|
-
|
49
|
+
- COPYING.rdoc
|
50
|
+
files:
|
44
51
|
- .ruby
|
52
|
+
- .yardopts
|
45
53
|
- lib/xoxo.rb
|
54
|
+
- qed/applique/xoxo.rb
|
55
|
+
- qed/to_xoxo.rdoc
|
46
56
|
- test/test_xoxo.rb
|
47
57
|
- HISTORY.rdoc
|
48
|
-
- Profile
|
49
58
|
- README.rdoc
|
50
|
-
- Version
|
51
59
|
- COPYING.rdoc
|
52
|
-
- Redfile
|
53
|
-
has_rdoc: true
|
54
60
|
homepage: http://rubyworks.github.com/xoxo
|
55
|
-
licenses:
|
56
|
-
-
|
61
|
+
licenses:
|
62
|
+
- MIT
|
57
63
|
post_install_message:
|
58
|
-
rdoc_options:
|
59
|
-
|
60
|
-
- XOXO API
|
61
|
-
- --main
|
62
|
-
- README.rdoc
|
63
|
-
require_paths:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
64
66
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
68
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
- 0
|
73
|
-
version: "0"
|
74
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
74
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
segments:
|
81
|
-
- 0
|
82
|
-
version: "0"
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
83
79
|
requirements: []
|
84
|
-
|
85
|
-
|
86
|
-
rubygems_version: 1.3.7
|
80
|
+
rubyforge_project:
|
81
|
+
rubygems_version: 1.8.10
|
87
82
|
signing_key:
|
88
83
|
specification_version: 3
|
89
84
|
summary: XOXO Parser and Generator
|
90
85
|
test_files: []
|
91
|
-
|
data/Profile
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title : XOXO
|
3
|
-
summary : XOXO Parser and Generator
|
4
|
-
contact : Thomas Sawyer <transfire@gmail.com>
|
5
|
-
suite : rubyworks
|
6
|
-
created : 2006-01-01
|
7
|
-
license : chneukirchen
|
8
|
-
copyright : Copyright (c) 2006 Christian Neukirchen
|
9
|
-
|
10
|
-
requires:
|
11
|
-
- redline (build)
|
12
|
-
|
13
|
-
authors:
|
14
|
-
- Christian Neukirchen <chneukirchen@gmail.com>
|
15
|
-
|
16
|
-
description:
|
17
|
-
XOXO is a Ruby XOXO parser and generator. It provides
|
18
|
-
a Ruby API similar to Marshal and YAML (though more
|
19
|
-
specific) to load and dump XOXO[http://microformats.org/wiki/xoxo],
|
20
|
-
an simple, open outline format written in standard XHTML and
|
21
|
-
suitable for embedding in (X)HTML, Atom, RSS, and arbitrary XML.
|
22
|
-
|
23
|
-
resources:
|
24
|
-
home: http://rubyworks.github.com/xoxo
|
25
|
-
code: http://github.com/rubyworks/xoxo
|
26
|
-
|
27
|
-
repositories:
|
28
|
-
public: git://github.com/rubyworks/xoxo.git
|
29
|
-
|
30
|
-
|
data/Redfile
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
---
|
2
|
-
email:
|
3
|
-
service : Email
|
4
|
-
file : ~
|
5
|
-
subject : ~
|
6
|
-
mailto : ruby-talk@ruby-lang.org
|
7
|
-
active : true
|
8
|
-
|
9
|
-
gem:
|
10
|
-
service: Gem
|
11
|
-
active : true
|
12
|
-
|
13
|
-
testrb:
|
14
|
-
service : testrb
|
15
|
-
tests : ~
|
16
|
-
exclude : ~
|
17
|
-
loadpath : ~
|
18
|
-
requires : ~
|
19
|
-
live : false
|
20
|
-
active : false
|
21
|
-
|
22
|
-
syntax:
|
23
|
-
service : Syntax
|
24
|
-
loadpath : ~
|
25
|
-
exclude : ~
|
26
|
-
active : false
|
27
|
-
|
28
|
-
rdoc:
|
29
|
-
service : RDoc
|
30
|
-
format : newfish
|
31
|
-
include : [README.rdoc, HISTORY.rdoc, COPYING.rdoc, lib]
|
32
|
-
exclude : ~
|
33
|
-
main : ~
|
34
|
-
extra : ~
|
35
|
-
output : site/docs/api
|
36
|
-
active : true
|
37
|
-
|
38
|
-
ri:
|
39
|
-
service: RI
|
40
|
-
include: ~
|
41
|
-
exclude: ~
|
42
|
-
output : ri
|
43
|
-
active : true
|
44
|
-
|
45
|
-
qedoc:
|
46
|
-
service: Custom
|
47
|
-
document: |
|
48
|
-
system "qedoc -t XOXO -o site/docs/qed qed/"
|
49
|
-
|
50
|
-
dnote:
|
51
|
-
service : DNote
|
52
|
-
loadpath : ~
|
53
|
-
labels : ~
|
54
|
-
output : ~
|
55
|
-
format : ~
|
56
|
-
active : false
|
57
|
-
|
58
|
-
stats:
|
59
|
-
service : Stats
|
60
|
-
title : ~
|
61
|
-
loadpath : ~
|
62
|
-
exclude : ~
|
63
|
-
output : ~
|
64
|
-
active : true
|
65
|
-
|
66
|
-
#vclog:
|
67
|
-
# service : VClog
|
68
|
-
# format : html # xml, txt
|
69
|
-
# layout : rel # gnu
|
70
|
-
# typed : false
|
71
|
-
# output : ~
|
72
|
-
# active : false
|
73
|
-
|
74
|
-
#rubyforge:
|
75
|
-
# service : Forge
|
76
|
-
# unixname: <%= collection %>
|
77
|
-
# groupid : ~
|
78
|
-
# package : <%= name %>
|
79
|
-
# sitemap:
|
80
|
-
# doc/rdoc: <%= name %>
|
81
|
-
# active : false
|
82
|
-
|
83
|
-
grancher:
|
84
|
-
service: Grancher
|
85
|
-
active: true
|
86
|
-
|
data/Version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.1.0
|