jekyll-images 0.4.0 → 0.4.1
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/filters/thumbnail.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0b6b2a0aea056523dff75560dc0390b5a7b54489a6ed4007c9588870b1120ec
|
|
4
|
+
data.tar.gz: a57f6f8d6314a779a90fade4cba49108cf49cba0047483ae8809ff99bc6d445b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46012fff7c86879090f20b5d521aea5ce9a9aa934d43dd65d1eacbe03484a140ec36f2909722cf0ef9c9cebffa609cb55fbf168436c80657b686ad24a7733f86
|
|
7
|
+
data.tar.gz: f5c83ff4154db8791841782afbee03349bf55364bfe2737760995835fbff9a04a832f404f9c70cde23ec5b63ab8213b9d9dd9030c1f8c012f4045922dd9fd28f
|
|
@@ -7,6 +7,7 @@ module Jekyll
|
|
|
7
7
|
# Generates a thumbnail and returns its alternate destination
|
|
8
8
|
def thumbnail(input, width = nil, height = nil, crop = nil, auto_rotate = nil)
|
|
9
9
|
return input unless input
|
|
10
|
+
return input if input.downcase.end_with? '.gif'
|
|
10
11
|
return input unless Jekyll.env == 'production'
|
|
11
12
|
|
|
12
13
|
path = @context.registers[:site].in_source_dir input
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-images
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- f
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|