rdf-rdfxml 0.3.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ Instantiate a parser and parse source, specifying type and base-URL
23
23
  end
24
24
 
25
25
  ## Dependencies
26
- * [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.4)
26
+ * [RDF.rb](http://rubygems.org/gems/rdf) (>= 1.0)
27
27
  * Soft dependency on [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.5.0)
28
28
  * Does not run properly on jRuby due to [Nokogiri][] issues.
29
29
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.9
1
+ 1.0.0
@@ -49,6 +49,8 @@ module RDF::RDFXML
49
49
  # RDF::Format.for(:rdf).reader # RDF::RDFXML::Reader
50
50
  # RDF::Format.for(:rdf).writer # RDF::RDFXML::Writer
51
51
  class RDFFormat < RDF::Format
52
+ content_type 'application/rdf+xml'
53
+ content_encoding 'utf-8'
52
54
  reader { RDF::RDFXML::Reader }
53
55
  writer { RDF::RDFXML::Writer }
54
56
 
@@ -22,11 +22,11 @@ module RDF::RDFXML
22
22
  # @private
23
23
  class EvaluationContext
24
24
  attr_reader :base
25
- attr :subject, true
26
- attr :uri_mappings, true
27
- attr :language, true
28
- attr :graph, true
29
- attr :li_counter, true
25
+ attr_accessor :subject
26
+ attr_accessor :uri_mappings
27
+ attr_accessor :language
28
+ attr_accessor :graph
29
+ attr_accessor :li_counter
30
30
 
31
31
  def initialize(base, element, graph, &cb)
32
32
  # Initialize the evaluation context, [5.1]
@@ -109,7 +109,8 @@ module RDF::RDFXML
109
109
 
110
110
  # Returns the XML implementation module for this reader instance.
111
111
  #
112
- # @attr_reader [Module]
112
+ # @!attribute [r] implementation
113
+ # @return [Module]
113
114
  attr_reader :implementation
114
115
 
115
116
  ##
metadata CHANGED
@@ -1,199 +1,199 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfxml
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.9
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Gregg
9
14
  - Kellogg
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2012-11-30 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2013-01-19 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: rdf
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: 0.3.11
23
- type: :runtime
24
23
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: 0.3.11
31
- - !ruby/object:Gem::Dependency
32
- name: rdf-xsd
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: 0.3.8
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 1
32
+ - 0
33
+ version: "1.0"
39
34
  type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: rdf-xsd
40
38
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: 0.3.8
47
- - !ruby/object:Gem::Dependency
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 15
45
+ segments:
46
+ - 1
47
+ - 0
48
+ version: "1.0"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
48
52
  name: nokogiri
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: 1.5.5
55
- type: :development
56
53
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 9
60
+ segments:
61
+ - 1
62
+ - 5
63
+ - 5
62
64
  version: 1.5.5
63
- - !ruby/object:Gem::Dependency
64
- name: equivalent-xml
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
70
- version: 0.2.8
71
65
  type: :development
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: equivalent-xml
72
69
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 7
76
+ segments:
77
+ - 0
78
+ - 2
79
+ - 8
78
80
  version: 0.2.8
79
- - !ruby/object:Gem::Dependency
80
- name: open-uri-cached
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ! '>='
85
- - !ruby/object:Gem::Version
86
- version: 0.0.4
87
81
  type: :development
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: open-uri-cached
88
85
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: 0.0.4
95
- - !ruby/object:Gem::Dependency
96
- name: spira
97
- requirement: !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ! '>='
101
- - !ruby/object:Gem::Version
102
- version: 0.0.12
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ hash: 21
92
+ segments:
93
+ - 0
94
+ - 0
95
+ - 5
96
+ version: 0.0.5
103
97
  type: :development
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ name: spira
104
101
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: 0.0.12
111
- - !ruby/object:Gem::Dependency
112
- name: rspec
113
- requirement: !ruby/object:Gem::Requirement
114
- none: false
115
- requirements:
116
- - - ! '>='
117
- - !ruby/object:Gem::Version
118
- version: 2.12.0
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 3
108
+ segments:
109
+ - 0
110
+ version: "0"
119
111
  type: :development
112
+ version_requirements: *id006
113
+ - !ruby/object:Gem::Dependency
114
+ name: rspec
120
115
  prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
- requirements:
124
- - - ! '>='
125
- - !ruby/object:Gem::Version
116
+ requirement: &id007 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ hash: 63
122
+ segments:
123
+ - 2
124
+ - 12
125
+ - 0
126
126
  version: 2.12.0
127
- - !ruby/object:Gem::Dependency
128
- name: rdf-isomorphic
129
- requirement: !ruby/object:Gem::Requirement
130
- none: false
131
- requirements:
132
- - - ! '>='
133
- - !ruby/object:Gem::Version
134
- version: 0.3.4
135
127
  type: :development
128
+ version_requirements: *id007
129
+ - !ruby/object:Gem::Dependency
130
+ name: rdf-isomorphic
136
131
  prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ! '>='
141
- - !ruby/object:Gem::Version
142
- version: 0.3.4
143
- - !ruby/object:Gem::Dependency
144
- name: rdf-n3
145
- requirement: !ruby/object:Gem::Requirement
146
- none: false
147
- requirements:
148
- - - ! '>='
149
- - !ruby/object:Gem::Version
150
- version: 0.3.7
132
+ requirement: &id008 !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ hash: 3
138
+ segments:
139
+ - 0
140
+ version: "0"
151
141
  type: :development
142
+ version_requirements: *id008
143
+ - !ruby/object:Gem::Dependency
144
+ name: rdf-n3
152
145
  prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ! '>='
157
- - !ruby/object:Gem::Version
158
- version: 0.3.7
159
- - !ruby/object:Gem::Dependency
160
- name: rdf-spec
161
- requirement: !ruby/object:Gem::Requirement
162
- none: false
163
- requirements:
164
- - - ! '>='
165
- - !ruby/object:Gem::Version
166
- version: 0.3.11
146
+ requirement: &id009 !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 0
154
+ version: "0"
167
155
  type: :development
156
+ version_requirements: *id009
157
+ - !ruby/object:Gem::Dependency
158
+ name: rdf-spec
168
159
  prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ! '>='
173
- - !ruby/object:Gem::Version
174
- version: 0.3.11
175
- - !ruby/object:Gem::Dependency
176
- name: yard
177
- requirement: !ruby/object:Gem::Requirement
178
- none: false
179
- requirements:
180
- - - ! '>='
181
- - !ruby/object:Gem::Version
182
- version: 0.8.3
160
+ requirement: &id010 !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ hash: 15
166
+ segments:
167
+ - 1
168
+ - 0
169
+ version: "1.0"
183
170
  type: :development
171
+ version_requirements: *id010
172
+ - !ruby/object:Gem::Dependency
173
+ name: yard
184
174
  prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
- requirements:
188
- - - ! '>='
189
- - !ruby/object:Gem::Version
175
+ requirement: &id011 !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 57
181
+ segments:
182
+ - 0
183
+ - 8
184
+ - 3
190
185
  version: 0.8.3
186
+ type: :development
187
+ version_requirements: *id011
191
188
  description: RDF::RDFXML is an RDF/XML reader and writer for the RDF.rb library suite.
192
189
  email: public-rdf-ruby@w3.org
193
190
  executables: []
191
+
194
192
  extensions: []
193
+
195
194
  extra_rdoc_files: []
196
- files:
195
+
196
+ files:
197
197
  - README.markdown
198
198
  - History.markdown
199
199
  - AUTHORS
@@ -212,29 +212,40 @@ files:
212
212
  - lib/rdf/rdfxml/writer.rb
213
213
  - lib/rdf/rdfxml.rb
214
214
  homepage: http://github.com/ruby-rdf/rdf-rdfxml
215
- licenses:
215
+ licenses:
216
216
  - Public Domain
217
217
  post_install_message:
218
218
  rdoc_options: []
219
- require_paths:
219
+
220
+ require_paths:
220
221
  - lib
221
- required_ruby_version: !ruby/object:Gem::Requirement
222
+ required_ruby_version: !ruby/object:Gem::Requirement
222
223
  none: false
223
- requirements:
224
- - - ! '>='
225
- - !ruby/object:Gem::Version
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ hash: 53
228
+ segments:
229
+ - 1
230
+ - 8
231
+ - 1
226
232
  version: 1.8.1
227
- required_rubygems_version: !ruby/object:Gem::Requirement
233
+ required_rubygems_version: !ruby/object:Gem::Requirement
228
234
  none: false
229
- requirements:
230
- - - ! '>='
231
- - !ruby/object:Gem::Version
232
- version: '0'
235
+ requirements:
236
+ - - ">="
237
+ - !ruby/object:Gem::Version
238
+ hash: 3
239
+ segments:
240
+ - 0
241
+ version: "0"
233
242
  requirements: []
243
+
234
244
  rubyforge_project: rdf-rdfxml
235
245
  rubygems_version: 1.8.24
236
246
  signing_key:
237
247
  specification_version: 3
238
248
  summary: RDF/XML reader/writer for RDF.rb.
239
249
  test_files: []
250
+
240
251
  has_rdoc: false