rdf-rdfxml 3.1.1 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d78b045742a7ce1dcdc9cf7c25130db97bb5b6ad5c8107c725f1a1fd237eaaa
4
- data.tar.gz: 01cc1867ba1b6d8c60e295c9f9726cc31452d99834038d4c8318f1aade2c7bed
3
+ metadata.gz: dfa748c97db5ab4bb41a371438ff9b948da9e283be1ca9236c22011c1063ef4a
4
+ data.tar.gz: 9728665fbc8e96663b2f43761d78b997dd0514f77ff58bbeb178fc9a295ccc5e
5
5
  SHA512:
6
- metadata.gz: f54dfe13e5296e938b30b461f889aa2f78f3b5b76bff54f5c1a3393b94d84f66f36f47b461531a5948089e1baac899f973315c88e099341d1d85dd68df8ee253
7
- data.tar.gz: ed0b13aa3345e47438bbab0d036bcaf248d80e5a46c70a22eb39a45520846002f911ef6b7bde7dcdbdb3c3c6412008ca26ff7189054404e7123481b9d5801285
6
+ metadata.gz: ba53a0163d5d8b3fa8c6023afcdec46348336df48f69a6f4a8a388eefeba0450adedd6a3525666afb8e6dcb789e30a9d10fcbda8b09f3df2833c28e27d126ced
7
+ data.tar.gz: 736215a450c7efe0ba7c94c8f96c1bfc0cf1412af4019e36e7cb962106f7b47144fb635b65236a23e1e8ebf141c8970ef0200f8684b231406715aeddceab02d0
data/README.md CHANGED
@@ -20,7 +20,7 @@ Install with `gem install rdf-rdfxml`
20
20
 
21
21
  * 100% free and unencumbered [public domain](https://unlicense.org/) software.
22
22
  * Implements a complete parser for [RDF/XML][].
23
- * Compatible with Ruby >= 2.4.
23
+ * Compatible with Ruby >= 2.6.
24
24
 
25
25
  ## Usage:
26
26
  Instantiate a parser and parse source, specifying type and base-URL
@@ -42,8 +42,9 @@ Write a graph to a file:
42
42
  end
43
43
 
44
44
  ## Dependencies
45
- * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1)
46
- * Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (>= 1.10)
45
+ * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
46
+ * [Haml](https://rubygems.org/gems/haml) (~>- 5.2)
47
+ * Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (>= 1.12)
47
48
 
48
49
  ## Documentation
49
50
  Full documentation available on [Rubydoc.info][RDF/XML doc])
@@ -54,12 +55,6 @@ Full documentation available on [Rubydoc.info][RDF/XML doc])
54
55
  * {RDF::RDFXML::Reader}
55
56
  * {RDF::RDFXML::Writer}
56
57
 
57
- ### Additional vocabularies
58
- * {RDF::XML}
59
-
60
- ## TODO
61
- * Consider a SAX-based parser for improved performance
62
-
63
58
  ## Resources
64
59
  * [RDF.rb][RDF.rb]
65
60
  * [RDF/XML][RDF/XML]
@@ -109,4 +104,5 @@ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
109
104
  [YARD]: https://yardoc.org/
