jekyll-rdf 3.0.0.pre.develop.537 → 3.0.0.pre.develop.544
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/filters/rdf_sparql_query.rb +2 -2
- data/lib/jekyll/helper/rdf_page_helper.rb +4 -1
- 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: 16d718822696064b4dd9770ab9ca577a0d2a5c25b033647ade9421457346278d
|
4
|
+
data.tar.gz: 98d984c2c0c7800e8192c0fa955bdf27c52c69c3263b879acd02a233e282a899
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aef044d8cc5984e3e52e5a53fd5319a872b402eca70189a51949c90846351565b9c2e7a53617a6015bfe63d9bf3100a52cad236c57dae2c75dc049fe42dc8bed
|
7
|
+
data.tar.gz: 50f02fa377d226b842f9297cb10148d39aed2322053cb90d300f12489c6c7e955c2fdd14ae8bcc96f5030a4506b81348d2df6af4c009d3047edea41ec9ba2e61
|
@@ -54,8 +54,8 @@ module Jekyll
|
|
54
54
|
return unless valid_resource?(resource)
|
55
55
|
query.gsub!('?resourceUri', to_string_wrap(resource))
|
56
56
|
end if query.include? '?resourceUri' #the only purpose of the if statement is to substitute ?resourceUri
|
57
|
-
|
58
|
-
query = query.prepend(" ").prepend(Jekyll::JekyllRdf::Helper::RdfHelper::
|
57
|
+
unless Jekyll::JekyllRdf::Helper::RdfHelper::prefixes["rdf_prefixes"].nil?
|
58
|
+
query = query.prepend(" ").prepend(Jekyll::JekyllRdf::Helper::RdfHelper::prefixes["rdf_prefixes"])
|
59
59
|
end
|
60
60
|
begin
|
61
61
|
result = Jekyll::JekyllRdf::Helper::RdfHelper::sparql.query(query).map do |solution|
|
@@ -53,7 +53,10 @@ module Jekyll
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def read_yaml(base, name, opts = {})
|
56
|
-
|
56
|
+
begin
|
57
|
+
template = @site.layouts[Jekyll::JekyllRdf::Helper::RdfPageHelper.template(true)] #load actual template
|
58
|
+
@path = template.path unless template.nil?
|
59
|
+
end unless Jekyll::JekyllRdf::Helper::RdfPageHelper.template.nil?
|
57
60
|
super(base, name, opts)
|
58
61
|
end
|
59
62
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.pre.develop.
|
4
|
+
version: 3.0.0.pre.develop.544
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elias Saalmann
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2018-10-
|
20
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: net-http-persistent
|