pho 0.7 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,5 +1,9 @@
1
1
  Brief notes on significant changes and additions in each release
2
2
 
3
+ == Version 0.7.1
4
+
5
+ * Bug fix for changeset generation, escaping of & in literals
6
+
3
7
  == Version 0.7
4
8
 
5
9
  * Started on OAI client
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/testtask'
5
5
  require 'rake/clean'
6
6
 
7
7
  NAME = "pho"
8
- VER = "0.7"
8
+ VER = "0.7.1"
9
9
 
10
10
  RDOC_OPTS = ['--quiet', '--title', 'Pho (Talis Platform Client) Reference', '--main', 'README']
11
11
 
@@ -256,7 +256,7 @@ else
256
256
  if opts["file"] == nil && opts["dir"] == nil && opts["url"] == nil
257
257
  abort USAGE
258
258
  end
259
- cmds.upload()
259
+ cmds.upload()
260
260
  when "describe"
261
261
  if opts["url"] == nil
262
262
  abort USAGE
@@ -0,0 +1,118 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Pho::OAI</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Pho::OAI</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/pho/oai_rb.html">
59
+ lib/pho/oai.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+ <div id="description">
76
+ <p>
77
+ <a href="OAI.html">OAI</a>-PMH Support
78
+ </p>
79
+
80
+ </div>
81
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+ <div id="class-list">
94
+ <h3 class="section-bar">Classes and Modules</h3>
95
+
96
+ Class <a href="OAI/Record.html" class="link">Pho::OAI::Record</a><br />
97
+ Class <a href="OAI/Records.html" class="link">Pho::OAI::Records</a><br />
98
+
99
+ </div>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+
109
+
110
+ </div>
111
+
112
+
113
+ <div id="validator-badges">
114
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
115
+ </div>
116
+
117
+ </body>
118
+ </html>
@@ -0,0 +1,165 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Pho::OAI::Record</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Pho::OAI::Record</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/pho/oai_rb.html">
59
+ lib/pho/oai.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000072">new</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+ <div id="attribute-list">
105
+ <h3 class="section-bar">Attributes</h3>
106
+
107
+ <div class="name-list">
108
+ <table>
109
+ <tr class="top-aligned-row context-row">
110
+ <td class="context-item-name">identifier</td>
111
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
112
+ <td class="context-item-desc"></td>
113
+ </tr>
114
+ <tr class="top-aligned-row context-row">
115
+ <td class="context-item-name">timestamp</td>
116
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
117
+ <td class="context-item-desc"></td>
118
+ </tr>
119
+ </table>
120
+ </div>
121
+ </div>
122
+
123
+
124
+
125
+ <!-- if method_list -->
126
+ <div id="methods">
127
+ <h3 class="section-bar">Public Class methods</h3>
128
+
129
+ <div id="method-M000072" class="method-detail">
130
+ <a name="M000072"></a>
131
+
132
+ <div class="method-heading">
133
+ <a href="#M000072" class="method-signature">
134
+ <span class="method-name">new</span><span class="method-args">(identifier, timestamp)</span>
135
+ </a>
136
+ </div>
137
+
138
+ <div class="method-description">
139
+ <p><a class="source-toggle" href="#"
140
+ onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
141
+ <div class="method-source-code" id="M000072-source">
142
+ <pre>
143
+ <span class="ruby-comment cmt"># File lib/pho/oai.rb, line 11</span>
144
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">identifier</span>, <span class="ruby-identifier">timestamp</span>)
145
+ <span class="ruby-ivar">@identifier</span> = <span class="ruby-identifier">identifier</span>
146
+ <span class="ruby-ivar">@timestamp</span> = <span class="ruby-identifier">timestamp</span>
147
+ <span class="ruby-keyword kw">end</span>
148
+ </pre>
149
+ </div>
150
+ </div>
151
+ </div>
152
+
153
+
154
+ </div>
155
+
156
+
157
+ </div>
158
+
159
+
160
+ <div id="validator-badges">
161
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
162
+ </div>
163
+
164
+ </body>
165
+ </html>
@@ -0,0 +1,253 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Pho::OAI::Records</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Pho::OAI::Records</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/pho/oai_rb.html">
59
+ lib/pho/oai.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+ <div id="description">
82
+ <p>
83
+ Collection of records
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000069">new</a>&nbsp;&nbsp;
96
+ <a href="#M000070">parse</a>&nbsp;&nbsp;
97
+ <a href="#M000071">read_from_store</a>&nbsp;&nbsp;
98
+ </div>
99
+ </div>
100
+
101
+ </div>
102
+
103
+
104
+ <!-- if includes -->
105
+
106
+ <div id="section">
107
+
108
+
109
+
110
+
111
+
112
+ <div id="attribute-list">
113
+ <h3 class="section-bar">Attributes</h3>
114
+
115
+ <div class="name-list">
116
+ <table>
117
+ <tr class="top-aligned-row context-row">
118
+ <td class="context-item-name">from</td>
119
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
120
+ <td class="context-item-desc"></td>
121
+ </tr>
122
+ <tr class="top-aligned-row context-row">
123
+ <td class="context-item-name">records</td>
124
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
125
+ <td class="context-item-desc"></td>
126
+ </tr>
127
+ <tr class="top-aligned-row context-row">
128
+ <td class="context-item-name">responseDate</td>
129
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
130
+ <td class="context-item-desc"></td>
131
+ </tr>
132
+ <tr class="top-aligned-row context-row">
133
+ <td class="context-item-name">to</td>
134
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
135
+ <td class="context-item-desc"></td>
136
+ </tr>
137
+ <tr class="top-aligned-row context-row">
138
+ <td class="context-item-name">token</td>
139
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
140
+ <td class="context-item-desc"></td>
141
+ </tr>
142
+ </table>
143
+ </div>
144
+ </div>
145
+
146
+
147
+
148
+ <!-- if method_list -->
149
+ <div id="methods">
150
+ <h3 class="section-bar">Public Class methods</h3>
151
+
152
+ <div id="method-M000069" class="method-detail">
153
+ <a name="M000069"></a>
154
+
155
+ <div class="method-heading">
156
+ <a href="#M000069" class="method-signature">
157
+ <span class="method-name">new</span><span class="method-args">(responseDate, token, from, to, records=[])</span>
158
+ </a>
159
+ </div>
160
+
161
+ <div class="method-description">
162
+ <p><a class="source-toggle" href="#"
163
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
164
+ <div class="method-source-code" id="M000069-source">
165
+ <pre>
166
+ <span class="ruby-comment cmt"># File lib/pho/oai.rb, line 23</span>
167
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">responseDate</span>, <span class="ruby-identifier">token</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>, <span class="ruby-identifier">records</span>=[])
168
+ <span class="ruby-ivar">@responseDate</span> = <span class="ruby-identifier">responseDate</span>
169
+ <span class="ruby-ivar">@token</span> = <span class="ruby-identifier">token</span>
170
+ <span class="ruby-ivar">@from</span> = <span class="ruby-identifier">from</span>
171
+ <span class="ruby-ivar">@to</span> = <span class="ruby-identifier">to</span>
172
+ <span class="ruby-ivar">@records</span> = <span class="ruby-identifier">records</span>
173
+ <span class="ruby-keyword kw">end</span>
174
+ </pre>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <div id="method-M000070" class="method-detail">
180
+ <a name="M000070"></a>
181
+
182
+ <div class="method-heading">
183
+ <a href="#M000070" class="method-signature">
184
+ <span class="method-name">parse</span><span class="method-args">(response)</span>
185
+ </a>
186
+ </div>
187
+
188
+ <div class="method-description">
189
+ <p><a class="source-toggle" href="#"
190
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
191
+ <div class="method-source-code" id="M000070-source">
192
+ <pre>
193
+ <span class="ruby-comment cmt"># File lib/pho/oai.rb, line 31</span>
194
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">response</span>)
195
+ <span class="ruby-identifier">doc</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">response</span>)
196
+ <span class="ruby-identifier">records</span> = []
197
+ <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">XPath</span>.<span class="ruby-identifier">each</span>( <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">root</span>, <span class="ruby-value str">&quot;//oai:header&quot;</span>, {<span class="ruby-value str">&quot;oai&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;http://www.openarchives.org/OAI/2.0/&quot;</span>} ) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">header</span><span class="ruby-operator">|</span>
198
+ <span class="ruby-identifier">uri</span> = <span class="ruby-identifier">header</span>.<span class="ruby-identifier">get_elements</span>(<span class="ruby-value str">&quot;identifier&quot;</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">text</span>
199
+ <span class="ruby-identifier">datestamp</span> = <span class="ruby-identifier">header</span>.<span class="ruby-identifier">get_elements</span>(<span class="ruby-value str">&quot;datestamp&quot;</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">text</span>
200
+ <span class="ruby-identifier">records</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Record</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">datestamp</span>)
201
+ <span class="ruby-keyword kw">end</span>
202
+ <span class="ruby-comment cmt">#FIXME</span>
203
+ <span class="ruby-keyword kw">return</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">records</span>)
204
+ <span class="ruby-keyword kw">end</span>
205
+ </pre>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <div id="method-M000071" class="method-detail">
211
+ <a name="M000071"></a>
212
+
213
+ <div class="method-heading">
214
+ <a href="#M000071" class="method-signature">
215
+ <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
216
+ </a>
217
+ </div>
218
+
219
+ <div class="method-description">
220
+ <p>
221
+ List records from a store TODO support for from/to dates TODO support for
222
+ resumption tokens
223
+ </p>
224
+ <p><a class="source-toggle" href="#"
225
+ onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
226
+ <div class="method-source-code" id="M000071-source">
227
+ <pre>
228
+ <span class="ruby-comment cmt"># File lib/pho/oai.rb, line 46</span>
229
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
230
+ <span class="ruby-identifier">resp</span> = <span class="ruby-identifier">store</span>.<span class="ruby-identifier">list_records</span>
231
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">status</span> <span class="ruby-operator">!=</span> <span class="ruby-value">200</span>
232
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Unable to list records&quot;</span>
233
+ <span class="ruby-keyword kw">end</span>
234
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">content</span>)
235
+ <span class="ruby-keyword kw">end</span>
236
+ </pre>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+
242
+ </div>
243
+
244
+
245
+ </div>
246
+
247
+
248
+ <div id="validator-badges">
249
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
250
+ </div>
251
+
252
+ </body>
253
+ </html>
@@ -204,7 +204,7 @@ Constructor. Parameter should be the URI of the subject of change
204
204
  onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
205
205
  <div class="method-source-code" id="M000059-source">
206
206
  <pre>
207
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 221</span>
207
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 222</span>
208
208
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject_of_change</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
209
209
  <span class="ruby-identifier">u</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">subject_of_change</span>)
210
210
  <span class="ruby-comment cmt">#this should catch literals</span>
@@ -243,7 +243,7 @@ href="Changeset.html">Changeset</a> as an addition
243
243
  onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
244
244
  <div class="method-source-code" id="M000063-source">
245
245
  <pre>
246
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 280</span>
246
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 281</span>
247
247
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_addition</span>(<span class="ruby-identifier">statement</span>)
248
248
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">statement</span>.<span class="ruby-identifier">subject</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@subject_of_change</span>
249
249
  <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Subject of statement must match subject of change of changeset&quot;</span>
@@ -273,7 +273,7 @@ href="Changeset.html#M000062">additions</a>
273
273
  onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
274
274
  <div class="method-source-code" id="M000064-source">
275
275
  <pre>
276
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 288</span>
276
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 289</span>
277
277
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_additions</span>(<span class="ruby-identifier">statements</span>)
278
278
  <span class="ruby-identifier">statements</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">statement</span><span class="ruby-operator">|</span>
279
279
  <span class="ruby-identifier">add_addition</span>(<span class="ruby-identifier">statement</span>)
@@ -302,7 +302,7 @@ href="Changeset.html">Changeset</a> as a removal
302
302
  onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
303
303
  <div class="method-source-code" id="M000066-source">
304
304
  <pre>
305
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 300</span>
305
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 301</span>
306
306
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removal</span>(<span class="ruby-identifier">statement</span>)
307
307
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">statement</span>.<span class="ruby-identifier">subject</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@subject_of_change</span>
308
308
  <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Subject of statement must match subject of change of changeset&quot;</span>
@@ -331,7 +331,7 @@ Add an array of statements as <a href="Changeset.html#M000065">removals</a>
331
331
  onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
332
332
  <div class="method-source-code" id="M000067-source">
333
333
  <pre>
334
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 308</span>
334
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 309</span>
335
335
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removals</span>(<span class="ruby-identifier">statements</span>)
336
336
  <span class="ruby-identifier">statements</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">statement</span><span class="ruby-operator">|</span>
337
337
  <span class="ruby-identifier">add_removal</span>(<span class="ruby-identifier">statement</span>)
@@ -360,7 +360,7 @@ in this <a href="Changeset.html">Changeset</a>
360
360
  onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
361
361
  <div class="method-source-code" id="M000062-source">
362
362
  <pre>
363
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 275</span>
363
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 276</span>
364
364
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">additions</span>()
365
365
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@additions</span>
366
366
  <span class="ruby-keyword kw">end</span>
@@ -388,7 +388,7 @@ href="Changeset.html">Changeset</a>
388
388
  onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
389
389
  <div class="method-source-code" id="M000065-source">
390
390
  <pre>
391
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 295</span>
391
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 296</span>
392
392
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removals</span>()
393
393
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@removals</span>
394
394
  <span class="ruby-keyword kw">end</span>
@@ -417,7 +417,7 @@ Submit this changeset to the specified store
417
417
  onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
418
418
  <div class="method-source-code" id="M000068-source">
419
419
  <pre>
420
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 317</span>
420
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 318</span>
421
421
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
422
422
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">store</span>.<span class="ruby-identifier">submit_changeset</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_rdf</span>, <span class="ruby-identifier">versioned</span>)
423
423
  <span class="ruby-keyword kw">end</span>
@@ -444,7 +444,7 @@ submitting to the Platform.
444
444
  onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
445
445
  <div class="method-source-code" id="M000061-source">
446
446
  <pre>
447
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 240</span>
447
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 241</span>
448
448
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>(<span class="ruby-identifier">include_root</span>=<span class="ruby-keyword kw">true</span>)
449
449
  <span class="ruby-identifier">rdf</span> = <span class="ruby-value str">&quot;&quot;</span>
450
450
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">include_root</span>
@@ -497,7 +497,7 @@ submitting to the Platform.
497
497
  onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
498
498
  <div class="method-source-code" id="M000060-source">
499
499
  <pre>
500
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 235</span>
500
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 236</span>
501
501
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
502
502
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">to_rdf</span>
503
503
  <span class="ruby-keyword kw">end</span>
@@ -129,7 +129,7 @@ href="Changesets.html">Changesets</a>
129
129
  onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
130
130
  <div class="method-source-code" id="M000041-source">
131
131
  <pre>
132
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 327</span>
132
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 328</span>
133
133
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetHelper</span>.<span class="ruby-identifier">update_literal</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">old_value</span>, <span class="ruby-identifier">new_value</span>, <span class="ruby-identifier">old_lang</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">old_datatype</span>=<span class="ruby-keyword kw">nil</span>,
134
134
  <span class="ruby-identifier">new_lang</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">new_datatype</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
135
135
  <span class="ruby-identifier">cs</span> = <span class="ruby-constant">Changeset</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">creator_name</span>, <span class="ruby-identifier">change_reason</span>)
@@ -138,7 +138,7 @@ document
138
138
  onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
139
139
  <div class="method-source-code" id="M000053-source">
140
140
  <pre>
141
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 157</span>
141
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 158</span>
142
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Changesets</span>.<span class="ruby-identifier">all_to_rdf</span>(<span class="ruby-identifier">changesets</span>)
143
143
  <span class="ruby-identifier">rdf</span> = <span class="ruby-value str">&quot;&lt;rdf:RDF xmlns:cs=\&quot;http://purl.org/vocab/changeset/schema#\&quot; xmlns:rdf=\&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#\&quot;&gt;&quot;</span>
144
144
  <span class="ruby-identifier">changesets</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">cs</span><span class="ruby-operator">|</span>
@@ -180,7 +180,7 @@ to an <a href="../RDF.html">RDF</a>/XML document.
180
180
  onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
181
181
  <div class="method-source-code" id="M000054-source">
182
182
  <pre>
183
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 177</span>
183
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 178</span>
184
184
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Changesets</span>.<span class="ruby-identifier">submit_all</span>(<span class="ruby-identifier">changesets</span>, <span class="ruby-identifier">store</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
185
185
  <span class="ruby-identifier">rdf</span> = <span class="ruby-identifier">all_to_rdf</span>(<span class="ruby-identifier">changesets</span>)
186
186
  <span class="ruby-identifier">store</span>.<span class="ruby-identifier">submit_changeset</span>(<span class="ruby-identifier">rdf</span>, <span class="ruby-identifier">versioned</span>)
@@ -233,7 +233,8 @@ have one of lang or datatype but not both
233
233
  <span class="ruby-keyword kw">else</span>
234
234
  <span class="ruby-identifier">tag</span> = <span class="ruby-value str">&quot;&lt;rdf:object&gt;&quot;</span>
235
235
  <span class="ruby-keyword kw">end</span>
236
- <span class="ruby-identifier">tag</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{@object}&lt;/rdf:object&gt;&quot;</span>
236
+ <span class="ruby-identifier">text</span> = <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quot;&amp;&quot;</span>, <span class="ruby-value str">&quot;&amp;amp;&quot;</span>)
237
+ <span class="ruby-identifier">tag</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{text}&lt;/rdf:object&gt;&quot;</span>
237
238
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">tag</span>
238
239
  <span class="ruby-keyword kw">end</span>
239
240
  </pre>
@@ -135,7 +135,7 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
135
135
  onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
136
136
  <div class="method-source-code" id="M000049-source">
137
137
  <pre>
138
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 127</span>
138
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 128</span>
139
139
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>)
140
140
  <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>)
