rao-component 0.0.28.pre → 0.0.29.pre
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f9bbe640ddf55666d2de1df00689e64420b46aa4499febd7e397f602cc3d7f7
|
4
|
+
data.tar.gz: ab953048af524d10bdded68651db5f12134171344ba93ccf2e56f7675377cc04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99762a5a5f6531ec417f610be0492162321c59523962bc54141c4a7d24ab66159c6303579033b4e6e09790eebff90ba222e56511cf000459a1835281833c7fdb
|
7
|
+
data.tar.gz: ffdf143d374fd89c809b280c4b458cfd4d23c56e96e0cc10528fe4ff01bfb413898ef017cdb76448506fad0d36262382bf8b607b3b386e6635a8dc68047d83b8
|
@@ -1,4 +1,4 @@
|
|
1
|
-
- if resource.send(name).present?
|
1
|
+
- if resource.send(name).present? && resource.send(name).respond_to?(:variant)
|
2
2
|
- begin
|
3
3
|
- image_html = options[:image_html] || { src: main_app.url_for(resource.send(name).variant(options[:variant_options])) }
|
4
4
|
- rescue ActiveStorage::InvariableError => e
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rao-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|