jekyll-compress-images 1.0 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-compress-images.rb +2 -2
- 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: c2543e41304877b76a939d0c94961cb5163bd3bd615442071f39d1f029acd9ce
|
4
|
+
data.tar.gz: a39560c4ce594ae71345b213b14b70b067cc5a6f28eba16b786b74010270a0b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19237d4099f43dc770017d8a78079b9fb33de32e5cb775d8d8ad346ccbb90ad7f77bebc123206aea9484bffdec060855f78e9499469a85572276128f5bfc6565
|
7
|
+
data.tar.gz: 63b1e61949cb6102a90566b75c552075a44cbd8d8107aca671ca6609fb5be8cb6081853df96c9e860436ddd7371e3b081fd1a1ddf53befb146c2cf4db65bc8b6
|
@@ -14,7 +14,7 @@ module Jekyll
|
|
14
14
|
|
15
15
|
@config = default_options.merge! config
|
16
16
|
|
17
|
-
@image_optim = ImageOptim.new pngout: false, svgo:
|
17
|
+
@image_optim = ImageOptim.new pngout: false, svgo: true, verbose: false
|
18
18
|
|
19
19
|
@last_update = YAML::load_file @config["cache_file"] if File.file? @config["cache_file"]
|
20
20
|
@last_update ||= {}
|
@@ -27,7 +27,7 @@ module Jekyll
|
|
27
27
|
def default_options
|
28
28
|
{
|
29
29
|
"cache_file" => "_compress_images_cache.yml",
|
30
|
-
"images_path" => "assets/img/**/*.{gif,png,jpg,jpeg}",
|
30
|
+
"images_path" => "assets/img/**/*.{gif,png,jpg,jpeg,svg}",
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-compress-images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valerija Spasojevic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|