active_admin_multi_upload 0.0.3 → 0.0.4
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: b5b7bd0d7214bec038731717e6bac71d684f7cae
|
4
|
+
data.tar.gz: 372d2f48199136292479109d0c55de1c9aacdec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ad9e8954cdd7c1c0cf12bf1e03e22d3b7cfba626bccc24d15ac49726c7fc1c7670e6e5f938f121d2a3012ebc9a55453c1b796930db1fa02bbe94e2aa5678b9
|
7
|
+
data.tar.gz: 7b1554de4b5319bb7896331c5b6851d35f81c0ff1c8c4479e667dbfdc5d5553486e24dfddc72beafa136c3c955138a6335da12a6fee0cca1acb315ecee5dc2b3
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
<% options = options ||= {}
|
5
|
-
uploaded_ids_form_input_name = options[:uploaded_ids_form_input_name] ||= "#{resource.class.name.
|
5
|
+
uploaded_ids_form_input_name = options[:uploaded_ids_form_input_name] ||= "#{resource.class.name.underscore}[#{association.singularize}_ids][]"
|
6
6
|
existing_uploads = options[:existing_uploads] ||= resource.send(association.to_sym)
|
7
|
-
input_id_prefix = options[:input_id_prefix] ||= "#{resource.class.name.
|
7
|
+
input_id_prefix = options[:input_id_prefix] ||= "#{resource.class.name.underscore}_#{association.singularize}_ids_"
|
8
8
|
post_url = options[:post_url] ||= "/admin/#{association}/create_upload"
|
9
|
-
input_name = options[:input_name] ||= "#{association.singularize}[#{attribute}]"
|
9
|
+
input_name = options[:input_name] ||= "#{association.singularize.underscore}[#{attribute}]"
|
10
10
|
uploader_id = options[:uploader_name] ||= "#{association}_uploader"
|
11
11
|
|
12
12
|
%>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_multi_upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Norman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|