pho 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +5 -0
- data/Rakefile +1 -1
- data/lib/pho/snapshot.rb +6 -1
- data/lib/pho/sparql.rb +4 -1
- data/tests/tc_snapshots.rb +14 -1
- data/tests/tc_sparql_helper.rb +23 -0
- metadata +60 -160
- data/doc/rdoc/classes/Pho/Analyzers.html +0 -310
- data/doc/rdoc/classes/Pho/CommandLine.html +0 -770
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +0 -241
- data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +0 -410
- data/doc/rdoc/classes/Pho/Enrichment.html +0 -119
- data/doc/rdoc/classes/Pho/Etags.html +0 -310
- data/doc/rdoc/classes/Pho/Facet/Results.html +0 -299
- data/doc/rdoc/classes/Pho/Facet/Term.html +0 -177
- data/doc/rdoc/classes/Pho/Facet.html +0 -119
- data/doc/rdoc/classes/Pho/FieldPredicateMap.html +0 -668
- data/doc/rdoc/classes/Pho/FieldWeighting.html +0 -230
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +0 -478
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +0 -264
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +0 -259
- data/doc/rdoc/classes/Pho/FileManagement.html +0 -121
- data/doc/rdoc/classes/Pho/Job.html +0 -627
- data/doc/rdoc/classes/Pho/JobUpdate.html +0 -141
- data/doc/rdoc/classes/Pho/Jobs.html +0 -538
- data/doc/rdoc/classes/Pho/Namespaces.html +0 -164
- data/doc/rdoc/classes/Pho/OAI/Record.html +0 -165
- data/doc/rdoc/classes/Pho/OAI/Records.html +0 -331
- data/doc/rdoc/classes/Pho/OAI.html +0 -118
- data/doc/rdoc/classes/Pho/QueryProfile.html +0 -497
- data/doc/rdoc/classes/Pho/RDF/Parser.html +0 -279
- data/doc/rdoc/classes/Pho/RDF.html +0 -120
- data/doc/rdoc/classes/Pho/RDFCollection.html +0 -119
- data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +0 -325
- data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +0 -241
- data/doc/rdoc/classes/Pho/ResourceHash.html +0 -123
- data/doc/rdoc/classes/Pho/Snapshot.html +0 -397
- data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +0 -594
- data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +0 -692
- data/doc/rdoc/classes/Pho/Sparql.html +0 -187
- data/doc/rdoc/classes/Pho/Status.html +0 -296
- data/doc/rdoc/classes/Pho/Store.html +0 -1560
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +0 -183
- data/doc/rdoc/classes/Pho/Update/Changeset.html +0 -521
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +0 -330
- data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +0 -159
- data/doc/rdoc/classes/Pho/Update/Changesets.html +0 -205
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +0 -257
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +0 -237
- data/doc/rdoc/classes/Pho/Update/Statement.html +0 -303
- data/doc/rdoc/classes/Pho/Update.html +0 -128
- data/doc/rdoc/classes/Pho.html +0 -283
- data/doc/rdoc/classes/String.html +0 -146
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/CHANGES.html +0 -351
- data/doc/rdoc/files/README.html +0 -191
- data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/changeset_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/command_line_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/converter_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/enrichment_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/etags_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/facet_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/file_management_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/file_manager_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/job_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/oai_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/query_profile_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/rdf_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/resource_hash_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/snapshot_rb.html +0 -109
- data/doc/rdoc/files/lib/pho/sparql_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/status_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/store_rb.html +0 -108
- data/doc/rdoc/files/lib/pho_rb.html +0 -133
- data/doc/rdoc/fr_class_index.html +0 -72
- data/doc/rdoc/fr_file_index.html +0 -49
- data/doc/rdoc/fr_method_index.html +0 -237
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
data/CHANGES
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
Brief notes on significant changes and additions in each release
|
|
2
2
|
|
|
3
|
+
== Version 0.7.3
|
|
4
|
+
|
|
5
|
+
* Fixed bug in Snapshot result parsing, now returns nil if no snapshot for store
|
|
6
|
+
* Fixed bug in SparqlHelper when handling rows with no result binding
|
|
7
|
+
|
|
3
8
|
== Version 0.7.2
|
|
4
9
|
|
|
5
10
|
* Now parses full OAI response, support for listing records between dates and resumption tokens
|
data/Rakefile
CHANGED
data/lib/pho/snapshot.rb
CHANGED
|
@@ -45,7 +45,8 @@ module Pho
|
|
|
45
45
|
#Class method to parse the RDF response from the API, e.g. as produced by the Store.get_snapshots method
|
|
46
46
|
#and create a new Snapshot object. At the moment the Platform only supports single snapshot.
|
|
47
47
|
#
|
|
48
|
-
#If the response was an error, then an exception will be thrown
|
|
48
|
+
#If the response was an error, then an exception will be thrown. If no snapshot can be found, then
|
|
49
|
+
#the method returns nil
|
|
49
50
|
#
|
|
50
51
|
# storeuri:: URI of the store
|
|
51
52
|
# content:: response from the API
|
|
@@ -55,6 +56,10 @@ module Pho
|
|
|
55
56
|
root = doc.root
|
|
56
57
|
|
|
57
58
|
store = REXML::XPath.first(root, "//*[@rdf:about='#{storeuri}']", Pho::Namespaces::MAPPING )
|
|
59
|
+
#not found if there's no snapshot for this store
|
|
60
|
+
if store == nil
|
|
61
|
+
return nil
|
|
62
|
+
end
|
|
58
63
|
snapshot = REXML::XPath.first(store, "bf:snapshot", Pho::Namespaces::MAPPING)
|
|
59
64
|
snapshot_url = snapshot.attributes["rdf:resource"]
|
|
60
65
|
snapshot_el = REXML::XPath.first(root, "//*[@rdf:about='#{snapshot_url}']", Pho::Namespaces::MAPPING )
|
data/lib/pho/sparql.rb
CHANGED
|
@@ -359,6 +359,9 @@ module Pho
|
|
|
359
359
|
#
|
|
360
360
|
#Note this will lose any type information, only the value of the bindings are returned
|
|
361
361
|
#
|
|
362
|
+
#Also note that if row has an empty binding for the selected variable, then this row will
|
|
363
|
+
#be dropped from the resulting array
|
|
364
|
+
#
|
|
362
365
|
#query:: the SPARQL SELECT query
|
|
363
366
|
#sparql_client:: a configured SparqlClient object
|
|
364
367
|
def SparqlHelper.select_values(query, sparql_client)
|
|
@@ -366,7 +369,7 @@ module Pho
|
|
|
366
369
|
v = results["head"]["vars"][0];
|
|
367
370
|
values = [];
|
|
368
371
|
results["results"]["bindings"].each do |binding|
|
|
369
|
-
values << binding[v]["value"]
|
|
372
|
+
values << binding[v]["value"] if binding[v]
|
|
370
373
|
end
|
|
371
374
|
return values
|
|
372
375
|
end
|
data/tests/tc_snapshots.rb
CHANGED
|
@@ -22,6 +22,12 @@ class SnapshotsTest < Test::Unit::TestCase
|
|
|
22
22
|
</rdf:RDF>
|
|
23
23
|
EOL
|
|
24
24
|
|
|
25
|
+
EMPTY = <<-EOL
|
|
26
|
+
<rdf:RDF
|
|
27
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
|
|
28
|
+
</rdf:RDF>
|
|
29
|
+
EOL
|
|
30
|
+
|
|
25
31
|
def teardown()
|
|
26
32
|
|
|
27
33
|
f = File.join(Dir.tmpdir, "2009022213727.tar")
|
|
@@ -70,7 +76,7 @@ EOL
|
|
|
70
76
|
assert_equal("30", snapshot.size)
|
|
71
77
|
assert_equal("KB", snapshot.units)
|
|
72
78
|
end
|
|
73
|
-
|
|
79
|
+
|
|
74
80
|
def test_read_from_store_raises_exception()
|
|
75
81
|
|
|
76
82
|
msg = HTTP::Message.new_response("")
|
|
@@ -103,4 +109,11 @@ EOL
|
|
|
103
109
|
assert_equal(true, File.exists?( File.join(Dir.tmpdir, "20090222113727.tar" ) ) )
|
|
104
110
|
end
|
|
105
111
|
|
|
112
|
+
def test_empty_response()
|
|
113
|
+
snapshot = Pho::Snapshot.parse("http://api.talis.com/stores/testing", EMPTY)
|
|
114
|
+
|
|
115
|
+
assert_nil( snapshot )
|
|
116
|
+
|
|
117
|
+
end
|
|
118
|
+
|
|
106
119
|
end
|
data/tests/tc_sparql_helper.rb
CHANGED
|
@@ -38,6 +38,20 @@ class SparqlHelperTest < Test::Unit::TestCase
|
|
|
38
38
|
}
|
|
39
39
|
EOL
|
|
40
40
|
|
|
41
|
+
RESULTS_NO_BINDING = <<-EOL
|
|
42
|
+
{
|
|
43
|
+
"head": { "vars": [ "name" ] } ,
|
|
44
|
+
|
|
45
|
+
"results": {
|
|
46
|
+
"bindings": [
|
|
47
|
+
{ } ,
|
|
48
|
+
{ "name": { "type": "literal" , "value": "Apollo 11 SIVB" }
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
EOL
|
|
54
|
+
|
|
41
55
|
ASK_RESULTS = <<-EOL
|
|
42
56
|
{
|
|
43
57
|
"head": {},
|
|
@@ -133,6 +147,15 @@ class SparqlHelperTest < Test::Unit::TestCase
|
|
|
133
147
|
assert_equal( 3, results.length )
|
|
134
148
|
end
|
|
135
149
|
|
|
150
|
+
def test_select_values_with_empty_binding
|
|
151
|
+
mc = mock()
|
|
152
|
+
mc.expects(:select).with(SELECT_QUERY, Pho::Sparql::SPARQL_RESULTS_JSON).returns(
|
|
153
|
+
HTTP::Message.new_response(RESULTS_NO_BINDING) )
|
|
154
|
+
results = Pho::Sparql::SparqlHelper.select_values(SELECT_QUERY, mc)
|
|
155
|
+
assert_not_nil( results )
|
|
156
|
+
assert_equal( 1 , results.length )
|
|
157
|
+
end
|
|
158
|
+
|
|
136
159
|
def test_select_single_value
|
|
137
160
|
mc = mock()
|
|
138
161
|
mc.expects(:select).with(SELECT_QUERY, Pho::Sparql::SPARQL_RESULTS_JSON).returns(
|
metadata
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pho
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
segments:
|
|
6
|
-
- 0
|
|
7
|
-
- 7
|
|
8
|
-
- 2
|
|
9
|
-
version: 0.7.2
|
|
4
|
+
version: 0.7.3
|
|
10
5
|
platform: ruby
|
|
11
6
|
authors:
|
|
12
7
|
- Leigh Dodds
|
|
@@ -14,65 +9,49 @@ autorequire:
|
|
|
14
9
|
bindir: bin
|
|
15
10
|
cert_chain: []
|
|
16
11
|
|
|
17
|
-
date: 2010-
|
|
12
|
+
date: 2010-06-07 00:00:00 +01:00
|
|
18
13
|
default_executable:
|
|
19
14
|
dependencies:
|
|
20
15
|
- !ruby/object:Gem::Dependency
|
|
21
16
|
name: httpclient
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
20
|
requirements:
|
|
25
21
|
- - ">="
|
|
26
22
|
- !ruby/object:Gem::Version
|
|
27
|
-
segments:
|
|
28
|
-
- 2
|
|
29
|
-
- 1
|
|
30
|
-
- 3
|
|
31
|
-
- 1
|
|
32
23
|
version: 2.1.3.1
|
|
33
|
-
|
|
34
|
-
version_requirements: *id001
|
|
24
|
+
version:
|
|
35
25
|
- !ruby/object:Gem::Dependency
|
|
36
26
|
name: json
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
type: :runtime
|
|
28
|
+
version_requirement:
|
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
30
|
requirements:
|
|
40
31
|
- - ">="
|
|
41
32
|
- !ruby/object:Gem::Version
|
|
42
|
-
segments:
|
|
43
|
-
- 1
|
|
44
|
-
- 1
|
|
45
|
-
- 3
|
|
46
33
|
version: 1.1.3
|
|
47
|
-
|
|
48
|
-
version_requirements: *id002
|
|
34
|
+
version:
|
|
49
35
|
- !ruby/object:Gem::Dependency
|
|
50
36
|
name: mocha
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
type: :runtime
|
|
38
|
+
version_requirement:
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
53
40
|
requirements:
|
|
54
41
|
- - ">="
|
|
55
42
|
- !ruby/object:Gem::Version
|
|
56
|
-
segments:
|
|
57
|
-
- 0
|
|
58
|
-
- 9
|
|
59
|
-
- 5
|
|
60
43
|
version: 0.9.5
|
|
61
|
-
|
|
62
|
-
version_requirements: *id003
|
|
44
|
+
version:
|
|
63
45
|
- !ruby/object:Gem::Dependency
|
|
64
46
|
name: mime-types
|
|
65
|
-
|
|
66
|
-
|
|
47
|
+
type: :runtime
|
|
48
|
+
version_requirement:
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
67
50
|
requirements:
|
|
68
51
|
- - ">="
|
|
69
52
|
- !ruby/object:Gem::Version
|
|
70
|
-
segments:
|
|
71
|
-
- 1
|
|
72
|
-
- 16
|
|
73
53
|
version: "1.16"
|
|
74
|
-
|
|
75
|
-
version_requirements: *id004
|
|
54
|
+
version:
|
|
76
55
|
description: Ruby client for the Talis Platform
|
|
77
56
|
email: leigh.dodds@talis.com
|
|
78
57
|
executables:
|
|
@@ -88,139 +67,64 @@ files:
|
|
|
88
67
|
- CHANGES
|
|
89
68
|
- bin/talis_store
|
|
90
69
|
- doc/index.html
|
|
91
|
-
- doc/rdoc/fr_method_index.html
|
|
92
|
-
- doc/rdoc/rdoc-style.css
|
|
93
|
-
- doc/rdoc/fr_file_index.html
|
|
94
|
-
- doc/rdoc/fr_class_index.html
|
|
95
|
-
- doc/rdoc/classes/Pho/RDF.html
|
|
96
|
-
- doc/rdoc/classes/Pho/Etags.html
|
|
97
|
-
- doc/rdoc/classes/Pho/FileManagement.html
|
|
98
|
-
- doc/rdoc/classes/Pho/Jobs.html
|
|
99
|
-
- doc/rdoc/classes/Pho/RDF/Parser.html
|
|
100
|
-
- doc/rdoc/classes/Pho/StoreSparqlClient.html
|
|
101
|
-
- doc/rdoc/classes/Pho/DatatypeProperty.html
|
|
102
|
-
- doc/rdoc/classes/Pho/Facet.html
|
|
103
|
-
- doc/rdoc/classes/Pho/JobUpdate.html
|
|
104
|
-
- doc/rdoc/classes/Pho/OAI/Record.html
|
|
105
|
-
- doc/rdoc/classes/Pho/OAI/Records.html
|
|
106
|
-
- doc/rdoc/classes/Pho/Enrichment.html
|
|
107
|
-
- doc/rdoc/classes/Pho/RDFCollection.html
|
|
108
|
-
- doc/rdoc/classes/Pho/OAI.html
|
|
109
|
-
- doc/rdoc/classes/Pho/CommandLine.html
|
|
110
|
-
- doc/rdoc/classes/Pho/Job.html
|
|
111
|
-
- doc/rdoc/classes/Pho/Status.html
|
|
112
|
-
- doc/rdoc/classes/Pho/QueryProfile.html
|
|
113
|
-
- doc/rdoc/classes/Pho/Snapshot.html
|
|
114
|
-
- doc/rdoc/classes/Pho/FieldWeighting.html
|
|
115
|
-
- doc/rdoc/classes/Pho/Sparql/SparqlClient.html
|
|
116
|
-
- doc/rdoc/classes/Pho/Sparql/SparqlHelper.html
|
|
117
|
-
- doc/rdoc/classes/Pho/Namespaces.html
|
|
118
|
-
- doc/rdoc/classes/Pho/ResourceHash.html
|
|
119
|
-
- doc/rdoc/classes/Pho/FileManagement/FileManager.html
|
|
120
|
-
- doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html
|
|
121
|
-
- doc/rdoc/classes/Pho/FileManagement/RDFManager.html
|
|
122
|
-
- doc/rdoc/classes/Pho/Sparql.html
|
|
123
|
-
- doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html
|
|
124
|
-
- doc/rdoc/classes/Pho/Store.html
|
|
125
|
-
- doc/rdoc/classes/Pho/Facet/Results.html
|
|
126
|
-
- doc/rdoc/classes/Pho/Facet/Term.html
|
|
127
|
-
- doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html
|
|
128
|
-
- doc/rdoc/classes/Pho/ResourceHash/Converter.html
|
|
129
|
-
- doc/rdoc/classes/Pho/Analyzers.html
|
|
130
|
-
- doc/rdoc/classes/Pho/FieldPredicateMap.html
|
|
131
|
-
- doc/rdoc/classes/Pho/Update.html
|
|
132
|
-
- doc/rdoc/classes/Pho/Update/Changesets.html
|
|
133
|
-
- doc/rdoc/classes/Pho/Update/ChangesetBuilder.html
|
|
134
|
-
- doc/rdoc/classes/Pho/Update/Changeset.html
|
|
135
|
-
- doc/rdoc/classes/Pho/Update/Statement.html
|
|
136
|
-
- doc/rdoc/classes/Pho/Update/LiteralStatement.html
|
|
137
|
-
- doc/rdoc/classes/Pho/Update/ResourceStatement.html
|
|
138
|
-
- doc/rdoc/classes/Pho/Update/ChangesetHelper.html
|
|
139
|
-
- doc/rdoc/classes/String.html
|
|
140
|
-
- doc/rdoc/classes/Pho.html
|
|
141
|
-
- doc/rdoc/files/README.html
|
|
142
|
-
- doc/rdoc/files/lib/pho_rb.html
|
|
143
|
-
- doc/rdoc/files/lib/pho/changeset_rb.html
|
|
144
|
-
- doc/rdoc/files/lib/pho/changeset_builder_rb.html
|
|
145
|
-
- doc/rdoc/files/lib/pho/enrichment_rb.html
|
|
146
|
-
- doc/rdoc/files/lib/pho/resource_hash_rb.html
|
|
147
|
-
- doc/rdoc/files/lib/pho/file_management_rb.html
|
|
148
|
-
- doc/rdoc/files/lib/pho/job_rb.html
|
|
149
|
-
- doc/rdoc/files/lib/pho/sparql_rb.html
|
|
150
|
-
- doc/rdoc/files/lib/pho/oai_rb.html
|
|
151
|
-
- doc/rdoc/files/lib/pho/rdf_collection_rb.html
|
|
152
|
-
- doc/rdoc/files/lib/pho/rdf_rb.html
|
|
153
|
-
- doc/rdoc/files/lib/pho/query_profile_rb.html
|
|
154
|
-
- doc/rdoc/files/lib/pho/etags_rb.html
|
|
155
|
-
- doc/rdoc/files/lib/pho/snapshot_rb.html
|
|
156
|
-
- doc/rdoc/files/lib/pho/field_predicate_map_rb.html
|
|
157
|
-
- doc/rdoc/files/lib/pho/file_manager_rb.html
|
|
158
|
-
- doc/rdoc/files/lib/pho/store_rb.html
|
|
159
|
-
- doc/rdoc/files/lib/pho/facet_rb.html
|
|
160
|
-
- doc/rdoc/files/lib/pho/converter_rb.html
|
|
161
|
-
- doc/rdoc/files/lib/pho/status_rb.html
|
|
162
|
-
- doc/rdoc/files/lib/pho/command_line_rb.html
|
|
163
|
-
- doc/rdoc/files/CHANGES.html
|
|
164
|
-
- doc/rdoc/index.html
|
|
165
|
-
- doc/rdoc/created.rid
|
|
166
|
-
- tests/tc_facet.rb
|
|
167
|
-
- tests/tc_changesets.rb
|
|
168
70
|
- tests/tc_enrichment.rb
|
|
169
|
-
- tests/
|
|
170
|
-
- tests/
|
|
171
|
-
- tests/tc_contentbox.rb
|
|
71
|
+
- tests/tc_job.rb
|
|
72
|
+
- tests/tc_changesets.rb
|
|
172
73
|
- tests/tc_sparql.rb
|
|
173
|
-
- tests/
|
|
174
|
-
- tests/tc_rdf_collection.rb
|
|
175
|
-
- tests/tc_rdf_parser.rb
|
|
176
|
-
- tests/tc_command_line.rb
|
|
177
|
-
- tests/ts_pho.rb
|
|
74
|
+
- tests/tc_sparql_helper.rb
|
|
178
75
|
- tests/tc_oai.rb
|
|
76
|
+
- tests/tc_changeset.rb
|
|
77
|
+
- tests/tc_status.rb
|
|
78
|
+
- tests/tc_store_util.rb
|
|
79
|
+
- tests/tc_command_line.rb
|
|
80
|
+
- tests/tc_rdf_parser.rb
|
|
81
|
+
- tests/tc_etags.rb
|
|
179
82
|
- tests/tc_resource_hash.rb
|
|
180
|
-
- tests/
|
|
83
|
+
- tests/tc_facet.rb
|
|
84
|
+
- tests/tc_metabox.rb
|
|
181
85
|
- tests/tc_jobcontrol.rb
|
|
182
|
-
- tests/
|
|
183
|
-
- tests/
|
|
184
|
-
- tests/
|
|
185
|
-
- tests/
|
|
186
|
-
- tests/tc_status.rb
|
|
187
|
-
- tests/tc_changeset.rb
|
|
86
|
+
- tests/ts_pho.rb
|
|
87
|
+
- tests/tc_contentbox.rb
|
|
88
|
+
- tests/tc_changeset_builder.rb
|
|
89
|
+
- tests/tc_rdf_collection.rb
|
|
188
90
|
- tests/tc_converter.rb
|
|
189
|
-
- tests/tc_etags.rb
|
|
190
91
|
- tests/tc_field_predicate_map.rb
|
|
92
|
+
- tests/tc_search.rb
|
|
191
93
|
- tests/tc_query_profile.rb
|
|
94
|
+
- tests/tc_snapshots.rb
|
|
95
|
+
- tests/tc_file_manager.rb
|
|
96
|
+
- examples/status.rb
|
|
97
|
+
- examples/sparql.rb
|
|
98
|
+
- examples/sparql_construct_hash.rb
|
|
192
99
|
- examples/linkeddata/proxy.rb
|
|
100
|
+
- examples/contentbox.rb
|
|
193
101
|
- examples/sparql_select.rb
|
|
194
|
-
- examples/calais/dump.rb
|
|
195
|
-
- examples/calais/enlighten.rb
|
|
196
102
|
- examples/calais/bio.txt
|
|
103
|
+
- examples/calais/enlighten.rb
|
|
104
|
+
- examples/calais/dump.rb
|
|
197
105
|
- examples/calais/output.rdf
|
|
198
|
-
- examples/status.rb
|
|
199
|
-
- examples/sparql.rb
|
|
200
106
|
- examples/sinatra/viewer.rb
|
|
201
|
-
-
|
|
202
|
-
-
|
|
203
|
-
- lib/pho.rb
|
|
107
|
+
- lib/pho/status.rb
|
|
108
|
+
- lib/pho/command_line.rb
|
|
109
|
+
- lib/pho/sparql.rb
|
|
204
110
|
- lib/pho/changeset_builder.rb
|
|
111
|
+
- lib/pho/file_management.rb
|
|
112
|
+
- lib/pho/job.rb
|
|
113
|
+
- lib/pho/oai.rb
|
|
205
114
|
- lib/pho/rdf.rb
|
|
206
|
-
- lib/pho/file_manager.rb
|
|
207
|
-
- lib/pho/etags.rb
|
|
208
|
-
- lib/pho/enrichment.rb
|
|
209
|
-
- lib/pho/command_line.rb
|
|
210
|
-
- lib/pho/status.rb
|
|
211
|
-
- lib/pho/rdf_collection.rb
|
|
212
115
|
- lib/pho/converter.rb
|
|
213
|
-
- lib/pho/store.rb
|
|
214
|
-
- lib/pho/field_predicate_map.rb
|
|
215
|
-
- lib/pho/sparql.rb
|
|
216
116
|
- lib/pho/resource_hash.rb
|
|
117
|
+
- lib/pho/file_manager.rb
|
|
118
|
+
- lib/pho/snapshot.rb
|
|
119
|
+
- lib/pho/store.rb
|
|
120
|
+
- lib/pho/rdf_collection.rb
|
|
217
121
|
- lib/pho/changeset.rb
|
|
218
|
-
- lib/pho/oai.rb
|
|
219
|
-
- lib/pho/file_management.rb
|
|
220
|
-
- lib/pho/facet.rb
|
|
221
122
|
- lib/pho/query_profile.rb
|
|
222
|
-
- lib/pho/
|
|
223
|
-
- lib/pho/
|
|
123
|
+
- lib/pho/facet.rb
|
|
124
|
+
- lib/pho/enrichment.rb
|
|
125
|
+
- lib/pho/etags.rb
|
|
126
|
+
- lib/pho/field_predicate_map.rb
|
|
127
|
+
- lib/pho.rb
|
|
224
128
|
has_rdoc: true
|
|
225
129
|
homepage: http://pho.rubyforge.net
|
|
226
130
|
licenses: []
|
|
@@ -238,22 +142,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
238
142
|
requirements:
|
|
239
143
|
- - ">="
|
|
240
144
|
- !ruby/object:Gem::Version
|
|
241
|
-
segments:
|
|
242
|
-
- 1
|
|
243
|
-
- 8
|
|
244
|
-
- 5
|
|
245
145
|
version: 1.8.5
|
|
146
|
+
version:
|
|
246
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
148
|
requirements:
|
|
248
149
|
- - ">="
|
|
249
150
|
- !ruby/object:Gem::Version
|
|
250
|
-
segments:
|
|
251
|
-
- 0
|
|
252
151
|
version: "0"
|
|
152
|
+
version:
|
|
253
153
|
requirements: []
|
|
254
154
|
|
|
255
155
|
rubyforge_project: pho
|
|
256
|
-
rubygems_version: 1.3.
|
|
156
|
+
rubygems_version: 1.3.5
|
|
257
157
|
signing_key:
|
|
258
158
|
specification_version: 3
|
|
259
159
|
summary: Ruby client for the Talis Platform
|