effective_assets 1.5.5 → 1.5.6

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: 2f86f8417655147b214fbbc1eb1749d95d4b314e
4
- data.tar.gz: f5fec832e07bdbe3d6b803d4f23ed50754d706c3
3
+ metadata.gz: 9247ad0289b7de53ecc55998f27a453b9cb46588
4
+ data.tar.gz: 079f76d639fb5fb04d12f57867c145ebcd18cac7
5
5
  SHA512:
6
- metadata.gz: 2ad9b08f4b2b4ea8a1fde8f478fdf1604a638432bcddeee04279a17bee78ff89948a7ef8d7dc203c8027a8d4b854f43d1f4334fe065da2a1b2afb3010609fe1a
7
- data.tar.gz: ff4002a8309d7e38a78855abfa24f9cb27b99544c2dc1836390c033c0afc79a7cf5a5e5e810a2b268f7a07f7387905031a9f496c7b3548a579f78f85ff030093
6
+ metadata.gz: a979c933cb329f7182e35b400048e86f4c8944f25a47396461256f144dafbd08f3306d87d6634885f90ead9e4d36f41e1de8959b74393c7ce4a6f1ffa1c300ae
7
+ data.tar.gz: b4ce0c3003cde0720839887c1ba8da57489de6e2cc32cf6de8e65c1a7609883012227ea9028cfca9c6148e66cf4262d6007bf4f7abf6970a069e7bf3d2770bff
@@ -13,8 +13,8 @@
13
13
  %img{:src => asset_path('effective_assets/icon_close.png'), :alt => 'Remove'}
14
14
 
15
15
  - if attachment.persisted?
16
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][id]", attachment.id)
17
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
18
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][box]", attachment.box)
19
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
20
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][position]", 1)
16
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][id]", attachment.id)
17
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
18
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][box]", attachment.box)
19
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
20
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][position]", 1)
@@ -30,7 +30,8 @@
30
30
  %i.glyphicon.glyphicon-trash
31
31
 
32
32
  - if attachment.persisted?
33
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][id]", attachment.id)
34
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
35
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][box]", attachment.box)
36
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
33
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][id]", attachment.id)
34
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
35
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][box]", attachment.box)
36
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
37
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][position]", 1)
@@ -16,8 +16,8 @@
16
16
  %img{:src => asset_path('effective_assets/icon_close.png'), :alt => 'Remove'}
17
17
 
18
18
  - if attachment.persisted?
19
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][id]", attachment.id)
20
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
21
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][box]", attachment.box)
22
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
23
- = hidden_field_tag(attachable_object_name + "[attachments_attributes][#{uid}][position]", 1)
19
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][id]", attachment.id)
20
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][asset_id]", attachment.asset_id)
21
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][box]", attachment.box)
22
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][_destroy]", attachment.marked_for_destruction? ? 1 : nil, :class => 'asset-box-remove')
23
+ = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][position]", 1)
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.5.5'.freeze
2
+ VERSION = '1.5.6'.freeze
3
3
  end
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.5.5
4
+ version: 1.5.6
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: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails