rdf-rdfa 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/rdfa/reader/nokogiri.rb +2 -2
- data/lib/rdf/rdfa/reader/rexml.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bdb70755898ce8bc3abeee0c7ed88456d187f1560842d004fcb15288de6cdbc
|
4
|
+
data.tar.gz: a7659c93eb5c51b652e67dc24f3cb9e1a5f6b3c948b501c055b0b93cdd1e1ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752ced4f5c431a3affbb7847e7244bb82cd809f68c855d14d0c5adb09e57d190a5da3432d53caa1ca6941b0c55e3981d2767b759247b3eb2dba16c2368942b3c
|
7
|
+
data.tar.gz: d19b8da81d8930d53db82e17f4c8eb4fa1fe14e1aca7e0661980df999b820d57d7eb61ff22245b791074af01fcf9d2c78c5e377eee75ff319adbc80f00fdcd29
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.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.
|
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-
|
12
|
+
date: 2018-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|