promethee 1.4.6 → 1.4.7

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: 61dfa7324fe87fed4cdbda38590a45010feec702
4
- data.tar.gz: a24d477622a38066a9ad23d6e2433de3477192c2
3
+ metadata.gz: 39a3cfd4fb50431eb643b4447a88a11f086d9888
4
+ data.tar.gz: 7a436c59748cc1b9498b46b555338ce17bba7e99
5
5
  SHA512:
6
- metadata.gz: e8cdedd2a03fc4579acdbf0ef92451d2b1af7b43266bc09294ea5b662b1d2a4c2af9100f1748ff12170e9622598fc9d3f9a8d30d20fb0877fa4a45759bcceda1
7
- data.tar.gz: a61a440ac6eb1b7a352c020f15c1d6b29f67ef9c7f492372436fbf021286eefc834245e7e55b8537b1945a8d472e95ceb79aa4d908368a9220b0eba016c0425f
6
+ metadata.gz: b16c459cc3f67c9d89d4ac6889f756035fa97ac57ccde75d22ef4aa6b020699cbf7f7c13143564ce5df4e6977fdeb61174990d53a6f09f287745034966c2e3a7
7
+ data.tar.gz: 6e578c6a4e58721e3e5ca5eeccb02c9838e5a1a36a1881eda22c8b7317542050eac9c9e92e617165259bf84a74214a7a232099dbae19f75ceb117b7dcb235b74
@@ -1,6 +1,9 @@
1
1
  <%
2
- blob_id = component[:attributes][:blob][:id]
3
- blob = ActiveStorage::Blob.find blob_id if blob_id
2
+ blob_data = component[:attributes][:blob]
3
+ if blob_data && blob_data[:id]
4
+ blob = ActiveStorage::Blob.find blob_data[:id]
5
+ end
6
+
4
7
  surtitle = component[:attributes][:surtitle].to_s
5
8
  title = component[:attributes][:title].to_s
6
9
  subtitle = component[:attributes][:subtitle].to_s
@@ -1,6 +1,9 @@
1
1
  <%
2
- blob_id = component[:attributes][:blob][:id]
3
- blob = ActiveStorage::Blob.find blob_id if blob_id
2
+ blob_data = component[:attributes][:blob]
3
+ if blob_data && blob_data[:id]
4
+ blob = ActiveStorage::Blob.find blob_data[:id]
5
+ end
6
+
4
7
  alt = component[:attributes][:alt]
5
8
  caption = component[:attributes][:caption].to_s
6
9
  %>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.4.6'
3
+ VERSION = '1.4.7'
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: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-04-24 00:00:00.000000000 Z
16
+ date: 2018-04-25 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails