rdf-rdfxml 3.2.0 → 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: a96523958077fe5163fbef8f4b68daabdd795f311b213c23a509f4847ff5ca8e
4
- data.tar.gz: 6c5180a2cc088857c4e0b984ca32d43451d85ff906f84d9bf52a001445fd50c9
3
+ metadata.gz: dfa748c97db5ab4bb41a371438ff9b948da9e283be1ca9236c22011c1063ef4a
4
+ data.tar.gz: 9728665fbc8e96663b2f43761d78b997dd0514f77ff58bbeb178fc9a295ccc5e
5
5
  SHA512:
6
- metadata.gz: 73b19eaa58dfa6c7263112ffc64bbc204b2d28c5afc00ddedc9a0d8b99edc736da11d3d00faa2e6b98b840cccee5e5d3e59f5aa090210b368e09c5d73c3f288f
7
- data.tar.gz: 8e71648aa0ca0d4a5b182f60bd9e958975cde89b2604af6c1a89c9c20fafa1f36599a69628421c9400052ae72ce7fd4b08aa556f4b70cd082a75e59e64fe641c
6
+ metadata.gz: ba53a0163d5d8b3fa8c6023afcdec46348336df48f69a6f4a8a388eefeba0450adedd6a3525666afb8e6dcb789e30a9d10fcbda8b09f3df2833c28e27d126ced
7
+ data.tar.gz: 736215a450c7efe0ba7c94c8f96c1bfc0cf1412af4019e36e7cb962106f7b47144fb635b65236a23e1e8ebf141c8970ef0200f8684b231406715aeddceab02d0
data/README.md CHANGED
@@ -43,6 +43,7 @@ Write a graph to a file:
43
43
 
44
44
  ## Dependencies
45
45
  * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
46
+ * [Haml](https://rubygems.org/gems/haml) (~>- 5.2)
46
47
  * Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (>= 1.12)
47
48
 
48
49
  ## Documentation
@@ -103,5 +104,5 @@ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
103
104
  [YARD]: https://yardoc.org/
104
105
  [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
105
106
  [PDD]: https://unlicense.org/#unlicensing-contributions
106
- [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
107
108
  [RDF-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0
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.2.0
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-12-08 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
@@ -67,6 +67,20 @@ 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
@@ -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:
@@ -219,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
238
  - !ruby/object:Gem::Version
220
239
  version: '0'
221
240
  requirements: []
222
- rubygems_version: 3.3.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.