middleman-webp 0.2.4 → 0.2.5
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/CHANGELOG.md +4 -0
- data/lib/middleman-webp/extension.rb +3 -1
- data/lib/middleman-webp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32038f04df33f853d0ee464e25be360591fafc0b
|
|
4
|
+
data.tar.gz: 4c0d0e4778cd4d3590ffb533d951d07bed2e0d3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32b535871eb54586de7e7482a6e3fce5242f921406038ea31de62a91a3ab648442ce3a6f603a7430456acac6aa8c963cadbca99313137fb3d913fa142151cd69
|
|
7
|
+
data.tar.gz: a1383ba546688e462dca0b63d269996ab3077b21345866c72633a0e1327f805e606419370459b32ef8fa3b957d3912a0e3123a38230fef8950f1a5a0815290ee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 0.2.5
|
|
2
|
+
|
|
3
|
+
- Fixes regression bug with extension config options
|
|
4
|
+
|
|
1
5
|
## 0.2.4
|
|
2
6
|
|
|
3
7
|
- Add ```ignore``` option similar to the one in the [asset_hash extension](http://middlemanapp.com/advanced/improving-cacheability/#uniquely-named-assets) 26fb7972c9f7808a222fb03d0a4e11e60f9148d8
|
|
@@ -9,8 +9,10 @@ module Middleman
|
|
|
9
9
|
def initialize(app, options_hash = {}, &block)
|
|
10
10
|
super
|
|
11
11
|
|
|
12
|
+
configuration = options
|
|
13
|
+
|
|
12
14
|
app.after_build do |builder|
|
|
13
|
-
Middleman::WebP::Converter.new(app,
|
|
15
|
+
Middleman::WebP::Converter.new(app, configuration, builder).convert
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|