anaconda 0.9.5 → 0.9.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 727ecb3cc6b44aed50ca4c56b309a0e0bf6846dc
4
- data.tar.gz: 2192a007591dc147975a90346e3cb5ed9ef9bd94
3
+ metadata.gz: 8df27da6d0ac694b1fabcd6a4dc2dec3542bb2c7
4
+ data.tar.gz: d934848311a966483828904b770631b3e2026144
5
5
  SHA512:
6
- metadata.gz: fba2e3e944129fdee8ba065d3ab95af61949418bbf2f5a24b9367011f15fcf7e48d23bb1860649fc109382f46d20ce3113211b6469037d286d7c5231ff8b9615
7
- data.tar.gz: 14a384f8e00452993c1db28e3177b4d126a77ef224eae4de628ca5d6029a956f6d5f406564d4d973cf0c09150b8013c3c5323e49b6b155f31976e75bab634136
6
+ metadata.gz: 8f629018124ca65353d42cefb13af6cf4b5d1fc6314e5b1aacf83f2422d6d373f41549dd21b348d19c9291e538c004e757d608ac96979287af7ada559cc2f2b5
7
+ data.tar.gz: f35d8aae3e8c34ab70c406854e9c617e14bbf2cf2d2d32122916d0d7da742cd141d52d0fb0c132f068f087c58b6427d2a6825e9d21dfc7b148debac85f3863e6
@@ -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: "#{options[:form_options][:auto_upload]}",
49
- submit_automatically: "#{options[:form_options][:auto_submit]}",
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
  });
@@ -1,5 +1,5 @@
1
1
  module Anaconda
2
2
  module Rails
3
- VERSION = "0.9.5"
3
+ VERSION = "0.9.6"
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.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden