rdf 0.3.5.2 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -4,7 +4,7 @@ RDF.rb: Linked Data for Ruby
4
4
  This is a pure-Ruby library for working with [Resource Description Framework
5
5
  (RDF)][RDF] data.
6
6
 
7
- * <http://github.com/bendiken/rdf>
7
+ * <http://github.com/ruby-rdf/rdf>
8
8
  * <http://blog.datagraph.org/2010/12/rdf-for-ruby>
9
9
  * <http://blog.datagraph.org/2010/03/rdf-for-ruby>
10
10
  * <http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
@@ -158,7 +158,7 @@ A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full
158
158
  Documentation
159
159
  -------------
160
160
 
161
- <http://rdf.rubyforge.org/>
161
+ <http://rubydoc.info/github/ruby-rdf/rdf/frames>
162
162
 
163
163
  ### RDF Object Model
164
164
 
@@ -198,14 +198,14 @@ other gems:
198
198
  * {RDF::NTriples}
199
199
  * {RDF::NQuads}
200
200
  * [JSON::LD][JSONLD doc] (plugin)
201
- * [RDF::JSON](http://rdf.rubyforge.org/json/) (plugin)
201
+ * [RDF::JSON](http://rubydoc.info/github/ruby-rdf/rdf-json/frames) (plugin)
202
202
  * [RDF::Microdata][Microdata doc] (plugin)
203
203
  * [RDF::N3][N3 doc] (plugin)
204
204
  * [RDF::Raptor::RDFXML](http://rdf.rubyforge.org/raptor/) (plugin)
205
205
  * [RDF::Raptor::Turtle](http://rdf.rubyforge.org/raptor/) (plugin)
206
206
  * [RDF::RDFa][RDFa doc] (plugin)
207
207
  * [RDF::RDFXML][RDFXML doc] (plugin)
208
- * [RDF::Trix](http://rdf.rubyforge.org/trix/) (plugin)
208
+ * [RDF::Trix](http://rubydoc.info/github/ruby-rdf/rdf-trix/frames) (plugin)
209
209
  * [RDF::Turtle][Turtle doc] (plugin)
210
210
 
211
211
  The meta-gem [LinkedData][LinkedData doc] includes many of these gems.
@@ -225,7 +225,7 @@ The meta-gem [LinkedData][LinkedData doc] includes many of these gems.
225
225
  * {RDF::Transaction}
226
226
  * [RDF::AllegroGraph](http://rubydoc.info/github/emk/rdf-agraph/master/frames) (plugin)
227
227
  * [RDF::Mongo](http://rubydoc.info/github/pius/rdf-mongo/master/frames) (plugin)
228
- * [RDF::DataObjects](http://rdf.rubyforge.org/do/) (plugin)
228
+ * [RDF::DataObjects](http://rubydoc.info/github/ruby-rdf/rdf-do/frames) (plugin)
229
229
  * [RDF::Sesame](http://rdf.rubyforge.org/sesame/) (plugin)
230
230
 
231
231
  ### RDF Querying
@@ -235,7 +235,7 @@ The meta-gem [LinkedData][LinkedData doc] includes many of these gems.
235
235
  * {RDF::Query::Solution}
236
236
  * {RDF::Query::Solutions}
237
237
  * {RDF::Query::Variable}
238
- * [SPARQL](http://rubydoc.info/github/gkellogg/sparql/frames) (plugin)
238
+ * [SPARQL](http://rubydoc.info/github/ruby-rdf/sparql/frames) (plugin)
239
239
 
240
240
 
241
241
  ### RDF Vocabularies
@@ -280,18 +280,18 @@ Download
280
280
 
281
281
  To get a local working copy of the development repository, do:
282
282
 
283
- % git clone git://github.com/bendiken/rdf.git
283
+ % git clone git://github.com/ruby-rdf/rdf.git
284
284
 
285
285
  Alternatively, download the latest development version as a tarball as
286
286
  follows:
287
287
 
288
- % wget http://github.com/bendiken/rdf/tarball/master
288
+ % wget http://github.com/ruby-rdf/rdf/tarball/master
289
289
 
290
290
  Resources
291
291
  ---------
292
292
 
293
- * <http://rdf.rubyforge.org/>
294
- * <http://github.com/bendiken/rdf>
293
+ * <http://rubydoc.info/github/ruby-rdf/rdf/frames>
294
+ * <http://github.com/ruby-rdf/rdf>
295
295
  * <http://rubygems.org/gems/rdf>
296
296
  * <http://rubyforge.org/projects/rdf/>
297
297
  * <http://raa.ruby-lang.org/project/rdf/>
@@ -352,10 +352,10 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
352
352
  [Backports]: http://rubygems.org/gems/backports
353
353
  [JSONLD doc]: http://rubydoc.info/github/gkellogg/json-ld/frames
354
354
  [LinkedData doc]: http://rubydoc.info/github/datagraph/linkeddata/master/frames
355
- [Microdata doc]: http://rubydoc.info/github/gkellogg/rdf-microdata/frames
356
- [N3 doc]: http://rubydoc.info/github/gkellogg/rdf-n3/master/frames
357
- [RDFa doc]: http://rubydoc.info/github/gkellogg/rdf-rdfa/master/frames
358
- [RDFXML doc]: http://rubydoc.info/github/gkellogg/rdf-rdfxml/master/frames
359
- [Turtle doc]: http://rubydoc.info/github/gkellogg/rdf-turtle/master/frames
360
- [SPARQL doc]: http://rubydoc.info/github/gkellogg/sparql/frames
355
+ [Microdata doc]: http://rubydoc.info/github/ruby-rdf/rdf-microdata/frames
356
+ [N3 doc]: http://rubydoc.info/github/ruby-rdf/rdf-n3/master/frames
357
+ [RDFa doc]: http://rubydoc.info/github/ruby-rdf/rdf-rdfa/master/frames
358
+ [RDFXML doc]: http://rubydoc.info/github/ruby-rdf/rdf-rdfxml/master/frames
359
+ [Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/frames
360
+ [SPARQL doc]: http://rubydoc.info/github/ruby-rdf/sparql/frames
361
361
  [SPARQL 1.0]: http://www.w3.org/TR/rdf-sparql-query/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5.2
1
+ 0.3.7
@@ -1,62 +1,85 @@
1
- <http://rubygems.org/gems/rdf> <http://purl.org/dc/terms/creator> <http://ar.to/#self> .
2
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://ar.to/> .
3
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
4
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/bendiken/rdf/issues> .
1
+ <http://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
2
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#name> "RDF.rb" .
3
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#homepage> <http://rubygems.org/gems/rdf> .
4
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#license> <http://creativecommons.org/licenses/publicdomain/> .
5
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#shortdesc> "A Ruby library for working with Resource Description Framework (RDF) data."@en .
6
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#description> "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en .
7
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#created> "2007-10-23" .
8
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#platform> "Ruby" .
5
9
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
6
10
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
7
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#created> "2007-10-23" .
8
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#description> "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en .
11
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf-concepts/> .
12
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://sw.deri.org/2008/07/n-quads/> .
13
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/2001/sw/RDFCore/ntriples/> .
14
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <http://rubyforge.org/projects/rdf/> .
15
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/ruby-rdf/rdf/issues> .
16
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://ar.to/> .
17
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
18
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#vendor> <http://datagraph.org/> .
9
19
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://ar.to/#self> .
10
20
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://bhuga.net/#ben> .
11
21
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
12
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://ar.to/#self> .
13
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://bhuga.net/#ben> .
14
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
15
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <http://rubyforge.org/projects/rdf/> .
16
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid1 .
17
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid2 .
18
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid3 .
19
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid4 .
20
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid5 .
21
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid6 .
22
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid7 .
23
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid8 .
24
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid9 .
25
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#homepage> <http://rdf.rubyforge.org/> .
26
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#license> <http://creativecommons.org/licenses/publicdomain/> .
27
22
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://ar.to/#self> .
28
23
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://bhuga.net/#ben> .
29
24
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
30
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#name> "RDF.rb" .
31
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#platform> "Ruby" .
32
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#shortdesc> "A Ruby library for working with Resource Description Framework (RDF) data."@en .
33
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#vendor> <http://datagraph.org/> .
34
- <http://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
25
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://ar.to/#self> .
26
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://bhuga.net/#ben> .
27
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
28
+ _:g2171308140 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
29
+ _:g2171308140 <http://xmlns.com/foaf/0.1/name> "CD\u0003lin Ardelean" .
30
+ _:g2171308140 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "274bd18402fc773ffc0606996aa1fb90b603aa29" .
31
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171308140 .
32
+ _:g2171257040 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
33
+ _:g2171257040 <http://xmlns.com/foaf/0.1/name> "Danny Gagne" .
34
+ _:g2171257040 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "6de43e9cf7de53427fea9765706703e4d957c17b" .
35
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171257040 .
36
+ _:g2171208180 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
37
+ _:g2171208180 <http://xmlns.com/foaf/0.1/name> "Joey Geiger" .
38
+ _:g2171208180 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f412d743150d7b27b8468d56e69ca147917ea6fc" .
39
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171208180 .
40
+ _:g2171159320 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
41
+ _:g2171159320 <http://xmlns.com/foaf/0.1/name> "Fumihiro Kato" .
42
+ _:g2171159320 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d31fdd6af7a279a89bf09fdc9f7c44d9d08bb930" .
43
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171159320 .
44
+ _:g2171110460 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
45
+ _:g2171110460 <http://xmlns.com/foaf/0.1/name> "Naoki Kawamukai" .
46
+ _:g2171110460 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "5bdcd8e2af4f5952aaeeffbdd371c41525ec761d" .
47
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171110460 .
48
+ _:g2171061600 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
49
+ _:g2171061600 <http://xmlns.com/foaf/0.1/name> "Hellekin O. Wolf" .
50
+ _:g2171061600 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "c69f3255ff0639543cc5edfd8116eac8df16fab8" .
51
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171061600 .
52
+ _:g2171012740 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
53
+ _:g2171012740 <http://xmlns.com/foaf/0.1/name> "John Fieber" .
54
+ _:g2171012740 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" .
55
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171012740 .
56
+ _:g2170963880 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
57
+ _:g2170963880 <http://xmlns.com/foaf/0.1/name> "Keita Urashima" .
58
+ _:g2170963880 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "2b4247b6fd5bb4a1383378f325784318680d5ff9" .
59
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2170963880 .
60
+ _:g2173836940 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
61
+ _:g2173836940 <http://xmlns.com/foaf/0.1/name> "Pius Uzamere" .
62
+ _:g2173836940 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "bedbbf2451e5beb38d59687c0460032aff92cd3c" .
63
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2173836940 .
35
64
  <http://rubygems.org/gems/rdf> <http://xmlns.com/foaf/0.1/maker> <http://ar.to/#self> .
36
- _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
37
- _:genid1 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "274bd18402fc773ffc0606996aa1fb90b603aa29" .
38
- _:genid1 <http://xmlns.com/foaf/0.1/name> "C\u0103lin Ardelean" .
39
- _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
40
- _:genid2 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "6de43e9cf7de53427fea9765706703e4d957c17b" .
41
- _:genid2 <http://xmlns.com/foaf/0.1/name> "Danny Gagne" .
42
- _:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
43
- _:genid3 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f412d743150d7b27b8468d56e69ca147917ea6fc" .
44
- _:genid3 <http://xmlns.com/foaf/0.1/name> "Joey Geiger" .
45
- _:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
46
- _:genid4 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d31fdd6af7a279a89bf09fdc9f7c44d9d08bb930" .
47
- _:genid4 <http://xmlns.com/foaf/0.1/name> "Fumihiro Kato" .
48
- _:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
49
- _:genid5 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "5bdcd8e2af4f5952aaeeffbdd371c41525ec761d" .
50
- _:genid5 <http://xmlns.com/foaf/0.1/name> "Naoki Kawamukai" .
51
- _:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
52
- _:genid6 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "c69f3255ff0639543cc5edfd8116eac8df16fab8" .
53
- _:genid6 <http://xmlns.com/foaf/0.1/name> "Hellekin O. Wolf" .
54
- _:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
55
- _:genid7 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" .
56
- _:genid7 <http://xmlns.com/foaf/0.1/name> "John Fieber" .
57
- _:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
58
- _:genid8 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "2b4247b6fd5bb4a1383378f325784318680d5ff9" .
59
- _:genid8 <http://xmlns.com/foaf/0.1/name> "Keita Urashima" .
60
- _:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
61
- _:genid9 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "bedbbf2451e5beb38d59687c0460032aff92cd3c" .
62
- _:genid9 <http://xmlns.com/foaf/0.1/name> "Pius Uzamere" .
65
+ <http://rubygems.org/gems/rdf> <http://purl.org/dc/terms/creator> <http://ar.to/#self> .
66
+ <http://ar.to/#self> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
67
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/name> "Arto Bendiken" .
68
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox> <mailto:arto.bendiken@gmail.com> .
69
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d0737cceb55eb7d740578d2db1bc0727e3ed49ce" .
70
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "a033f652c84a4d73b8c26d318c2395699dd2bdfb" .
71
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/homepage> <http://ar.to/> .
72
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/made> <http://rubygems.org/gems/rdf> .
73
+ <http://ar.to/#self> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bendiken/foaf> .
74
+ <http://bhuga.net/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
75
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/name> "Ben Lavender" .
76
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox> <mailto:blavender@gmail.com> .
77
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "dbf45f4ffbd27b67aa84f02a6a31c144727d10af" .
78
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/homepage> <http://bhuga.net/> .
79
+ <http://bhuga.net/#ben> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bhuga/foaf> .
80
+ <http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
81
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
82
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
83
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" .
84
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/homepage> <http://greggkellogg.net/> .
85
+ <http://greggkellogg.net/foaf#me> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://greggkellogg.net/foaf> .
data/lib/rdf.rb CHANGED
@@ -100,6 +100,7 @@ module RDF
100
100
  #
101
101
  # @overload URI(options = {})
102
102
  # @param [Hash{Symbol => Object} options
103
+ # passed to `Addressable::URI.new`
103
104
  #
104
105
  # @return [RDF::URI]
105
106
  def self.URI(*args, &block)
@@ -105,7 +105,11 @@ module RDF
105
105
  # @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
106
106
  mime_type = mime_type.to_s
107
107
  mime_type = mime_type.split(';').first # remove any media type parameters
108
- content_types[mime_type]
108
+
109
+ # Ignore text/plain, a historical encoding for N-Triples, which is
110
+ # problematic in format detection, as many web servers will serve
111
+ # content by default text/plain.
112
+ content_types[mime_type] unless mime_type == 'text/plain' && (options[:sample] || block_given?)
109
113
  # Find a format based on the file name:
110
114
  when file_name = options[:file_name]
111
115
  self.for(:file_extension => File.extname(file_name.to_s)[1..-1]) { yield if block_given? }
@@ -153,6 +157,10 @@ module RDF
153
157
  ##
154
158
  # Returns MIME content types for known RDF serialization formats.
155
159
  #
160
+ # @example retrieving a list of supported Mime types
161
+ #
162
+ # RDF::Format.content_types.keys
163
+ #
156
164
  # @return [Hash{String => Array<Class>}]
157
165
  def self.content_types
158
166
  @@content_types
@@ -161,11 +169,41 @@ module RDF
161
169
  ##
162
170
  # Returns file extensions for known RDF serialization formats.
163
171
  #
172
+ # @example retrieving a list of supported file extensions
173
+ #
174
+ # RDF::Format.file_extensions.keys
175
+ #
164
176
  # @return [Hash{Symbol => Array<Class>}]
165
177
  def self.file_extensions
166
178
  @@file_extensions
167
179
  end
168
180
 
181
+ ##
182
+ # Returns the set of format symbols for loaded RDF::Reader subclasses.
183
+ #
184
+ # @example
185
+ #
186
+ # formats = RDF::Format.reader_symbols
187
+ # format = RDF::Format.for(formats.first)
188
+ #
189
+ # @return [Array<Symbol>]
190
+ def self.reader_symbols
191
+ RDF::Format.each.to_a.map(&:reader).compact.map(&:to_sym).uniq
192
+ end
193
+
194
+ ##
195
+ # Returns the set of format symbols for loaded RDF::Writer subclasses.
196
+ #
197
+ # @example
198
+ #
199
+ # formats = RDF::Format.writer_symbols
200
+ # format = RDF::Format.for(formats.first)
201
+ #
202
+ # @return [Array<Symbol>]
203
+ def self.writer_symbols
204
+ RDF::Format.each.to_a.map(&:writer).compact.map(&:to_sym).uniq
205
+ end
206
+
169
207
  ##
170
208
  # Returns a symbol appropriate to use with RDF::Format.for()
171
209
  # @return [Symbol]
@@ -176,6 +214,23 @@ module RDF
176
214
  sym.downcase.to_s.to_sym
177
215
  end
178
216
 
217
+ ##
218
+ # Returns a human-readable name for the format.
219
+ # Subclasses should override this to use something
220
+ # difererent than the Class name.
221
+ #
222
+ # @example
223
+ #
224
+ # RDF::NTriples::Format.name => "NTriples"
225
+ #
226
+ # @return [Symbol]
227
+ def self.name
228
+ elements = self.to_s.split("::")
229
+ name = elements.pop
230
+ name = elements.pop if name == 'Format'
231
+ name.to_s
232
+ end
233
+
179
234
  ##
180
235
  # Retrieves or defines the reader class for this RDF serialization
181
236
  # format.
@@ -348,10 +403,14 @@ module RDF
348
403
  ##
349
404
  # Defines the content encoding for this RDF serialization format.
350
405
  #
406
+ # When called without an encoding, it returns the currently defined
407
+ # content encoding for this format
408
+ #
351
409
  # @param [#to_sym] encoding
352
410
  # @return [void]
353
- def self.content_encoding(encoding)
354
- @@content_encoding[self] = encoding.to_sym
411
+ def self.content_encoding(encoding = nil)
412
+ @@content_encoding[self] = encoding.to_sym if encoding
413
+ @@content_encoding[self] || "utf-8"
355
414
  end
356
415
 
357
416
  private
@@ -371,7 +430,7 @@ module RDF
371
430
  # @private
372
431
  # @return [void]
373
432
  def self.inherited(child)
374
- @@subclasses << child
433
+ @@subclasses << child if child
375
434
  super
376
435
  end
377
436
  end # Format
@@ -595,7 +595,7 @@ module RDF
595
595
  # terms.
596
596
  #
597
597
  # The return value is a `Hash` instance that has the structure:
598
- # `{subject => {predicate => [*objects]}}`.
598
+ # {subject => {predicate => [*objects]}`.
599
599
  #
600
600
  # @return [Hash]
601
601
  def to_hash
@@ -190,7 +190,7 @@ module RDF
190
190
  # @example Joining two URIs
191
191
  # RDF::URI.new('http://example.org/foo/bar').join('/foo')
192
192
  # #=> RDF::URI('http://example.org/foo')
193
- # @see <http://github.com/bendiken/rdf-spec/blob/master/lib/rdf/spec/uri.rb>
193
+ # @see <http://github.com/ruby-rdf/rdf-spec/blob/master/lib/rdf/spec/uri.rb>
194
194
  # @see <http://tools.ietf.org/html/rfc3986#section-5.2>
195
195
  # @see RDF::URI#/
196
196
  # @see RDF::URI#+
@@ -230,7 +230,7 @@ module RDF
230
230
  # @see RDF::URI#+
231
231
  # @see RDF::URI#join
232
232
  # @see <http://tools.ietf.org/html/rfc3986#section-5.2>
233
- # @see <http://github.com/bendiken/rdf-spec/blob/master/lib/rdf/spec/uri.rb>
233
+ # @see <http://github.com/ruby-rdf/rdf-spec/blob/master/lib/rdf/spec/uri.rb>
234
234
  # @example Building a HTTP URL
235
235
  # RDF::URI.new('http://example.org') / 'jhacker' / 'foaf.ttl'
236
236
  # #=> RDF::URI('http://example.org/jhacker/foaf.ttl')
@@ -284,7 +284,7 @@ module RDF
284
284
  # #=> RDF::URI('http://example.org/testtest')
285
285
  # @see RDF::URI#/
286
286
  # @see RDF::URI#join
287
- # @param [Any]
287
+ # @param [Any] other
288
288
  # @return [RDF::URI]
289
289
  def +(other)
290
290
  RDF::URI.intern(self.to_s + other.to_s)
@@ -47,6 +47,9 @@ module RDF
47
47
  sample.match(%r(<(html|rdf))i) # Not HTML or XML
48
48
  )
49
49
  end
50
+
51
+ # Human readable name for this format
52
+ def self.name; "N-Quads"; end
50
53
  end
51
54
 
52
55
  class Reader < NTriples::Reader
@@ -131,6 +134,30 @@ module RDF
131
134
  s + "."
132
135
  end
133
136
  end # Writer
137
+
138
+ ##
139
+ # Reconstructs an RDF value from its serialized N-Triples
140
+ # representation.
141
+ #
142
+ # @param [String] data
143
+ # @return [RDF::Value]
144
+ # @see RDF::NTriples::Reader.unserialize
145
+ # @since 0.1.5
146
+ def self.unserialize(data)
147
+ Reader.unserialize(data)
148
+ end
149
+
150
+ ##
151
+ # Returns the serialized N-Triples representation of the given RDF
152
+ # value.
153
+ #
154
+ # @param [RDF::Value] value
155
+ # @return [String]
156
+ # @see RDF::NTriples::Writer.serialize
157
+ # @since 0.1.5
158
+ def self.serialize(value)
159
+ Writer.serialize(value)
160
+ end
134
161
  end # NQuads
135
162
 
136
163
 
@@ -138,14 +165,14 @@ module RDF
138
165
  # Extensions for `RDF::Value`.
139
166
  module Value
140
167
  ##
141
- # Returns the N-Triples representation of this value.
168
+ # Returns the N-Quads representation of this value.
142
169
  #
143
- # This method is only available when the 'rdf/ntriples' serializer has
170
+ # This method is only available when the 'rdf/nquads' serializer has
144
171
  # been explicitly required.
145
172
  #
146
173
  # @return [String]
147
174
  # @since 0.4.0
148
- def to_quad
175
+ def to_nquads
149
176
  RDF::NQuads.serialize(self)
150
177
  end
151
178
  end # Value
@@ -3,7 +3,7 @@ module RDF::NTriples
3
3
  # N-Triples format specification.
4
4
  #
5
5
  # Note: Latest standards activities treat N-Triples as a subset
6
- # of Turtle. This includes text/ntriples+turtle mime type and a
6
+ # of Turtle. This includes application/n-triples mime type and a
7
7
  # new default encoding of utf-8.
8
8
  #
9
9
  # @example Obtaining an NTriples format class
@@ -11,12 +11,12 @@ module RDF::NTriples
11
11
  # RDF::Format.for("etc/doap.nt")
12
12
  # RDF::Format.for(:file_name => "etc/doap.nt")
13
13
  # RDF::Format.for(:file_extension => "nt")
14
+ # RDF::Format.for(:content_type => "application/n-triples")
14
15
  # RDF::Format.for(:content_type => "text/plain")
15
- # RDF::Format.for(:content_type => "text/ntriples+turtle")
16
16
  #
17
17
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
18
18
  class Format < RDF::Format
19
- content_type 'text/plain', :extension => :nt, :alias => 'text/ntriples+turtle'
19
+ content_type 'application/n-triples', :extension => :nt, :alias => ['text/plain']
20
20
  content_encoding 'utf-8'
21
21
 
22
22
  reader { RDF::NTriples::Reader }
@@ -44,5 +44,8 @@ module RDF::NTriples
44
44
  sample.match(%r(<(html|rdf))i) # Not HTML or XML
45
45
  ) && !RDF::NQuads::Format.detect(sample)
46
46
  end
47
+
48
+ # Human readable name for this format
49
+ def self.name; "N-Triples"; end
47
50
  end
48
51
  end
@@ -2,6 +2,10 @@ module RDF::NTriples
2
2
  ##
3
3
  # N-Triples serializer.
4
4
  #
5
+ # Output is serialized for UTF-8, to serialize as ASCII
6
+ # (with) unicode escapes, set :encoding => Encoding::ASCII as
7
+ # an option to {#initialize}.
8
+ #
5
9
  # @example Obtaining an NTriples writer class
6
10
  # RDF::Writer.for(:ntriples) #=> RDF::NTriples::Writer
7
11
  # RDF::Writer.for("etc/test.nt")
@@ -23,6 +27,13 @@ module RDF::NTriples
23
27
  # end
24
28
  # end
25
29
  #
30
+ # @example Serializing RDF statements into an NTriples string with escaped UTF-8
31
+ # RDF::NTriples::Writer.buffer(:encoding => Encoding::ASCII) do |writer|
32
+ # graph.each_statement do |statement|
33
+ # writer << statement
34
+ # end
35
+ # end
36
+ #
26
37
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
27
38
  class Writer < RDF::Writer
28
39
  format RDF::NTriples::Format
@@ -33,10 +44,11 @@ module RDF::NTriples
33
44
 
34
45
  ##
35
46
  # @param [String] string
47
+ # @param [Encoding] encoding Ruby 1.9 only
36
48
  # @return [String]
37
49
  # @see http://www.w3.org/TR/rdf-testcases/#ntrip_strings
38
- def self.escape(string)
39
- case
50
+ def self.escape(string, encoding = nil)
51
+ ret = case
40
52
  when string =~ ESCAPE_PLAIN # a shortcut for the simple case
41
53
  string
42
54
  when string.respond_to?(:ascii_only?) && string.ascii_only?
@@ -44,24 +56,43 @@ module RDF::NTriples
44
56
  string.each_byte { |u| buffer << escape_ascii(u) }
45
57
  buffer.string
46
58
  end
59
+ when string.respond_to?(:each_char) && encoding && encoding != Encoding::ASCII
60
+ # Not encoding UTF-8 characters
61
+ StringIO.open do |buffer|
62
+ string.each_char do |u|
63
+ buffer << case u.ord
64
+ when (0x00..0x7F)
65
+ escape_ascii(u)
66
+ else
67
+ u
68
+ end
69
+ end
70
+ buffer.string
71
+ end
47
72
  when string.respond_to?(:each_codepoint)
48
73
  StringIO.open do |buffer|
49
- string.each_codepoint { |u| buffer << escape_unicode(u) }
74
+ string.each_codepoint { |u| buffer << escape_unicode(u, encoding) }
50
75
  buffer.string
51
76
  end
52
77
  else # works in Ruby 1.8.x, too
53
78
  StringIO.open do |buffer|
54
- string.scan(/./mu) { |c| buffer << escape_unicode(u = c.unpack('U*').first) }
79
+ string.scan(/./mu) { |c| buffer << escape_unicode(u = c.unpack('U*').first, encoding) }
55
80
  buffer.string
56
81
  end
57
82
  end
83
+ ret.force_encoding(encoding) if ret.respond_to?(:force_encoding) && encoding
84
+ ret
58
85
  end
59
86
 
60
87
  ##
88
+ # Escape ascii and unicode characters.
89
+ # If encoding is UTF_8, only ascii characters are escaped.
90
+ #
61
91
  # @param [Integer, #ord] u
92
+ # @param [Encoding] encoding Ruby 1.9 only
62
93
  # @return [String]
63
94
  # @see http://www.w3.org/TR/rdf-testcases/#ntrip_strings
64
- def self.escape_unicode(u)
95
+ def self.escape_unicode(u, encoding)
65
96
  case (u = u.ord)
66
97
  when (0x00..0x7F) # ASCII 7-bit
67
98
  escape_ascii(u)
@@ -185,7 +216,7 @@ module RDF::NTriples
185
216
  ##
186
217
  # Returns the N-Triples representation of a URI reference.
187
218
  #
188
- # @param [RDF::URI] literal
219
+ # @param [RDF::URI] uri
189
220
  # @param [Hash{Symbol => Object}] options
190
221
  # @return [String]
191
222
  def format_uri(uri, options = {})
@@ -213,7 +244,7 @@ module RDF::NTriples
213
244
  ##
214
245
  # @private
215
246
  def escaped(string)
216
- self.class.escape(string)
247
+ self.class.escape(string, encoding)
217
248
  end
218
249
  end
219
250
  end
@@ -173,7 +173,7 @@ class RDF::Query
173
173
 
174
174
  ##
175
175
  # Compatible Mappings
176
- # Two solution mappings μ1 and μ2 are compatible if, for every variable v in dom(μ1) and in dom(μ2), μ1(v) = μ2(v).
176
+ # Two solution mappings u1 and u2 are compatible if, for every variable v in dom(u1) and in dom(u2), u1(v) = u2(v).
177
177
  #
178
178
  # @param [RDF::Query::Solution, #to_hash] other
179
179
  # another query solution or hash bindings
@@ -186,8 +186,8 @@ class RDF::Query
186
186
 
187
187
  ##
188
188
  # Isomorphic Mappings
189
- # Two solution mappings μ1 and μ2 are isomorphic if,
190
- # for every variable v in dom(μ1) and in dom(μ2), μ1(v) = μ2(v).
189
+ # Two solution mappings u1 and u2 are isomorphic if,
190
+ # for every variable v in dom(u1) and in dom(u2), u1(v) = u2(v).
191
191
  #
192
192
  # @param [RDF::Query::Solution, #to_hash] other
193
193
  # another query solution or hash bindings
@@ -128,6 +128,7 @@ module RDF
128
128
  format_options = options.dup
129
129
  format_options[:content_type] ||= file.content_type if file.respond_to?(:content_type)
130
130
  format_options[:file_name] ||= filename
131
+ options[:encoding] ||= file.encoding if file.respond_to?(:encoding)
131
132
  reader = self.for(format_options[:format] || format_options) do
132
133
  # Return a sample from the input file
133
134
  sample = file.read(1000)
@@ -417,7 +418,14 @@ module RDF
417
418
  #
418
419
  # @return [Encoding]
419
420
  def encoding
420
- @options[:encoding] ||= Encoding::UTF_8
421
+ case @options[:encoding]
422
+ when String, Symbol
423
+ Encoding.find(@options[:encoding].to_s)
424
+ when Encoding
425
+ @options[:encoding]
426
+ else
427
+ @options[:encoding] ||= Encoding.find(self.class.format.content_encoding.to_s)
428
+ end
421
429
  end
422
430
 
423
431
  ##
@@ -9,7 +9,7 @@ module RDF; module Util
9
9
  #
10
10
  # While this cache is something of an internal implementation detail of
11
11
  # RDF.rb, some external libraries do currently make use of it as well,
12
- # including [SPARQL::Algebra](http://sparql.rubyforge.org/algebra/) and
12
+ # including [SPARQL](http://ruby-rdf/sparql/) and
13
13
  # [Spira](http://spira.rubyforge.org/). Do be sure to include any changes
14
14
  # here in the RDF.rb changelog.
15
15
  #
@@ -54,34 +54,21 @@ module RDF; module Util
54
54
  @capacity.equal?(-1) || @capacity > @cache.size
55
55
  end
56
56
 
57
- ##
58
- # @param [Object] value
59
- # @return [void]
60
- def define_finalizer!(value)
61
- ObjectSpace.define_finalizer(value, finalizer)
62
- end
63
-
64
- ##
65
- # @return [Proc]
66
- def finalizer
67
- lambda { |object_id| @cache.delete(@index.delete(object_id)) }
68
- end
69
-
70
57
  ##
71
58
  # This implementation relies on `ObjectSpace#_id2ref` and performs
72
59
  # optimally on Ruby 1.8.x and 1.9.x; however, it does not work on JRuby
73
60
  # by default since much `ObjectSpace` functionality on that platform is
74
61
  # disabled unless the `-X+O` startup option is given.
75
62
  #
76
- # @see http://ruby-doc.org/ruby-1.9/classes/ObjectSpace.html
77
- # @see http://eigenclass.org/hiki/weakhash+and+weakref
63
+ # @see http://www.ruby-doc.org/core-1.9/ObjectSpace.html
64
+ # @see http://www.ruby-doc.org/stdlib-1.9.3/libdoc/weakref/rdoc/WeakRef.html
78
65
  class ObjectSpaceCache < Cache
79
66
  ##
80
67
  # @param [Object] key
81
68
  # @return [Object]
82
69
  def [](key)
83
70
  if value_id = @cache[key]
84
- value = ObjectSpace._id2ref(value_id) rescue nil
71
+ ObjectSpace._id2ref(value_id) rescue nil
85
72
  end
86
73
  end
87
74
 
@@ -91,9 +78,10 @@ module RDF; module Util
91
78
  # @return [Object]
92
79
  def []=(key, value)
93
80
  if has_capacity?
94
- @cache[key] = value.__id__
95
- @index[value.__id__] = key
96
- define_finalizer!(value)
81
+ id = value.__id__
82
+ @cache[key] = id
83
+ @index[id] = key
84
+ ObjectSpace.define_finalizer(value, proc {|id| @cache.delete(@index.delete(id))})
97
85
  end
98
86
  value
99
87
  end
@@ -117,8 +105,13 @@ module RDF; module Util
117
105
  # @param [Object] key
118
106
  # @return [Object]
119
107
  def [](key)
120
- if (ref = @cache[key]) && ref.weakref_alive?
121
- value = ref.__getobj__ rescue nil
108
+ if (ref = @cache[key])
109
+ if ref.weakref_alive?
110
+ value = ref.__getobj__ rescue nil
111
+ else
112
+ @cache.delete(key)
113
+ nil
114
+ end
122
115
  end
123
116
  end
124
117
 
@@ -129,8 +122,6 @@ module RDF; module Util
129
122
  def []=(key, value)
130
123
  if has_capacity?
131
124
  @cache[key] = WeakRef.new(value)
132
- @index[value.__id__] = key
133
- define_finalizer!(value)
134
125
  end
135
126
  value
136
127
  end
@@ -69,7 +69,7 @@ module RDF
69
69
  ##
70
70
  # Defines a vocabulary term called `property`.
71
71
  #
72
- # @param [Symbol]
72
+ # @param [Symbol] property
73
73
  # @return [void]
74
74
  def self.property(property)
75
75
  metaclass = class << self; self; end
@@ -132,7 +132,7 @@ module RDF
132
132
  undef_method(*(instance_methods.map(&:to_sym) - [:__id__, :__send__, :__class__, :__eval__, :object_id, :instance_eval, :inspect, :class, :is_a?]))
133
133
 
134
134
  ##
135
- # @param [RDF::URI, String, #to_s]
135
+ # @param [RDF::URI, String, #to_s] uri
136
136
  def initialize(uri)
137
137
  @uri = case uri
138
138
  when RDF::URI then uri.to_s
@@ -183,8 +183,9 @@ module RDF
183
183
  # the output stream
184
184
  # @param [Hash{Symbol => Object}] options
185
185
  # any additional options
186
- # @option options [Encoding] :encoding (Encoding::UTF_8)
187
- # the encoding to use on the output stream (Ruby 1.9+)
186
+ # @option options [Encoding, String, Symbol] :encoding
187
+ # the encoding to use on the output stream (Ruby 1.9+).
188
+ # Defaults to the format associated with `content_encoding`.
188
189
  # @option options [Boolean] :canonicalize (false)
189
190
  # whether to canonicalize literals when serializing
190
191
  # @option options [Hash] :prefixes (Hash.new)
@@ -278,6 +279,24 @@ module RDF
278
279
  end
279
280
  alias_method :prefix!, :prefix
280
281
 
282
+ ##
283
+ # Returns the encoding of the output stream.
284
+ #
285
+ # _Note: this method requires Ruby 1.9 or newer._
286
+ #
287
+ # @return [Encoding]
288
+ def encoding
289
+ return nil unless "".respond_to?(:force_encoding)
290
+ case @options[:encoding]
291
+ when String, Symbol
292
+ Encoding.find(@options[:encoding].to_s)
293
+ when Encoding
294
+ @options[:encoding]
295
+ else
296
+ @options[:encoding] ||= Encoding.find(self.class.format.content_encoding.to_s)
297
+ end
298
+ end
299
+
281
300
  ##
282
301
  # Flushes the underlying output buffer.
283
302
  #
metadata CHANGED
@@ -1,90 +1,97 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rdf
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.5.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 7
10
+ version: 0.3.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Arto Bendiken
9
14
  - Ben Lavender
10
15
  - Gregg Kellogg
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2012-04-05 00:00:00.000000000 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
19
+
20
+ date: 2012-06-17 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
17
23
  name: addressable
18
- requirement: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: 2.2.6
24
- type: :runtime
25
24
  prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
25
+ requirement: &id001 !ruby/object:Gem::Requirement
27
26
  none: false
28
- requirements:
29
- - - ! '>='
30
- - !ruby/object:Gem::Version
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 11
31
+ segments:
32
+ - 2
33
+ - 2
34
+ - 6
31
35
  version: 2.2.6
32
- - !ruby/object:Gem::Dependency
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
33
39
  name: yard
34
- requirement: !ruby/object:Gem::Requirement
35
- none: false
36
- requirements:
37
- - - ! '>='
38
- - !ruby/object:Gem::Version
39
- version: 0.7.5
40
- type: :development
41
40
  prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
41
+ requirement: &id002 !ruby/object:Gem::Requirement
43
42
  none: false
44
- requirements:
45
- - - ! '>='
46
- - !ruby/object:Gem::Version
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 9
47
+ segments:
48
+ - 0
49
+ - 7
50
+ - 5
47
51
  version: 0.7.5
48
- - !ruby/object:Gem::Dependency
49
- name: rdf-spec
50
- requirement: !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ~>
54
- - !ruby/object:Gem::Version
55
- version: 0.3.5
56
52
  type: :development
53
+ version_requirements: *id002
54
+ - !ruby/object:Gem::Dependency
55
+ name: rdf-spec
57
56
  prerelease: false
58
- version_requirements: !ruby/object:Gem::Requirement
57
+ requirement: &id003 !ruby/object:Gem::Requirement
59
58
  none: false
60
- requirements:
59
+ requirements:
61
60
  - - ~>
62
- - !ruby/object:Gem::Version
61
+ - !ruby/object:Gem::Version
62
+ hash: 25
63
+ segments:
64
+ - 0
65
+ - 3
66
+ - 5
63
67
  version: 0.3.5
64
- - !ruby/object:Gem::Dependency
65
- name: rspec
66
- requirement: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ! '>='
70
- - !ruby/object:Gem::Version
71
- version: 2.8.0
72
68
  type: :development
69
+ version_requirements: *id003
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
73
72
  prerelease: false
74
- version_requirements: !ruby/object:Gem::Requirement
73
+ requirement: &id004 !ruby/object:Gem::Requirement
75
74
  none: false
76
- requirements:
77
- - - ! '>='
78
- - !ruby/object:Gem::Version
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ hash: 47
79
+ segments:
80
+ - 2
81
+ - 8
82
+ - 0
79
83
  version: 2.8.0
80
- description: RDF.rb is a pure-Ruby library for working with Resource Description Framework
81
- (RDF) data.
84
+ type: :development
85
+ version_requirements: *id004
86
+ description: RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data.
82
87
  email: public-rdf-ruby@w3.org
83
- executables:
88
+ executables:
84
89
  - rdf
85
90
  extensions: []
91
+
86
92
  extra_rdoc_files: []
87
- files:
93
+
94
+ files:
88
95
  - AUTHORS
89
96
  - CREDITS
90
97
  - README
@@ -164,30 +171,41 @@ files:
164
171
  - lib/rdf/vocab.rb
165
172
  - lib/rdf/writer.rb
166
173
  - lib/rdf.rb
167
- homepage: http://rdf.rubyforge.org/
168
- licenses:
174
+ homepage: http://github.com/ruby-rdf/rdf
175
+ licenses:
169
176
  - Public Domain
170
177
  post_install_message:
171
178
  rdoc_options: []
172
- require_paths:
179
+
180
+ require_paths:
173
181
  - lib
174
- required_ruby_version: !ruby/object:Gem::Requirement
182
+ required_ruby_version: !ruby/object:Gem::Requirement
175
183
  none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ hash: 53
188
+ segments:
189
+ - 1
190
+ - 8
191
+ - 1
179
192
  version: 1.8.1
180
- required_rubygems_version: !ruby/object:Gem::Requirement
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
194
  none: false
182
- requirements:
183
- - - ! '>='
184
- - !ruby/object:Gem::Version
185
- version: '0'
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ hash: 3
199
+ segments:
200
+ - 0
201
+ version: "0"
186
202
  requirements: []
203
+
187
204
  rubyforge_project: rdf
188
- rubygems_version: 1.8.19
205
+ rubygems_version: 1.8.17
189
206
  signing_key:
190
207
  specification_version: 3
191
208
  summary: A Ruby library for working with Resource Description Framework (RDF) data.
192
209
  test_files: []
210
+
193
211
  has_rdoc: false