141
141
  <span class="ruby-keyword kw">end</span>
@@ -160,7 +160,7 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
160
160
  onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
161
161
  <div class="method-source-code" id="M000050-source">
162
162
  <pre>
163
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 131</span>
163
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 132</span>
164
164
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
165
165
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
166
166
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
@@ -190,7 +190,7 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
190
190
  onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
191
191
  <div class="method-source-code" id="M000052-source">
192
192
  <pre>
193
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 145</span>
193
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 146</span>
194
194
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_object</span>()
195
195
  <span class="ruby-node">&quot;&lt;rdf:object rdf:resource=\&quot;#{@object}\&quot;/&gt;&quot;</span>
196
196
  <span class="ruby-keyword kw">end</span>
@@ -213,7 +213,7 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
213
213
  onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
214
214
  <div class="method-source-code" id="M000051-source">
215
215
  <pre>
216
- <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 141</span>
216
+ <span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 142</span>
217
217
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_subject</span>()
218
218
  <span class="ruby-keyword kw">return</span> <span class="ruby-node">&quot; &lt;rdf:subject rdf:resource=\&quot;#{@subject}\&quot;/&gt;&quot;</span>
219
219
  <span class="ruby-keyword kw">end</span>
@@ -1 +1 @@
1
- Wed, 31 Mar 2010 10:49:33 +0100
1
+ Sat, 03 Apr 2010 17:05:05 +0100
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 31 10:49:17 +0100 2010</td>
59
+ <td>Sat Apr 03 17:04:02 +0100 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -72,6 +72,12 @@
72
72
  <p>
