jekyll-rdf 3.0.1.pre.develop.573 → 3.0.1.pre.develop.577

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
  SHA256:
3
- metadata.gz: 1dcf04f85e1f5083d3faffa293d9175b0a7227f2d00f48a2c0ad22b9c4ad75dd
4
- data.tar.gz: 1b388fd0d34a958157b371ef21bcfccf1f12c21b99e1e7f0d2eef0c8322c0e6b
3
+ metadata.gz: b3d8865d878c53157d4503025221b4f906ae7b3ed06478659439ef0232340462
4
+ data.tar.gz: ebe12ea328982dde48b5f489b021799d43a98f593f888e72e8694da92747f2bb
5
5
  SHA512:
6
- metadata.gz: c105c0d153453028064239e3d27a229a0caf94047eab6b431f77ca4d8e62cf052b4b80e7f7716c632376302af6934152ab7cfb663442cd94dd3657647c75b357
7
- data.tar.gz: 753281190af7410086fa469ce992ad2c2d9b3f2af88bd02a75e98f8192b24e0527c74728d93f94f94a0d3031b2f343786948197f82fc96c6fe2e4e2292f9481e
6
+ metadata.gz: a7ab0a9a74b48dfc55978f2decc77986ec558cdb766d4f11aaee177f047f3e253912cdf27a0849345921b93acc9a432f750a7104574fbd567daa1156cfdd97b6
7
+ data.tar.gz: 2dbd2c0f345253cc50477ffadd3afe6ba1fe36fa6043475b829f55e3c7f2ae6d67e0538623f00e3eae15fde7f9a52b061b600a04db3e671c3aa496768994e28b
@@ -66,10 +66,13 @@ module Jekyll
66
66
  return result
67
67
  rescue SPARQL::Client::ClientError => ce
68
68
  Jekyll.logger.error("client error experienced: \n #{query} \n Error Message: #{ce.message}")
69
+ raise if Jekyll.env.eql? "development"
69
70
  rescue SPARQL::MalformedQuery => mq
70
71
  Jekyll.logger.error("malformed query found: \n #{query} \n Error Message: #{mq.message}")
72
+ raise if Jekyll.env.eql? "development"
71
73
  rescue Exception => e
72
74
  Jekyll.logger.error("unknown Exception of class: #{e.class} in sparql_query \n Query: #{query} \nMessage: #{e.message} \nTrace #{e.backtrace.drop(1).map{|s| "\t#{s}"}.join("\n")}")
75
+ raise if Jekyll.env.eql? "development"
73
76
  end
74
77
  return []
75
78
  end
@@ -35,6 +35,7 @@ module Jekyll
35
35
  Jekyll::JekyllRdf::Helper::RdfHelper.load_prefixes(path, prefHolder)
36
36
  rescue Errno::ENOENT => ex
37
37
  Jekyll.logger.error("--> context resource: #{@resource} template: #{@template}") unless self.data["rdf"].nil?
38
+ raise if Jekyll.env.eql? "development"
38
39
  end
39
40
  end
40
41
 
@@ -75,7 +75,7 @@ module Jekyll
75
75
  classRes = classResources[classUri]
76
76
  if((classRes.lock <= lock || lock == -1) && !classRes.template.nil?)
77
77
  if(classRes.subClassHierarchyValue > hier)
78
- Jekyll.logger.info("classMapped: #{classUri} : #{resource.term.to_s} : #{classResources[classUri].template}")
78
+ Jekyll.logger.info("classMapped: #{classUri} : #{resource.term.to_s} : #{classResources[classUri].template}") if Jekyll.env.eql? "development"
79
79
  lock = classRes.lock
80
80
  tmpl = classRes.template
81
81
  hier = classRes.subClassHierarchyValue
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.1.pre.develop.573
4
+ version: 3.0.1.pre.develop.577
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2018-10-20 00:00:00.000000000 Z
21
+ date: 2018-10-24 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: net-http-persistent