anaconda 0.9.8 → 0.9.9

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: eced0a901d48850eb806a212759556c4f4ffc0dc
4
- data.tar.gz: fd53ac40c05633eeb002b0de82709216847c4806
3
+ metadata.gz: f267674828c154fdf30473bcee6e61c4823f234a
4
+ data.tar.gz: 7af7b81115ffe95e602e4d3fb64760dc7d030278
5
5
  SHA512:
6
- metadata.gz: 610eb68af269acc79b22a43b90782968c86585c582e3c648142176da8bf64820baacb99c40d3eb735738aefd0e3672bc1d8325f7a34e268b14fc9a5a6f43bd04
7
- data.tar.gz: 9156173ec7fb018e8f4bac93495151f2804ee5c93717db1ca2b5d7840bc3083e663376acb5f0dfc29b443c4457d93ed4056a0e784187a777decba33b0bbf4149
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#{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 )
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;
@@ -1,5 +1,5 @@
1
1
  module Anaconda
2
2
  module Rails
3
- VERSION = "0.9.8"
3
+ VERSION = "0.9.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anaconda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden