rdf-vocab 3.2.3 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/vocab/extensions.rb +6 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b5e4713ddc1207f3d5e67ccb58bc87c1b989c047a665e6638b2e64edf205a91
|
4
|
+
data.tar.gz: 12e07092f54dfe4bf70e535823a65c55bc355a38f3e27014417bd5b550ead8c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97135a3e2db7c122f19455f92ecd61bb1d2fbeb330cdc2f8dbd5462a4dd1fb26fb12e8fda9847e13a2cd7a8fca3c3fa7e72715e24fd2a40d76defd53e62f7671
|
7
|
+
data.tar.gz: 16e2767fee34be7917d34e56334ab5af1b06de33a74d06ec8046c0582e9e0f85e67fd555618523fcc561c15b3e007451f775d5db40b75999618e7e22258b2b0c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.4
|
data/lib/rdf/vocab/extensions.rb
CHANGED
@@ -391,7 +391,12 @@ module RDF
|
|
391
391
|
case template
|
392
392
|
when /.haml$/
|
393
393
|
require 'haml'
|
394
|
-
haml = Haml
|
394
|
+
haml = if Haml.const_defined?(:Template)
|
395
|
+
Haml::Template.new {File.read(template)}
|
396
|
+
else
|
397
|
+
Haml::Engine.new(File.read(template))
|
398
|
+
end
|
399
|
+
|
395
400
|
haml.render(self, ont: expanded, context: json['@context'], prefixes: prefixes)
|
396
401
|
when /.erb$/
|
397
402
|
require 'erubis'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-vocab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -36,16 +36,22 @@ dependencies:
|
|
36
36
|
name: haml
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '5.2'
|
42
|
+
- - "<"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '7'
|
42
45
|
type: :development
|
43
46
|
prerelease: false
|
44
47
|
version_requirements: !ruby/object:Gem::Requirement
|
45
48
|
requirements:
|
46
|
-
- - "
|
49
|
+
- - ">="
|
47
50
|
- !ruby/object:Gem::Version
|
48
51
|
version: '5.2'
|
52
|
+
- - "<"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '7'
|
49
55
|
- !ruby/object:Gem::Dependency
|
50
56
|
name: erubis
|
51
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -396,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
396
402
|
- !ruby/object:Gem::Version
|
397
403
|
version: '0'
|
398
404
|
requirements: []
|
399
|
-
rubygems_version: 3.
|
405
|
+
rubygems_version: 3.4.6
|
400
406
|
signing_key:
|
401
407
|
specification_version: 4
|
402
408
|
summary: A library of RDF vocabularies
|