effective_assets 1.9.8 → 1.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/views/asset_box_input/_attachment_as_table.html.haml +3 -3
- data/lib/effective_assets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a5ec4c3fd08df8fd4fa4746c988c05a71bbeeb7
|
4
|
+
data.tar.gz: 2790762d8b17b592c521799b6ff6ae80fe9322f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db6ff9491afe90ff7c22103317cbeae96327537ec82c39765a02ef218b6e67191556bfbc40d483e016d63f0ab467583bdd5048fed13cbfa3663bc9aa0bd8d3d0
|
7
|
+
data.tar.gz: 42a04fdcf8d9b682aa869ee976e0ace7f76e8674c8ee5fc3388b498c865c3fa0aafce4775910adb89839edbe7713d0440c247a44f5c345ac67334674eff8c39c
|
data/README.md
CHANGED
@@ -17,11 +17,11 @@
|
|
17
17
|
- if attachment_actions.include?('insert') || attachment_actions.include?('attach')
|
18
18
|
- asset = attachment.asset
|
19
19
|
- if asset.image? || asset.icon?
|
20
|
-
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_image_tag(asset, nil, public: true)} Attach
|
20
|
+
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_image_tag(asset, nil, public: true).gsub("'", '"').html_safe} Attach
|
21
21
|
- elsif asset.video?
|
22
|
-
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_video_tag(asset, nil, public: true)} Attach
|
22
|
+
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_video_tag(asset, nil, public: true).gsub("'", '"').html_safe} Attach
|
23
23
|
- else
|
24
|
-
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_link_to(asset, nil, public: true)} Attach
|
24
|
+
%a.btn.btn-primary.attachment-insert{:href => '#', 'data-asset-id' => asset.id, 'data-asset' => effective_asset_link_to(asset, nil, public: true).gsub("'", '"').html_safe} Attach
|
25
25
|
|
26
26
|
- if attachment_actions.include?('remove')
|
27
27
|
%a.attachment-remove{:href => '#', :title => 'Remove'}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|