rdf-rdfa 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.yardopts +11 -0
- data/CONTRIBUTORS +1 -0
- data/History.txt +3 -0
- data/README.rdoc +21 -3
- data/Rakefile +4 -4
- data/VERSION +1 -1
- data/etc/basic.html +15 -0
- data/example.rb +13 -17
- data/lib/rdf/rdfa.rb +4 -11
- data/lib/rdf/rdfa/reader.rb +79 -128
- data/lib/rdf/rdfa/version.rb +16 -18
- data/lib/rdf/rdfa/vocab.rb +0 -1
- data/rdf-rdfa.gemspec +13 -11
- data/spec/matchers.rb +205 -0
- data/spec/rdfa_reader_spec.rb +449 -140
- metadata +18 -30
- data/lib/rdf/rdfa/reader/exceptions.rb +0 -14
metadata
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-rdfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gregg Kellogg
|
14
|
-
- Nicholas Humfrey
|
15
14
|
autorequire:
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-10 00:00:00 -04:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -51,26 +50,10 @@ dependencies:
|
|
51
50
|
version: 1.3.3
|
52
51
|
type: :runtime
|
53
52
|
version_requirements: *id002
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: patron
|
56
|
-
prerelease: false
|
57
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
hash: 3
|
63
|
-
segments:
|
64
|
-
- 0
|
65
|
-
- 4
|
66
|
-
- 6
|
67
|
-
version: 0.4.6
|
68
|
-
type: :runtime
|
69
|
-
version_requirements: *id003
|
70
53
|
- !ruby/object:Gem::Dependency
|
71
54
|
name: rspec
|
72
55
|
prerelease: false
|
73
|
-
requirement: &
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
74
57
|
none: false
|
75
58
|
requirements:
|
76
59
|
- - ">="
|
@@ -80,11 +63,11 @@ dependencies:
|
|
80
63
|
- 0
|
81
64
|
version: "0"
|
82
65
|
type: :development
|
83
|
-
version_requirements: *
|
66
|
+
version_requirements: *id003
|
84
67
|
- !ruby/object:Gem::Dependency
|
85
68
|
name: rdf-spec
|
86
69
|
prerelease: false
|
87
|
-
requirement: &
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
88
71
|
none: false
|
89
72
|
requirements:
|
90
73
|
- - ">="
|
@@ -94,11 +77,11 @@ dependencies:
|
|
94
77
|
- 0
|
95
78
|
version: "0"
|
96
79
|
type: :development
|
97
|
-
version_requirements: *
|
80
|
+
version_requirements: *id004
|
98
81
|
- !ruby/object:Gem::Dependency
|
99
82
|
name: activesupport
|
100
83
|
prerelease: false
|
101
|
-
requirement: &
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
102
85
|
none: false
|
103
86
|
requirements:
|
104
87
|
- - ">="
|
@@ -110,8 +93,8 @@ dependencies:
|
|
110
93
|
- 0
|
111
94
|
version: 2.3.0
|
112
95
|
type: :development
|
113
|
-
version_requirements: *
|
114
|
-
description: " RDF::RDFa is an RDFa
|
96
|
+
version_requirements: *id005
|
97
|
+
description: " RDF::RDFa is an RDFa reader for Ruby using the RDF.rb library suite.\n"
|
115
98
|
email: gregg@kellogg-assoc.com
|
116
99
|
executables: []
|
117
100
|
|
@@ -122,23 +105,27 @@ extra_rdoc_files:
|
|
122
105
|
- History.txt
|
123
106
|
- README.rdoc
|
124
107
|
files:
|
108
|
+
- .gitignore
|
109
|
+
- .yardopts
|
125
110
|
- AUTHORS
|
111
|
+
- CONTRIBUTORS
|
126
112
|
- History.txt
|
127
113
|
- README.rdoc
|
128
114
|
- Rakefile
|
129
115
|
- VERSION
|
116
|
+
- etc/basic.html
|
130
117
|
- etc/foaf.html
|
131
118
|
- etc/xhv.html
|
132
119
|
- example.rb
|
133
120
|
- lib/rdf/rdfa.rb
|
134
121
|
- lib/rdf/rdfa/format.rb
|
135
122
|
- lib/rdf/rdfa/reader.rb
|
136
|
-
- lib/rdf/rdfa/reader/exceptions.rb
|
137
123
|
- lib/rdf/rdfa/version.rb
|
138
124
|
- lib/rdf/rdfa/vocab.rb
|
139
125
|
- pkg/.gitignore
|
140
126
|
- rdf-rdfa.gemspec
|
141
127
|
- script/console
|
128
|
+
- spec/matchers.rb
|
142
129
|
- spec/rdfa-triples/0001.nt
|
143
130
|
- spec/rdfa-triples/0006.nt
|
144
131
|
- spec/rdfa-triples/0007.nt
|
@@ -288,8 +275,9 @@ rubyforge_project:
|
|
288
275
|
rubygems_version: 1.3.7
|
289
276
|
signing_key:
|
290
277
|
specification_version: 3
|
291
|
-
summary: RDFa
|
278
|
+
summary: RDFa reader for RDF.rb.
|
292
279
|
test_files:
|
280
|
+
- spec/matchers.rb
|
293
281
|
- spec/rdfa_helper.rb
|
294
282
|
- spec/rdfa_reader_spec.rb
|
295
283
|
- spec/spec_helper.rb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
module RDF::RDFa
|
2
|
-
class RdfException < RuntimeError; end
|
3
|
-
|
4
|
-
class ParserException < RdfException; end
|
5
|
-
class SparqlException < RdfException; end
|
6
|
-
class GraphException < RdfException; end
|
7
|
-
class StoreException < RdfException; end
|
8
|
-
class BNodeException < RdfException; end
|
9
|
-
class TypeError < RdfException; end
|
10
|
-
class InvalidNode < RdfException; end
|
11
|
-
class InvalidPredicate < RdfException; end
|
12
|
-
|
13
|
-
class ReadOnlyGraphException < GraphException; end
|
14
|
-
end
|