110
105
  [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
111
106
  [PDD]: https://unlicense.org/#unlicensing-contributions
112
- [RDF/XML doc]: https://rubydoc.info/github/ruby-rdf/rdf-rdfxml/master/frames
107
+ [RDF/XML doc]: https://ruby-rdf.github.io/rdf-rdfxml/master/frames
108
+ [RDF-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.1
1
+ 3.2.1
@@ -20,7 +20,9 @@ module RDF::RDFXML
20
20
  #
21
21
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
22
22
  class Format < RDF::Format
23
- content_type 'application/rdf+xml', extensions: [:rdf, :owl]
23
+ content_type 'application/rdf+xml',
24
+ extensions: [:rdf, :owl],
25
+ uri: 'http://www.w3.org/ns/formats/RDF_XML'
24
26
  content_encoding 'utf-8'
25
27
 
26
28
  reader { RDF::RDFXML::Reader }
@@ -25,7 +25,7 @@ module RDF::RDFXML
25
25
 
26
26
  # Create a new element child of an existing node
27
27
  def create_node(name, children)
28
- native = ::Nokogiri::XML::Element.new(name, @node)
28
+ native = ::Nokogiri::XML::Element.new(name, @node.document)
29
29
  children.each do |c|
30
30
  native.add_child(c.node)
31
31
  end
@@ -55,7 +55,7 @@ module RDF::RDFXML
55
55
 
56
56
  ##
57
57
  # RDF/XML Writer options
58
- # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Writer#options-class_method
58
+ # @see https://ruby-rdf.github.io/rdf/RDF/Writer#options-class_method
59
59
  def self.options
60
60
  super + [
61
61
  RDF::CLI::Option.new(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-14 00:00:00.000000000 Z
12
+ date: 2023-04-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
@@ -17,42 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '3.1'
20
+ version: '3.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '3.1'
27
+ version: '3.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rdf-xsd
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '3.1'
34
+ version: '3.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '3.1'
41
+ version: '3.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rdf-rdfa
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '3.1'
48
+ version: '3.2'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '3.1'
55
+ version: '3.2'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: htmlentities
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -67,20 +67,34 @@ dependencies:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '4.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: haml
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '5.2'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '5.2'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: json-ld
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
88
  - - ">="
75
89
  - !ruby/object:Gem::Version
76
- version: '3.1'
90
+ version: '3.2'
77
91
  type: :development
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - ">="
82
96
  - !ruby/object:Gem::Version
83
- version: '3.1'
97
+ version: '3.2'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: rspec
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -115,56 +129,56 @@ dependencies:
115
129
  requirements:
116
130
  - - "~>"
117
131
  - !ruby/object:Gem::Version
118
- version: '3.1'
132
+ version: '3.2'
119
133
  type: :development
120
134
  prerelease: false
121
135
  version_requirements: !ruby/object:Gem::Requirement
122
136
  requirements:
123
137
  - - "~>"
124
138
  - !ruby/object:Gem::Version
125
- version: '3.1'
139
+ version: '3.2'
126
140
  - !ruby/object:Gem::Dependency
127
141
  name: rdf-turtle
128
142
  requirement: !ruby/object:Gem::Requirement
129
143
  requirements:
130
144
  - - "~>"
131
145
  - !ruby/object:Gem::Version
132
- version: '3.1'
146
+ version: '3.2'
133
147
  type: :development
134
148
  prerelease: false
135
149
  version_requirements: !ruby/object:Gem::Requirement
136
150
  requirements:
137
151
  - - "~>"
138
152
  - !ruby/object:Gem::Version
139
- version: '3.1'
153
+ version: '3.2'
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: rdf-spec
142
156
  requirement: !ruby/object:Gem::Requirement
143
157
  requirements:
144
158
  - - "~>"
145
159
  - !ruby/object:Gem::Version
146
- version: '3.1'
160
+ version: '3.2'
147
161
  type: :development
148
162
  prerelease: false
149
163
  version_requirements: !ruby/object:Gem::Requirement
150
164
  requirements:
151
165
  - - "~>"
152
166
  - !ruby/object:Gem::Version
153
- version: '3.1'
167
+ version: '3.2'
154
168
  - !ruby/object:Gem::Dependency
155
169
  name: rdf-vocab
156
170
  requirement: !ruby/object:Gem::Requirement
157
171
  requirements:
158
172
  - - "~>"
159
173
  - !ruby/object:Gem::Version
160
- version: '3.1'
174
+ version: '3.2'
161
175
  type: :development
162
176
  prerelease: false
163
177
  version_requirements: !ruby/object:Gem::Requirement
164
178
  requirements:
165
179
  - - "~>"
166
180
  - !ruby/object:Gem::Version
167
- version: '3.1'
181
+ version: '3.2'
168
182
  - !ruby/object:Gem::Dependency
169
183
  name: yard
170
184
  requirement: !ruby/object:Gem::Requirement
@@ -203,7 +217,12 @@ files:
203
217
  homepage: https://github.com/ruby-rdf/rdf-rdfxml
204
218
  licenses:
205
219
  - Unlicense
206
- metadata: {}
220
+ metadata:
221
+ documentation_uri: https://ruby-rdf.github.io/rdf-rdfxml
222
+ bug_tracker_uri: https://github.com/ruby-rdf/rdf-rdfxml/issues
223
+ homepage_uri: https://github.com/ruby-rdf/rdf-rdfxml
224
+ mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
225
+ source_code_uri: https://github.com/ruby-rdf/rdf-rdfxml
207
226
  post_install_message:
208
227
  rdoc_options: []
209
228
  require_paths:
@@ -212,14 +231,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
231
  requirements:
213
232
  - - ">="
214
233
  - !ruby/object:Gem::Version
215
- version: '2.4'
234
+ version: '2.6'
216
235
  required_rubygems_version: !ruby/object:Gem::Requirement
217
236
  requirements:
218
237
  - - ">="
219
238
  - !ruby/object:Gem::Version
220
239
  version: '0'
221
240
  requirements: []
222
- rubygems_version: 3.2.3
241
+ rubygems_version: 3.4.6
223
242
  signing_key:
224
243
  specification_version: 4
225
244
  summary: RDF/XML reader/writer for RDF.rb.