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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 805320531e42b606998eca232dd5fb39a91aa787
4
- data.tar.gz: 531911bdf04af1dbddee1c73c4b3a71107256f5d
3
+ metadata.gz: ec3aeb7ef7275728b7aea5199e836ac3109e5ab6
4
+ data.tar.gz: 811668e48442bdb25dbde396a0d232d6552162bd
5
5
  SHA512:
6
- metadata.gz: 2ff97b6e058686428163cc04bba11fd88a10d01e0affafe8e91147b618fb6c8ceddf95c5ee1cae9c726353407e0a83166c0cb3c6d0b9fe5707308c860fae367c
7
- data.tar.gz: c4279c83645a9c8c097ab39cfeb2230ba8965169cfd36439943ad0dc1d0565191e960d564bd34fb6094e2786f7bbf683fea1ce2bc105269d74ab99cc6d8914e9
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.248
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-18 00:00:00.000000000 Z
19
+ date: 2017-08-30 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: linkeddata