73
73
  Brief notes on significant changes and additions in each release
74
74
  </p>
75
+ <h2>Version 0.7.1</h2>
76
+ <ul>
77
+ <li>Bug fix for changeset generation, escaping of &amp; in literals
78
+
79
+ </li>
80
+ </ul>
75
81
  <h2>Version 0.7</h2>
76
82
  <ul>
77
83
  <li>Started on OAI client
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Aug 05 18:32:26 +0100 2009</td>
59
+ <td>Wed Mar 31 14:00:12 +0100 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -0,0 +1,101 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: oai.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>oai.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/pho/oai.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri Mar 19 18:08:43 +0000 2010</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -113,7 +113,8 @@ module Pho
113
113
  else
114
114
  tag = "<rdf:object>"
115
115
  end
116
- tag << "#{@object}</rdf:object>"
116
+ text = @object.gsub("&", "&amp;")
117
+ tag << "#{text}</rdf:object>"
117
118
  return tag
118
119
  end
119
120
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pho
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.7"
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 7
8
+ - 1
9
+ version: 0.7.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Leigh Dodds
@@ -9,49 +14,65 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-31 00:00:00 +01:00
17
+ date: 2010-04-03 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: httpclient
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 1
30
+ - 3
31
+ - 1
23
32
  version: 2.1.3.1
