jekyll-url-metadata 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll-url-metadata/main.rb +6 -2
- data/lib/jekyll-url-metadata/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a4e00283a626aebd4b4b3f50efb40d8365e5b2c4b76a6dbb6865c63bfbc16bf
|
|
4
|
+
data.tar.gz: 4ca146d90db461cc10f3ab91d5e70165c1fbcdb2e7d17ceb98c6299ef0829526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76e514cf41b909a6dff7c905e3dd2fa379d814d245f2300a750ede5e142ce8343c34aba16629ac1710f186745e5be2a83aca6b157a7b948afb4650a16ee98eb8
|
|
7
|
+
data.tar.gz: 9c036325a0c1bc2fd03f1421c83e5e426d37f9f5c9474a7a3a9b96da52a49aef703801ffacd85495d41488e6dcaa9aeae84605b8008ba652f6e7affb1be2c56c
|
|
@@ -20,8 +20,12 @@ module Jekyll
|
|
|
20
20
|
def metadata(input)
|
|
21
21
|
return if !is_input_valid(input) || !is_config_valid()
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if Jekyll::VERSION.to_i >= 4
|
|
24
|
+
# The getset() API implements a cache first strategy
|
|
25
|
+
cache.getset(input) do
|
|
26
|
+
generate_hashmap(input)
|
|
27
|
+
end
|
|
28
|
+
else
|
|
25
29
|
generate_hashmap(input)
|
|
26
30
|
end
|
|
27
31
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-url-metadata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gourav Khunger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0'
|
|
100
100
|
requirements: []
|
|
101
|
-
rubygems_version: 3.
|
|
101
|
+
rubygems_version: 3.4.17
|
|
102
102
|
signing_key:
|
|
103
103
|
specification_version: 4
|
|
104
104
|
summary: Extract all kind of meta data from a url string
|