jekyll-rdf 4.0.4.pre.27.ge71d162 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/helper/rdf_hook_helper.rb +7 -10
- metadata +12 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c95c2016128766974a7c7382391cde11e3d134246c560c10c6ad12e427e2d88b
|
4
|
+
data.tar.gz: 80f4990f9f2b96da3fac6113f6a22a2fef4b15e7cf2b395c50e10600bd646fd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0131b0b047afcb029b4326144eeb80c0d3a2c021b279d20c60df604b4505d723b0942cdb60d52b8026be65152385a9c88ef0376fb2e1401fbb20f94b476d76c
|
7
|
+
data.tar.gz: c4ac7e09cfff60f9531fdd348dc5aa6002eb148566d2ef0b2bbf217ee3e79fc6f73511df03621e682e1d26b21d46fe633be2cbd584861f674a616d24f8c9ee2f
|
@@ -43,10 +43,13 @@ module Jekyll
|
|
43
43
|
base_path = page.instance_variable_get(:@base_dir)
|
44
44
|
base_path ||= payload.site["source"]
|
45
45
|
end
|
46
|
-
rescue
|
47
|
-
#
|
48
|
-
|
49
|
-
|
46
|
+
rescue NoMethodError => ne
|
47
|
+
#just in case the error was caused by something different then a missing template
|
48
|
+
if(ne.message.eql? "undefined method `data' for nil:NilClass")
|
49
|
+
return
|
50
|
+
else
|
51
|
+
raise
|
52
|
+
end
|
50
53
|
end
|
51
54
|
if(page.data["rdf_prefixes"].nil? && !(prefix_path.nil? || base_path.nil?))
|
52
55
|
Jekyll::JekyllRdf::Helper::RdfHelper.load_prefixes(
|
@@ -67,13 +70,7 @@ module Jekyll
|
|
67
70
|
return nil
|
68
71
|
end
|
69
72
|
|
70
|
-
class MissingTemplate < StandardError
|
71
|
-
end
|
72
|
-
|
73
73
|
def check_prefix_definition layout
|
74
|
-
if layout.nil?
|
75
|
-
raise MissingTemplate.new "Missing template"
|
76
|
-
end
|
77
74
|
unless(layout.data["rdf_prefix_path"].nil?)
|
78
75
|
return [layout.instance_variable_get(:@base_dir), layout.data["rdf_prefix_path"]]
|
79
76
|
end
|
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: 4.0.4
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elias Saalmann
|
@@ -15,10 +15,10 @@ authors:
|
|
15
15
|
- Natanael Arndt
|
16
16
|
- Simon Bin
|
17
17
|
- Jan Beckert
|
18
|
-
autorequire:
|
18
|
+
autorequire:
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
|
-
date: 2023-
|
21
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: linkeddata
|
@@ -87,9 +87,6 @@ dependencies:
|
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '13.0'
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 13.0.6
|
93
90
|
type: :development
|
94
91
|
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -97,9 +94,6 @@ dependencies:
|
|
97
94
|
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
96
|
version: '13.0'
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 13.0.6
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
name: rest-client
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,19 +115,19 @@ dependencies:
|
|
121
115
|
- !ruby/object:Gem::Version
|
122
116
|
version: 2.0.1
|
123
117
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
118
|
+
name: coveralls
|
125
119
|
requirement: !ruby/object:Gem::Requirement
|
126
120
|
requirements:
|
127
121
|
- - "~>"
|
128
122
|
- !ruby/object:Gem::Version
|
129
|
-
version: 0.
|
123
|
+
version: '0.8'
|
130
124
|
type: :development
|
131
125
|
prerelease: false
|
132
126
|
version_requirements: !ruby/object:Gem::Requirement
|
133
127
|
requirements:
|
134
128
|
- - "~>"
|
135
129
|
- !ruby/object:Gem::Version
|
136
|
-
version: 0.
|
130
|
+
version: '0.8'
|
137
131
|
- !ruby/object:Gem::Dependency
|
138
132
|
name: test-unit
|
139
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,14 +210,14 @@ dependencies:
|
|
216
210
|
requirements:
|
217
211
|
- - "~>"
|
218
212
|
- !ruby/object:Gem::Version
|
219
|
-
version: '0.
|
213
|
+
version: '0.2'
|
220
214
|
type: :development
|
221
215
|
prerelease: false
|
222
216
|
version_requirements: !ruby/object:Gem::Requirement
|
223
217
|
requirements:
|
224
218
|
- - "~>"
|
225
219
|
- !ruby/object:Gem::Version
|
226
|
-
version: '0.
|
220
|
+
version: '0.2'
|
227
221
|
- !ruby/object:Gem::Dependency
|
228
222
|
name: kramdown-parser-gfm
|
229
223
|
requirement: !ruby/object:Gem::Requirement
|
@@ -279,7 +273,7 @@ homepage: https://github.com/AKSW/jekyll-rdf
|
|
279
273
|
licenses:
|
280
274
|
- MIT
|
281
275
|
metadata: {}
|
282
|
-
post_install_message:
|
276
|
+
post_install_message:
|
283
277
|
rdoc_options: []
|
284
278
|
require_paths:
|
285
279
|
- lib
|
@@ -290,12 +284,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
290
284
|
version: '0'
|
291
285
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
286
|
requirements:
|
293
|
-
- - "
|
287
|
+
- - ">="
|
294
288
|
- !ruby/object:Gem::Version
|
295
|
-
version:
|
289
|
+
version: '0'
|
296
290
|
requirements: []
|
297
291
|
rubygems_version: 3.3.26
|
298
|
-
signing_key:
|
292
|
+
signing_key:
|
299
293
|
specification_version: 4
|
300
294
|
summary: Hypertext Publication System for Templated Resource Rendering
|
301
295
|
test_files: []
|