rdf-rdfa 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ee965e85dd926ed3e589cf755ea20739aa6a3b986e4de3370f5e789724bf5fa
4
- data.tar.gz: 04c338f8162e8babd2b2ea778addc94c3a9dc2bc187234143f01a4a43d0fcc06
3
+ metadata.gz: 5bdb70755898ce8bc3abeee0c7ed88456d187f1560842d004fcb15288de6cdbc
4
+ data.tar.gz: a7659c93eb5c51b652e67dc24f3cb9e1a5f6b3c948b501c055b0b93cdd1e1ff3
5
5
  SHA512:
6
- metadata.gz: 1f2de1849cbf79d49c76b06d0704102811289b0fbf111ca6c1e6c3cdc8d27bce97e7e4abd0c0c48d37cd8d3b850da88b57679b5d09ae097a1db53b4367b1f492
7
- data.tar.gz: 3da35c1f4471266312855178d74c30da57556c01a1628a482ad8eb5fda2aab09d985415c1aab5ff32cce3f3edb048d167405909e9b9a77d044eed94c5b3b2a59
6
+ metadata.gz: 752ced4f5c431a3affbb7847e7244bb82cd809f68c855d14d0c5adb09e57d190a5da3432d53caa1ca6941b0c55e3981d2767b759247b3eb2dba16c2368942b3c
7
+ data.tar.gz: d19b8da81d8930d53db82e17f4c8eb4fa1fe14e1aca7e0661980df999b820d57d7eb61ff22245b791074af01fcf9d2c78c5e377eee75ff319adbc80f00fdcd29
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.0.1
@@ -306,10 +306,10 @@ module RDF::RDFa
306
306
  case @host_language
307
307
  when :xhtml1, :xhtml5, :html4, :html5
308
308
  base_el = @doc.at_css("html>head>base")
309
- base = base_el.attribute("href").to_s.split("#").first if base_el
309
+ base = base.join(base_el.attribute("href").to_s.split("#").first) if base_el
310
310
  else
311
311
  xml_base = root.attribute_with_ns("base", RDF::XML.to_s) if root
312
- base = xml_base if xml_base
312
+ base = base.join(xml_base) if xml_base
313
313
  end
314
314
 
315
315
  base
@@ -329,10 +329,10 @@ module RDF::RDFa
329
329
  case @host_language
330
330
  when :xhtml1, :xhtml5, :html4, :html5
331
331
  base_el = ::REXML::XPath.first(@doc, "/html/head/base") rescue nil
332
- base = base_el.attribute("href").to_s.split("#").first if base_el
332
+ base = base.join(base_el.attribute("href").to_s.split("#").first) if base_el
333
333
  else
334
334
  xml_base = root.attribute("base", RDF::XML.to_s) if root
335
- base = xml_base if xml_base
335
+ base = base.join(xml_base) if xml_base
336
336
  end
337
337
 
338
338
  base || @base_uri
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.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: 2018-02-09 00:00:00.000000000 Z
12
+ date: 2018-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf