trestle-active_storage 0.0.1.pre.2 → 0.0.1.pre.3
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: e11a60cc2b7ba1cde176e8c2da26f31649978ab0c3d78d93386655988aa1b3aa
|
4
|
+
data.tar.gz: c6a5d0e5dce902e940ea0b835b802cd8b990a368d84f0250f013a42900067df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71d4a575d890ac38e29c3d8cdc5d7472fdf6eaf5852ba546198a03789d864fab460e79e8bf3990e300d51ac184aecdc11009dfe70e25cbc265b11db2b313e3c3
|
7
|
+
data.tar.gz: 11cd617c1ca1f47c44f4fbfac0c5ebd1545a5b0ff0df28f87f02953eb0fb5612862acc856044c81911b1d4dadfd00ccf659313f6f146162f19a86e95874e62f8
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<% if attachment.attached? %>
|
3
3
|
<div class="active-storage__preview">
|
4
4
|
<% if attachment.blob.image? %>
|
5
|
-
<%= link_to image_tag(attachment
|
6
|
-
attachment
|
5
|
+
<%= link_to image_tag(main_app.rails_blob_url(attachment), class: 'active-storage__image'),
|
6
|
+
main_app.rails_blob_url(attachment), target: 'blank' %>
|
7
7
|
<% else %>
|
8
|
-
<%= link_to(attachment
|
8
|
+
<%= link_to(main_app.rails_blob_url(attachment), class: 'active-storage__link') %>
|
9
9
|
<% end %>
|
10
10
|
</div>
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-active_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.
|
4
|
+
version: 0.0.1.pre.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|