viniBaxter-field-active_storage 11.0.0 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9ab0725b912eb2b8c7071ed6be16afffe917111c784e82123d1e9f59a6a3313
|
|
4
|
+
data.tar.gz: 8f8fe66bf80e58071898a73f3c51d03e2b61f1019aee9d166a3f36d44f1111e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3755ab73298b1a5d380ec75a681b3957d9da9b4f6ba84a8e0c401b26966820a090360a750ddb984137a35b40281ba34b6dce7326b9dea83d152d7a682f9e8678
|
|
7
|
+
data.tar.gz: 6bcc224531d945f5b29c2c51579fff19d397e0a06ab54fda44290559b89e9faa616fe0386195b1d53ae6d994e473a74cc7ef52c7905d804885418ff1241c21c7
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
%>
|
|
12
12
|
<% if attachment.image? and attachment.variable? and !field.url_only? %>
|
|
13
13
|
<%= link_to(field.blob_url(attachment), title: attachment.filename, class:'avatar') do %>
|
|
14
|
-
|
|
14
|
+
<%#= image_tag(field.variant(attachment, resize_to_limit: image_size),class:'avatar-img rounded delete_on_click') %>
|
|
15
|
+
<%= image_tag attachment.variant(resize_to_limit: image_size), class:"avatar-img rounded delete_on_click" %>
|
|
15
16
|
<% end %>
|
|
16
17
|
<% elsif attachment.image? and !field.url_only? %>
|
|
17
18
|
<%= link_to(field.blob_url(attachment), title: attachment.filename) do %>
|
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "viniBaxter-field-active_storage"
|
|
5
|
-
gem.version = "11.0.
|
|
5
|
+
gem.version = "11.0.1"
|
|
6
6
|
gem.authors = ["viny baxter"]
|
|
7
7
|
gem.email = ["vincent.viricel@gmail.com"]
|
|
8
8
|
gem.homepage = "https://github.com/Dreamersoul/administrate-field-active_storage"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: viniBaxter-field-active_storage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 11.0.
|
|
4
|
+
version: 11.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- viny baxter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|