jekyll_picture_tag 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/devs/releases.md +6 -0
- data/lib/jekyll_picture_tag/images/image_file.rb +3 -2
- data/lib/jekyll_picture_tag/version.rb +1 -1
- data/readme.md +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61b3c53bfa81070e0457626c7ffe32c528bd6cafcc6627b5899d4737f83e2fd8
|
4
|
+
data.tar.gz: 25abc195daaee489892452b4fb1622fcb4585e1b09ee34bb1a2a4b568d2a1f68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075f856f3407ee8e1c68f785759a600ea04ddbfcff08944fd4796157c842a2c0583044b726580ed5030b81fd0f8b82c962345e583eef4c492fd2edda7a03fe48
|
7
|
+
data.tar.gz: 66f7afa3af4d32ac61d67e21f4a7844d86c2f195043f3f607b706a30a40e3be040e21654ef601cd5f12edf7535f6e1401edb2ae1f17a50c56de91eb5b1a03c70
|
data/docs/devs/releases.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
# Release History
|
4
|
+
|
5
|
+
* 2.0.2 March 31, 2021
|
6
|
+
* Do not pass a quality argument when generating PNG files.
|
7
|
+
* It only works on newer versions of vips, breaking builds when using older
|
8
|
+
versions (such as when deploying to netlify.)
|
9
|
+
* It's not remarkably useful in the first place.
|
4
10
|
* 2.0.1 March 31, 2021
|
5
11
|
* Select imagemagick deliberately when appropriate, rather than simply rescuing all vips errors
|
6
12
|
and trying again. This will stop JPT from suppressing useful vips errors.
|
@@ -57,8 +57,9 @@ module PictureTag
|
|
57
57
|
|
58
58
|
opts[:strip] = PictureTag.preset['strip_metadata']
|
59
59
|
|
60
|
-
# gifs don't accept a quality setting
|
61
|
-
|
60
|
+
# gifs don't accept a quality setting, and PNGs don't on older versions of
|
61
|
+
# vips. Since it's not remarkably useful anyway, we'll ignore them.
|
62
|
+
opts[quality_key] = base.quality unless %w[gif png].include? base.format
|
62
63
|
|
63
64
|
opts.transform_keys(&:to_sym)
|
64
65
|
end
|
data/readme.md
CHANGED
@@ -47,6 +47,11 @@ https://rbuchberger.github.io/jekyll_picture_tag/devs/releases
|
|
47
47
|
|
48
48
|
Recent releases:
|
49
49
|
|
50
|
+
* 2.0.2 March 31, 2021
|
51
|
+
* Do not pass a quality argument when generating PNG files.
|
52
|
+
* It only works on newer versions of vips, breaking builds when using older
|
53
|
+
versions (such as when deploying to netlify.)
|
54
|
+
* It's not remarkably useful in the first place.
|
50
55
|
* 2.0.1 March 31, 2021
|
51
56
|
* Select imagemagick deliberately when appropriate, rather than simply rescuing all vips errors
|
52
57
|
and trying again. This will stop JPT from suppressing useful vips errors.
|