24
- version:
33
+ type: :runtime
34
+ version_requirements: *id001
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: json
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
30
39
  requirements:
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
42
+ segments:
43
+ - 1
44
+ - 1
45
+ - 3
33
46
  version: 1.1.3
34
- version:
47
+ type: :runtime
48
+ version_requirements: *id002
35
49
  - !ruby/object:Gem::Dependency
36
50
  name: mocha
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
40
53
  requirements:
41
54
  - - ">="
42
55
  - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
58
+ - 9
59
+ - 5
43
60
  version: 0.9.5
44
- version:
61
+ type: :runtime
62
+ version_requirements: *id003
45
63
  - !ruby/object:Gem::Dependency
46
64
  name: mime-types
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
50
67
  requirements:
51
68
  - - ">="
52
69
  - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 16
53
73
  version: "1.16"
54
- version:
74
+ type: :runtime
75
+ version_requirements: *id004
55
76
  description: Ruby client for the Talis Platform
56
77
  email: leigh.dodds@talis.com
57
78
  executables:
@@ -67,54 +88,47 @@ files:
67
88
  - CHANGES
68
89
  - bin/talis_store
69
90
  - doc/index.html
70
- - doc/rdoc
71
91
  - doc/rdoc/fr_method_index.html
72
92
  - doc/rdoc/rdoc-style.css
