anaconda 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.markdown +2 -0
- data/app/assets/javascripts/anaconda_uploader.js.coffee +3 -3
- 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: f267674828c154fdf30473bcee6e61c4823f234a
|
|
4
|
+
data.tar.gz: 7af7b81115ffe95e602e4d3fb64760dc7d030278
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ed5c20d0ebebd468e541d44de9262a71675d7bd24dedfa077241b96e3e59c79a62c1a441c655b0e19bfea960bc0b9fe36c72092e06ae897592b8217cb3f4223
|
|
7
|
+
data.tar.gz: 6dd4417a7cb481ebff2ec14c280b685782f6cfe9df6ca0420f6b4600c45ce3af5b7699c7c11ac43ecfcc6914036b1a42820be23df49bff7ba7f16f84681bcc37
|
data/README.markdown
CHANGED
|
@@ -152,6 +152,8 @@ We highly recommend the `figaro` gem [https://github.com/laserlemon/figaro](http
|
|
|
152
152
|
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.
|
|
153
153
|
|
|
154
154
|
## Changelog
|
|
155
|
+
* 0.9.9
|
|
156
|
+
* Fix bug untroduced in previous version
|
|
155
157
|
* 0.9.8
|
|
156
158
|
* Add `base_key` option
|
|
157
159
|
* Change the way we identify hidden elements to work when we're using this in a nested form.
|
|
@@ -243,9 +243,9 @@ class @AnacondaUploadField
|
|
|
243
243
|
hyphenated_attribute = @attribute.replace("_", "-")
|
|
244
244
|
|
|
245
245
|
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-file-path]" ).val( @key.replace("${filename}", @file.name) )
|
|
246
|
-
$( @element_id ).siblings( "input[data
|
|
247
|
-
$( @element_id ).siblings( "input[data
|
|
248
|
-
$( @element_id ).siblings( "input[data
|
|
246
|
+
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-filename]" ).val( @file.name )
|
|
247
|
+
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-size]" ).val( @file.size )
|
|
248
|
+
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-type]" ).val( @file.type )
|
|
249
249
|
|
|
250
250
|
@upload_in_progress = false;
|
|
251
251
|
@upload_completed = true;
|
data/lib/anaconda/version.rb
CHANGED