anaconda 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +3 -0
- data/lib/anaconda/form_builder_helpers.rb +2 -2
- data/lib/anaconda/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df27da6d0ac694b1fabcd6a4dc2dec3542bb2c7
|
4
|
+
data.tar.gz: d934848311a966483828904b770631b3e2026144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f629018124ca65353d42cefb13af6cf4b5d1fc6314e5b1aacf83f2422d6d373f41549dd21b348d19c9291e538c004e757d608ac96979287af7ada559cc2f2b5
|
7
|
+
data.tar.gz: f35d8aae3e8c34ab70c406854e9c617e14bbf2cf2d2d32122916d0d7da742cd141d52d0fb0c132f068f087c58b6427d2a6825e9d21dfc7b148debac85f3863e6
|
data/README.markdown
CHANGED
@@ -151,6 +151,9 @@ We highly recommend the `figaro` gem [https://github.com/laserlemon/figaro](http
|
|
151
151
|
The magic method is asset_url which will return a signed S3 URL if the file is stored with an ACL of `private` and will return a non-signed URL if the file is stored with public access.
|
152
152
|
|
153
153
|
## Changelog
|
154
|
+
* 0.9.6
|
155
|
+
* Fix `auto_upload` and `auto_submit` options.
|
156
|
+
|
154
157
|
* 0.9.5
|
155
158
|
* add `host` and `protocol` options to `anaconda_for`
|
156
159
|
|
@@ -45,8 +45,8 @@ module Anaconda
|
|
45
45
|
base_key: "#{options[:base_key]}",
|
46
46
|
allowed_types: #{options[:allowed_file_types].collect{ |i| i.to_s }},
|
47
47
|
upload_details_container: "#{options[:form_options][:upload_details_container]}",
|
48
|
-
upload_automatically:
|
49
|
-
submit_automatically:
|
48
|
+
upload_automatically: #{options[:form_options][:auto_upload] ||= false},
|
49
|
+
submit_automatically: #{options[:form_options][:auto_submit] ||= false},
|
50
50
|
resource: "#{instance.class.to_s.underscore}",
|
51
51
|
attribute: "#{options[:as]}"
|
52
52
|
});
|
data/lib/anaconda/version.rb
CHANGED