73
93
  - doc/rdoc/fr_file_index.html
74
94
  - doc/rdoc/fr_class_index.html
75
- - doc/rdoc/classes
76
- - doc/rdoc/classes/Pho
77
95
  - doc/rdoc/classes/Pho/RDF.html
78
96
  - doc/rdoc/classes/Pho/Etags.html
79
97
  - doc/rdoc/classes/Pho/FileManagement.html
80
98
  - doc/rdoc/classes/Pho/Jobs.html
81
- - doc/rdoc/classes/Pho/RDF
82
99
  - doc/rdoc/classes/Pho/RDF/Parser.html
83
100
  - doc/rdoc/classes/Pho/StoreSparqlClient.html
84
101
  - doc/rdoc/classes/Pho/DatatypeProperty.html
85
102
  - doc/rdoc/classes/Pho/Facet.html
86
103
  - doc/rdoc/classes/Pho/JobUpdate.html
104
+ - doc/rdoc/classes/Pho/OAI/Record.html
105
+ - doc/rdoc/classes/Pho/OAI/Records.html
87
106
  - doc/rdoc/classes/Pho/Enrichment.html
88
107
  - doc/rdoc/classes/Pho/RDFCollection.html
108
+ - doc/rdoc/classes/Pho/OAI.html
89
109
  - doc/rdoc/classes/Pho/CommandLine.html
