lol_multiple_uploads 1.0.1 → 1.0.2
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: 147ed1d1db98b9e8c1366699145c94a6d5aafbf8
|
4
|
+
data.tar.gz: 4dc6e3beb64bcfaf53ff1dec7bad3154a6af58d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c3a986d4a8b6844c66c3393aad32d87d03946484222bfb8eacf3308584ead9472f3f07fff98d6c356549ec933a8ac30d99c2c14161485cf7fe1bb55e3afd8a9
|
7
|
+
data.tar.gz: 8742b3452937a90d5e53f48edfbcf9820f78f6147cbc01cb81dde6fafa809184227f054968af97349af0eeb11c334db43f03e0c6e90000e1310f43a5bebb6ec9
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module UploadHelper
|
2
|
-
def upload_link(name='Upload File', object=nil, image_container='images-container')
|
2
|
+
def upload_link(name='Upload File', object=nil, image_container='.images-container')
|
3
3
|
link_to(name, 'javascript://', class: 'multiple_upload', 'data-model' => object.class, 'data-model-id' => object.id, 'data-store-path' => upload_image_path(format: 'json'), 'data-file-picker-key' => "#{PICKER_KEY}", 'data-image-container' => image_container) unless object.nil? || object.new_record?
|
4
4
|
end
|
5
5
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lol_multiple_uploads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Zaghi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|