rdf-rdfxml 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YzgyZDI3YzU1ZWM1MDc2YWQxNGYwNWMxZDQ1Mzk2ZDZiZDA1ZDI4Ng==
5
+ data.tar.gz: !binary |-
6
+ YmJlMzIwNjIxOTEwMzQxMGYxYWZkOWYwMjNlYTkwNDU3MjhiMzg2OQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OWQwMjljYmExMzE3MDljNTk1YTI1MDJmZTc4MTk2NmU1ZDI3MzRjNzdmNzIz
10
+ MDFmODI2NjhmZjc1NWIwMmM4OTE1OGRkZTU3NDg1YWY4YmIyNmRiOWViNTIy
11
+ ZjkyNWVhYjU1NDJiODJkNjE1ZmZhMjE5Y2I0NDY1NGQwYzdjNDE=
12
+ data.tar.gz: !binary |-
13
+ MmUzNmQ4NjA1MGMwNmRkZGEyMWZjZTNmYTM2YmIxN2VlNDA0YjZlOTc4ODAw
14
+ M2U5NmUzYzZkMmU0NGZjM2NmYTExMDJjYmI2YzBhOGEwNjE4YWRhMjcxOWQ1
15
+ ZTAxNjQ2NDYzYTE4YmM4Y2U3MGQzMThhZTczNWVjZTMwYWNkMDE=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -95,9 +95,7 @@ module RDF::RDFXML
95
95
 
96
96
  # Set XML base. Ignore any fragment
97
97
  def base=(b)
98
- base = Addressable::URI.parse(b)
99
- base.fragment = nil
100
- @base = RDF::URI.intern(base)
98
+ @base = RDF::URI.intern(b.to_s.split('#').first)
101
99
  end
102
100
 
103
101
  def inspect
@@ -237,7 +237,7 @@ module RDF::RDFXML
237
237
 
238
238
  add_debug {"qname(#{resource.inspect}): #{qname.inspect}"}
239
239
  @uri_to_qname[uri] = qname
240
- rescue Addressable::URI::InvalidURIError => e
240
+ rescue ArgumentError => e
241
241
  raise RDF::WriterError, "Invalid URI #{uri.inspect}: #{e.message}"
242
242
  end
243
243
 
metadata CHANGED
@@ -1,199 +1,204 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfxml
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Gregg
14
8
  - Kellogg
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2013-01-19 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2013-04-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: rdf
23
- prerelease: false
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"
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ! '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
34
21
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rdf-xsd
38
22
  prerelease: false
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"
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ! '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '1.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rdf-xsd
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
49
35
  type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: nokogiri
53
36
  prerelease: false
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
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '1.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: nokogiri
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
64
48
  version: 1.5.5
65
49
  type: :development
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: equivalent-xml
69
50
  prerelease: false
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
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.5.5
56
+ - !ruby/object:Gem::Dependency
57
+ name: equivalent-xml
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
80
62
  version: 0.2.8
81
63
  type: :development
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: open-uri-cached
85
64
  prerelease: false
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
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 0.2.8
70
+ - !ruby/object:Gem::Dependency
71
+ name: open-uri-cached
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
96
76
  version: 0.0.5
97
77
  type: :development
98
- version_requirements: *id005
99
- - !ruby/object:Gem::Dependency
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: 0.0.5
84
+ - !ruby/object:Gem::Dependency
100
85
  name: spira
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 0.0.12
91
+ type: :development
101
92
  prerelease: false
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"
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '='
96
+ - !ruby/object:Gem::Version
97
+ version: 0.0.12
98
+ - !ruby/object:Gem::Dependency
99
+ name: rake
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
111
105
  type: :development
112
- version_requirements: *id006
113
- - !ruby/object:Gem::Dependency
114
- name: rspec
115
106
  prerelease: false
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
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: rspec
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
126
118
  version: 2.12.0
127
119
  type: :development
128
- version_requirements: *id007
129
- - !ruby/object:Gem::Dependency
130
- name: rdf-isomorphic
131
120
  prerelease: false
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"
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 2.12.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: rdf-isomorphic
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
141
133
  type: :development
142
- version_requirements: *id008
143
- - !ruby/object:Gem::Dependency
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ! '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
144
141
  name: rdf-n3
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :development
145
148
  prerelease: false
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"
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: rdf-turtle
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
155
161
  type: :development
156
- version_requirements: *id009
157
- - !ruby/object:Gem::Dependency
158
- name: rdf-spec
159
162
  prerelease: false
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"
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ! '>='
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: rdf-spec
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '1.0'
170
175
  type: :development
171
- version_requirements: *id010
172
- - !ruby/object:Gem::Dependency
173
- name: yard
174
176
  prerelease: false
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
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '1.0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: yard
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
185
188
  version: 0.8.3
186
189
  type: :development
187
- version_requirements: *id011
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ! '>='
194
+ - !ruby/object:Gem::Version
195
+ version: 0.8.3
188
196
  description: RDF::RDFXML is an RDF/XML reader and writer for the RDF.rb library suite.
189
197
  email: public-rdf-ruby@w3.org
190
198
  executables: []
191
-
192
199
  extensions: []
193
-
194
200
  extra_rdoc_files: []
195
-
196
- files:
201
+ files:
197
202
  - README.markdown
198
203
  - History.markdown
199
204
  - AUTHORS
@@ -211,41 +216,29 @@ files:
211
216
  - lib/rdf/rdfxml/vocab.rb
212
217
  - lib/rdf/rdfxml/writer.rb
213
218
  - lib/rdf/rdfxml.rb
214
- homepage: http://github.com/ruby-rdf/rdf-rdfxml
215
- licenses:
219
+ homepage: http://ruby-rdf.github.com/rdf-rdfxml
220
+ licenses:
216
221
  - Public Domain
222
+ metadata: {}
217
223
  post_install_message:
218
224
  rdoc_options: []
219
-
220
- require_paths:
225
+ require_paths:
221
226
  - lib
222
- required_ruby_version: !ruby/object:Gem::Requirement
223
- none: false
224
- requirements:
225
- - - ">="
226
- - !ruby/object:Gem::Version
227
- hash: 53
228
- segments:
229
- - 1
230
- - 8
231
- - 1
227
+ required_ruby_version: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - ! '>='
230
+ - !ruby/object:Gem::Version
232
231
  version: 1.8.1
233
- required_rubygems_version: !ruby/object:Gem::Requirement
234
- none: false
235
- requirements:
236
- - - ">="
237
- - !ruby/object:Gem::Version
238
- hash: 3
239
- segments:
240
- - 0
241
- version: "0"
232
+ required_rubygems_version: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ! '>='
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
242
237
  requirements: []
243
-
244
238
  rubyforge_project: rdf-rdfxml
245
- rubygems_version: 1.8.24
239
+ rubygems_version: 2.0.3
246
240
  signing_key:
247
- specification_version: 3
241
+ specification_version: 4
248
242
  summary: RDF/XML reader/writer for RDF.rb.
249
243
  test_files: []
250
-
251
244
  has_rdoc: false