90
110
  - doc/rdoc/classes/Pho/Job.html
91
111
  - doc/rdoc/classes/Pho/Status.html
92
112
  - doc/rdoc/classes/Pho/QueryProfile.html
93
113
  - doc/rdoc/classes/Pho/Snapshot.html
94
114
  - doc/rdoc/classes/Pho/FieldWeighting.html
95
- - doc/rdoc/classes/Pho/Sparql
96
115
  - doc/rdoc/classes/Pho/Sparql/SparqlClient.html
97
116
  - doc/rdoc/classes/Pho/Sparql/SparqlHelper.html
98
117
  - doc/rdoc/classes/Pho/Namespaces.html
99
118
  - doc/rdoc/classes/Pho/ResourceHash.html
100
- - doc/rdoc/classes/Pho/FileManagement
101
119
  - doc/rdoc/classes/Pho/FileManagement/FileManager.html
102
120
  - doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html
103
121
  - doc/rdoc/classes/Pho/FileManagement/RDFManager.html
104
122
  - doc/rdoc/classes/Pho/Sparql.html
105
- - doc/rdoc/classes/Pho/Enrichment
106
123
  - doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html
107
124
  - doc/rdoc/classes/Pho/Store.html
108
- - doc/rdoc/classes/Pho/Facet
109
125
  - doc/rdoc/classes/Pho/Facet/Results.html
110
126
  - doc/rdoc/classes/Pho/Facet/Term.html
