administrate-field-active_storage 0.3.1 → 0.3.2
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 +4 -4
- data/README.md +1 -1
- data/administrate-field-active_storage.gemspec +1 -1
- data/app/views/fields/active_storage/_item.html.erb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64b33a96266a15db1be6623e30f3cd194169efa9ccc893ac03136da0c3721e38
|
|
4
|
+
data.tar.gz: bf7d12d3084e8955f14abc20a2d19b5ce76abe7445d9aab5cb31c3367ebba957
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e551359ad5008217a52ab7295053f84b5ce4488f324c8eaa4e4595a43e90791eb3dea17ff43327bba61e536675d20e26b4c4be1e030c0c79878ee2e1ac708bdb
|
|
7
|
+
data.tar.gz: 027fe2605c468b7c0cc9fbc48eb404922108c05c1602ca4f6953729a1713aace84b5b82eca8fc923da6c7865281447be158da91827622dbbb98b6e856c7affda
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "administrate-field-active_storage"
|
|
5
|
-
gem.version = "0.3.
|
|
5
|
+
gem.version = "0.3.2"
|
|
6
6
|
gem.authors = ["Hamad AlGhanim"]
|
|
7
7
|
gem.email = ["hamadyalghanim@gmail.com"]
|
|
8
8
|
gem.homepage = "https://github.com/Dreamersoul/administrate-field-active_storage"
|
|
@@ -23,10 +23,11 @@ controlled via a boolean local variable.
|
|
|
23
23
|
[x, y]
|
|
24
24
|
Maximum size of the ActiveStorage preview.
|
|
25
25
|
%>
|
|
26
|
-
|
|
27
|
-
<div>
|
|
28
|
-
|
|
29
|
-
</div>
|
|
26
|
+
<% if field.show_display_preview? %>
|
|
27
|
+
<div>
|
|
28
|
+
<%= render partial: 'fields/active_storage/preview', locals: local_assigns %>
|
|
29
|
+
</div>
|
|
30
|
+
<% end %>
|
|
30
31
|
|
|
31
32
|
<div>
|
|
32
33
|
<%= link_to 'Download', field.blob_url(attachment), title: attachment.filename %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: administrate-field-active_storage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hamad AlGhanim
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|