jekyll-rdf 2.1.3.pre.develop.248 → 2.1.3.pre.develop.257
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/rdf_class_extraction.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec3aeb7ef7275728b7aea5199e836ac3109e5ab6
|
4
|
+
data.tar.gz: 811668e48442bdb25dbde396a0d232d6552162bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b031131bf42cee2ed7287da095b3dbcafa7bc1f04e902eca5528c04b945ac23bcc7790741ae3a59b80903b5889fc8a313f9e78c5e6cb2476a8bb5f13ba7640e
|
7
|
+
data.tar.gz: 3094b5ae5b513ee9caa42591f34b67ec4d632ce29c7ff3c1e0f9151b200230e95f990af02007b987473b9019255d2dcbee93e7f0290c7a9291b1c22ea6cace30
|
@@ -25,10 +25,22 @@ module Jekyll
|
|
25
25
|
|
26
26
|
def assign_class_templates(classes_to_templates)
|
27
27
|
if(classes_to_templates.is_a?(Hash))
|
28
|
+
@classResources.default = StopObject.new
|
28
29
|
classes_to_templates.each{|key, value|
|
29
30
|
@classResources[key].propagate_template(value,0)
|
30
31
|
@classResources[key].traverse_hierarchy_value(0);
|
31
32
|
}
|
33
|
+
@classResources.default = nil
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
class StopObject #unfortunately next does not work in this setup, it avoids to have "if" in every iteration
|
38
|
+
def propagate_template(template, lock)
|
39
|
+
return
|
40
|
+
end
|
41
|
+
|
42
|
+
def traverse_hierarchy_value(predecessorHierarchyValue)
|
43
|
+
return
|
32
44
|
end
|
33
45
|
end
|
34
46
|
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: 2.1.3.pre.develop.
|
4
|
+
version: 2.1.3.pre.develop.257
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elias Saalmann
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2017-08-
|
19
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: linkeddata
|