jekyll-images 0.4.0rc0 → 0.4.0rc1

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: 7b806091563d3dfe022d4e6558631c998aa1be7cec781363b15a957bfbf09bc2
4
- data.tar.gz: f7732fba18d8ed4e84b8c6f944ef1bc857d67ea2ad704e7d0522c54ff708709a
3
+ metadata.gz: cc71f657a7ea993a4d508a1d449f3c26c2494a0673784b8355c2e8d3ed3ae31c
4
+ data.tar.gz: cb3aa8abcdfa1249defc513a420a285c5bd8375af45c3686f3f88dae59f67f63
5
5
  SHA512:
6
- metadata.gz: bd1d4b6b7d5ece1782928ae15c9bf59dec33414ad5c2c50928a55768429400156ea6e404467ba2679a92b40c0fe7891a40bc427b93512c894699dc8ee1964c4b
7
- data.tar.gz: 4273da19ba65f935b2f11cb1cfb06e0023fca26e4c384f9ae2a8708c5dbbdb15eb971cb90e2aa128df6565bd57b4300205e35b5a6232d45c9f3768fa70cbecf7
6
+ metadata.gz: b257a95b36f6a312d24221ad6c83c2cd2b42136441f9b128647bce4dcfc9fe7fa9b02eb281d48da524f97b0583bf74bcb4ae96db68015803f604fd64a653278a
7
+ data.tar.gz: 81b8ddb8c50d25c78716aa00c60ffbb472ace6383df606f0d07af44dca25667c3099271ba819c8ba515429edbdd22efaad45edabe857e0ada5235b206c146858
data/README.md CHANGED
@@ -53,6 +53,8 @@ images:
53
53
  interlaced: true
54
54
  ```
55
55
 
56
+ **Note:** Interlacing sometimes won't make the images smaller.
57
+
56
58
  [^0]:
57
59
  <https://blog.cloudflare.com/parallel-streaming-of-progressive-images/>
58
60
 
@@ -9,7 +9,7 @@ module Jekyll
9
9
  BINARY = 'oxipng'.freeze
10
10
 
11
11
  def command
12
- [binary, '--strip', 'all', '--quiet', '--interlace', (interlaced ? '1' : '0'), file]
12
+ [binary, '--strip', 'all', '--quiet', '--interlace', (interlaced ? %w[1 --force] : '0'), file].flatten
13
13
  end
14
14
  end
15
15
  end
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.0rc0
4
+ version: 0.4.0rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-20 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll