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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb9a74c6d12317c688511fe427f1db0983bf6a77
4
- data.tar.gz: b403b95686753d58e9637e0ae561003f1da3fad1
3
+ metadata.gz: 712898026a8b6a643c52765f8a44be7c3ec9cc76
4
+ data.tar.gz: ab912316813a5e8775ac9c85102e679953ce396a
5
5
  SHA512:
6
- metadata.gz: d4e362c92484ef2a6f9ed9208312994ee04d1b084a46fb5d911955153d45ac37ebfc8aec1e05c84dd589b39869f837faccff88e6cfbb9285940c75dd079c67a9
7
- data.tar.gz: fb3aae4209b275aee756d9f9fc675b8abd430208ccb68cbcffe271553658de037f38aa8890edf39ed1e35cf99721aec5037c51e67f0afd3d392564247a698be9
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
@@ -1,3 +1,3 @@
1
1
  module MagLove
2
- VERSION = "2.0.9"
2
+ VERSION = "2.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglove
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer