administrate-field-active_storage 0.1.2 → 0.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90caaf4c6fe823ec5996eec5848f27dd93fc0025
|
4
|
+
data.tar.gz: cdfdf97f2bbf930878c2e9317634bc7b72a01e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32a5196ddcb39b7b740a30d1a17cd5313c168554b42fbfa75e4239b815f1cc4d9008db95c807020ab041c0aeac5568e05b3ea2b5ed74cfa8671ea93a3cfdabac
|
7
|
+
data.tar.gz: 8f269a049d8bbaa83a993bd7d2a5d7ccdcaf8ccf3b72b8c6049c7aebfb4c5098ea03c8f8c49d8a62fcc69e7edd5eefa530b417a6e65ff5f1641eab62a9230432
|
@@ -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.1.
|
5
|
+
gem.version = "0.1.3"
|
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"
|
@@ -5,11 +5,11 @@
|
|
5
5
|
<% elsif attachment.video? and !field.url_only? %>
|
6
6
|
<%= video_tag(field.url(attachment), controls: true, autobuffer: true, style: "width: 100%; height: auto;") %>
|
7
7
|
<% elsif attachment.audio? and !field.url_only? %>
|
8
|
-
<%= audio_tag(field.url(attachment), autoplay:
|
8
|
+
<%= audio_tag(field.url(attachment), autoplay: false, controls: true) %>
|
9
9
|
<% elsif attachment.previewable? and !field.url_only? %>
|
10
10
|
<%= image_tag(field.preview(attachment, resize: "595x842>")) %>
|
11
11
|
<br/>
|
12
12
|
Download: <%= link_to(attachment.filename, field.blob_url(attachment)) %>
|
13
13
|
<% else %>
|
14
14
|
<%= link_to(attachment.filename, field.blob_url(attachment)) %>
|
15
|
-
<% end %>
|
15
|
+
<% end %>
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hamad AlGhanim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.6.
|
95
|
+
rubygems_version: 2.6.11
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Administrate fields for active storage
|