promethee 4.1.16 → 4.1.17

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: 310831237cbf7ee4493331c7bd1101275bc33c5ab5f34a6742104f9bdc4a6da8
4
- data.tar.gz: efc159fd105c74f764acd164a69e72753a1b581f76e1e08e22b7ee020ec1a9dc
3
+ metadata.gz: 0e6e42f0d4cb145f8b35d05d3f25bd1aa3a232893b582a33dd1b87f6ec12a043
4
+ data.tar.gz: bf7f8e5795187559af358cd49d9c765e410aba8636c3015e6b51f4f6b4dd11b6
5
5
  SHA512:
6
- metadata.gz: 42ef37255720cc041e58f3092ba3731a97a58b80196e7bee290839c64f0e7b9222bc0d0aa8c56e3f45b40d4190da0bf03533a4152f873d9a29fade61cda869b7
7
- data.tar.gz: d8aadec0f132cca1fcf21e1dad8ce35f8221c63807131ff76910a726ad547a100c433c1068bb37b3a91cb109ac6ea196a4ba021dcd0bbd02d4c86833b9d3a386
6
+ metadata.gz: 0b2631fe22a469a19b9e76dddb109c9b6829cffc46df68f123a4cc2fae106474c6927a93bcf2d6fd89af06a9f981dadf96683c74b365aabde8a2febfcb2ff3e9
7
+ data.tar.gz: 4f3b348bceb066ad90efecaf6b5bd7cc621cc57facab8cfba2de7c9a0917f02075e54a9c729bafe62eb106f49842ad57a2b24c7ba2be1794512fac3c00da113b
@@ -1,6 +1,10 @@
1
- <% image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false" %>
2
- <% fullsize_url = url_for(blob) %>
3
- <% image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width] %>
1
+ <%
2
+ image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false"
3
+ fullsize_url = url_for(blob)
4
+ image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width]
5
+ alt ||= ''
6
+ title ||= ''
7
+ %>
4
8
 
5
9
  <% if image_zoomable %>
6
10
  <a data-fancybox="gallery" title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>">
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.1.16'
3
+ VERSION = '4.1.17'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.16
4
+ version: 4.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya