anaconda 0.9.9 → 0.9.10
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/app/assets/javascripts/anaconda_uploader.js.coffee +3 -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: ec2d1ef0a9efcf1065ca2210f211c9a20653b662
|
4
|
+
data.tar.gz: 4ca928455cb8bc4be2ae93b5b5d4d03c9db0900e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5f122214ac0b2fa4cdde29f29ec2d1d6ba421d7213bdcd344795958a72bb6b9d8083eb1f1a68c318c36d8253488c9d884a37e8440c44c40c625030bcea7de69
|
7
|
+
data.tar.gz: 9d0c53d7bd5e1aa15ccf81f320e0225826824b23d705473aa80426d3b439e5414e496ecd8c5ffd9c5c74ae50a59f61c35f7e14c41862d5ba911437d0f323f9ff
|
data/README.markdown
CHANGED
@@ -152,6 +152,9 @@ 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.10
|
156
|
+
* Fix bug when attribute had more than one underscore
|
157
|
+
|
155
158
|
* 0.9.9
|
156
159
|
* Fix bug untroduced in previous version
|
157
160
|
* 0.9.8
|
@@ -239,8 +239,9 @@ class @AnacondaUploadField
|
|
239
239
|
# DLog "will now fill form #{@upload_complete_form_to_fill}"
|
240
240
|
|
241
241
|
DLog "#{@resource}_#{@attribute}_file_path"
|
242
|
-
hyphenated_resource = @resource.replace(
|
243
|
-
hyphenated_attribute = @attribute.replace(
|
242
|
+
hyphenated_resource = @resource.replace(/_/g, "-")
|
243
|
+
hyphenated_attribute = @attribute.replace(/_/g, "-")
|
244
|
+
DLog "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-file-path]"
|
244
245
|
|
245
246
|
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-file-path]" ).val( @key.replace("${filename}", @file.name) )
|
246
247
|
$( @element_id ).siblings( "input[data-#{hyphenated_resource}-#{hyphenated_attribute}-filename]" ).val( @file.name )
|
data/lib/anaconda/version.rb
CHANGED