promethee 5.0.2 → 5.1.0

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: 7d9bb77386964fdbb37d7a9b6d3df6a9f34730ded3feb7065f45f5fc38c34e32
4
- data.tar.gz: cbd5b152bd5dabed60598a1dffe45451293f3ddf25eecbd3ac58d273fc341bcd
3
+ metadata.gz: 6d7f8e41a3f9f4d97f10f4916e5342f235cc6b01ab86e249a67a9c806f27dda4
4
+ data.tar.gz: dd0d538434b08dce1dd22f0caf6a61ca778feb01c82f8f2640688357d32ade30
5
5
  SHA512:
6
- metadata.gz: 2ca33974159c9e620174fd6d9bc273f2e836d3b7811feb61f11f4911edfe4050e0a5c5a0287dacc915369fe975cab09a1545ec667e37164f37c332a7bd3eaa33
7
- data.tar.gz: a0d8b2605d6e57f8c763f4fc26a0f918ef410a06ffd3f9e9ed4c170d3ede665f65fd90be3513566c21662d5ae37b96bbac55a2effc5438baf050807c807dbbb7
6
+ metadata.gz: 0dc6b2d1305f0cf9d62b85185aab3ea9dbc97b4cff5b014bffb5aa9eb7f133ad288035c4c0521d0d7e82c0520138100ae9c7473b711aa3ea22bfe8ecdf369e26
7
+ data.tar.gz: 0df8196e97b3a814d6e32d9208104d9708cb7a599465b633125d926e324418591bc50d58d70971ea508f676b45ca82058c40103de52d4b7158abb84013f0d4b9
@@ -1,7 +1,8 @@
1
1
  <%
2
+ blob.analyze unless blob.analyzed?
2
3
  image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false"
3
4
  fullsize_url = url_for(blob)
4
- image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width]
5
+ image_width = blob.metadata[:width]
5
6
  alt ||= ''
6
7
  title ||= ''
7
8
  %>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '5.0.2'
3
+ VERSION = '5.1.0'
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: 5.0.2
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2024-10-07 00:00:00.000000000 Z
17
+ date: 2024-10-19 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -87,7 +87,7 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: mini_magick
90
+ name: image_processing
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="