111
- - doc/rdoc/classes/Pho/ResourceHash
112
127
  - doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html
113
128
  - doc/rdoc/classes/Pho/ResourceHash/Converter.html
114
129
  - doc/rdoc/classes/Pho/Analyzers.html
115
130
  - doc/rdoc/classes/Pho/FieldPredicateMap.html
116
131
  - doc/rdoc/classes/Pho/Update.html
117
- - doc/rdoc/classes/Pho/Update
118
132
  - doc/rdoc/classes/Pho/Update/Changesets.html
119
133
  - doc/rdoc/classes/Pho/Update/ChangesetBuilder.html
120
134
  - doc/rdoc/classes/Pho/Update/Changeset.html
@@ -124,11 +138,8 @@ files:
124
138
  - doc/rdoc/classes/Pho/Update/ChangesetHelper.html
125
139
  - doc/rdoc/classes/String.html
126
140
  - doc/rdoc/classes/Pho.html
127
- - doc/rdoc/files
128
141
  - doc/rdoc/files/README.html
129
- - doc/rdoc/files/lib
130
142
  - doc/rdoc/files/lib/pho_rb.html
131
- - doc/rdoc/files/lib/pho
132
143
  - doc/rdoc/files/lib/pho/changeset_rb.html
133
144
  - doc/rdoc/files/lib/pho/changeset_builder_rb.html
134
145
  - doc/rdoc/files/lib/pho/enrichment_rb.html
@@ -136,6 +147,7 @@ files:
136
147
  - doc/rdoc/files/lib/pho/file_management_rb.html
137
148
  - doc/rdoc/files/lib/pho/job_rb.html
138
149
  - doc/rdoc/files/lib/pho/sparql_rb.html
150
+ - doc/rdoc/files/lib/pho/oai_rb.html
139
151
  - doc/rdoc/files/lib/pho/rdf_collection_rb.html
140
152
  - doc/rdoc/files/lib/pho/rdf_rb.html
141
153
  - doc/rdoc/files/lib/pho/query_profile_rb.html
@@ -177,22 +189,18 @@ files:
177
189
  - tests/tc_etags.rb
178
190
  - tests/tc_field_predicate_map.rb
179
191
  - tests/tc_query_profile.rb
180
- - examples/linkeddata
181
192
  - examples/linkeddata/proxy.rb
182
193
  - examples/sparql_select.rb
183
- - examples/calais
184
194
  - examples/calais/dump.rb
185
195
  - examples/calais/enlighten.rb
186
196
  - examples/calais/bio.txt
187
197
  - examples/calais/output.rdf
188
198
  - examples/status.rb
189
199
  - examples/sparql.rb
190
- - examples/sinatra
191
200
  - examples/sinatra/viewer.rb
192
201
  - examples/sparql_construct_hash.rb
193
202
  - examples/contentbox.rb
194
203
  - lib/pho.rb
195
- - lib/pho
196
204
  - lib/pho/changeset_builder.rb
197
205
  - lib/pho/rdf.rb
198
206
  - lib/pho/file_manager.rb
@@ -215,6 +223,8 @@ files:
215
223
  - lib/pho/snapshot.rb
216
224
  has_rdoc: true
217
225
  homepage: http://pho.rubyforge.net
226
+ licenses: []
227
+
218
228
  post_install_message:
219
229
  rdoc_options:
220
230
  - --quiet
@@ -228,20 +238,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
238
  requirements:
229
239
  - - ">="
230
240
  - !ruby/object:Gem::Version
241
+ segments:
242
+ - 1
243
+ - 8
244
+ - 5
231
245
  version: 1.8.5
232
- version:
233
246
  required_rubygems_version: !ruby/object:Gem::Requirement
234
247
  requirements:
235
248
  - - ">="
236
249
  - !ruby/object:Gem::Version
250
+ segments:
251
+ - 0
237
252
  version: "0"
238
- version:
239
253
  requirements: []
240
254
 
241
255
  rubyforge_project: pho
242
- rubygems_version: 1.3.1
256
+ rubygems_version: 1.3.6
243
257
  signing_key:
244
- specification_version: 2
258
+ specification_version: 3
245
259
  summary: Ruby client for the Talis Platform
246
260
  test_files:
247
261
  - tests/ts_pho.rb