maglove 2.0.9 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maglove/commands/theme.rb +1 -1
- data/lib/maglove/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: 712898026a8b6a643c52765f8a44be7c3ec9cc76
|
4
|
+
data.tar.gz: ab912316813a5e8775ac9c85102e679953ce396a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecdb669342b8f0e908211f7dc25a9f59579fc7254478cea680f393f69322ad6ffeff0bbd8262862d98bced6326ac1e976ee65c35e42065719ad70cdec4b00433
|
7
|
+
data.tar.gz: '03848697b3765474f80d968fabcc070b3bf3e6bdca0e00a44b53dc6997dbd83e353a8d4287cb8f250ce2fbdfa87892aeaae6721b237241a49f31ba4f7db2a156'
|
@@ -98,8 +98,8 @@ module MagLove
|
|
98
98
|
hydra = Typhoeus::Hydra.new
|
99
99
|
theme.dist_dir.children("images/**/*.{jpg,png,gif,svg}").each do |image_file|
|
100
100
|
remote_file = "themes/#{theme.identifier}/#{image_file.relative_path}"
|
101
|
+
image_file_md5 = Digest::MD5.hexdigest(image_file.read)
|
101
102
|
if (existing_image = theme_images_map[remote_file])
|
102
|
-
image_file_md5 = Digest::MD5.hexdigest(image_file.read)
|
103
103
|
if image_file_md5 != existing_image.md5
|
104
104
|
info("▸ Updating Image '#{remote_file}'")
|
105
105
|
existing_image.md5 = image_file_md5
|
data/lib/maglove/version.rb
CHANGED