administrate-field-active_storage 0.3.3 → 0.3.4

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: a624daf75a65cdb108890eb6ff49339e892cbbf62760e929f3cd5d8b1b2a88cd
4
- data.tar.gz: 1c629150cb04295ff58747895ab9b580b33152b349436f74571a8cd9ab5ce79b
3
+ metadata.gz: d5f396ea1832dd7c8848f9017c8b613fb8db660a180756a4e7e3ef1c3ca91a3b
4
+ data.tar.gz: 0e87c2670d021f05baaef9e8a38fb93ba142da11d4bbebdb72b971a9a716f9a0
5
5
  SHA512:
6
- metadata.gz: 62b4b4c33a34448427fc9f5bc4de2ffc0b6df8e8b725d7374df93e3adfbaa5c67e75d20aeb6453e840d8d87a9e92979766f52f22a2ff5ab77173e4c922a056c6
7
- data.tar.gz: 2a4eedbe6a85ad22092943bb38864817608e57e630e4b36c2185ed55bccd5503dc4f361838a27858c82eaf33594e97e7205e9939416775c3979950dc86fd3f04
6
+ metadata.gz: 1735bce16f591be4615fe9fa817b51b73c4df8a725d77a2b3b1b92b746a7bd515ab5e3df3b51814932d26a11f0dae6c545a6e582f32c08a947c1913fb0c8de13
7
+ data.tar.gz: 5d1654ccac549cee8fbbba1ded8cb15899cf05922aa083f3463b7207e3d8cee5e812f7b696bd7b999ba5b27608ac569bb23310702510092ada71ee7f4db5ca0f
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  /tmp/
10
10
  *.gem
11
11
  .DS_Store
12
+ .vscode/settings.json
data/README.md CHANGED
@@ -151,8 +151,6 @@ class UserDashboard < Administrate::BaseDashboard
151
151
  end
152
152
  ```
153
153
 
154
- To disable this feature, set `destroy_url` to `nil`.
155
-
156
154
  ## Options
157
155
 
158
156
  Various options can be passed to `Administrate::Field::ActiveStorage#with_options`
@@ -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.3"
5
+ gem.version = "0.3.4"
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"
@@ -13,7 +13,7 @@
13
13
  autobuffer: true,
14
14
  style: "object-fit: contain; width: 100%; height: 100%;") %>
15
15
  <% else %>
16
- <%= video_tag(field.url(attachment), controls: true, autobuffer: true, style: style) %>
16
+ <%= video_tag(field.url(attachment), controls: true, autobuffer: true, style: "object-fit: contain; width: 100%; height: 100%;") %>
17
17
  <% end %>
18
18
  <% elsif attachment.audio? %>
19
19
  <%= audio_tag(field.url(attachment), autoplay: false, controls: true) %>
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.3
4
+ version: 0.3.4
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-30 00:00:00.000000000 Z
11
+ date: 2020-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate