anaconda 0.9.1 → 0.9.2

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: d5c39c58bac90e84af18f2b81d0bfd36a81b937c
4
- data.tar.gz: e0b98f5d1e1aa018b9cdf11266ce9bb5a1850198
3
+ metadata.gz: a2746d31e7d8b251a9d0f4cacd13b3f5d645551a
4
+ data.tar.gz: 189f231b3318612ad7288387efe0186419efd456
5
5
  SHA512:
6
- metadata.gz: fe908d46e6bac0af90be5d7e1165b8708059493aea556a9366e2c101af190d237605c8432b6b538dad31eac4ef4d5556ab33b812c062a604f9550a32a137e2c9
7
- data.tar.gz: e72559222bee2e36a59835b231786e7e90572df22a2d180ef007bca3eb389768afbd745910daa52fbd1e27bb5288bda20decd5a9f7f760ba7f733cab825a7117
6
+ metadata.gz: f4352b3b5ea59ee8f0034ec422b6414dddc28dbbef66829439c0acccb577ccddc9c93285a13dd134cbe02bd4b5727434c5c83099747baae5ad3c9d47419f4ec8
7
+ data.tar.gz: c4f3b9b7d280614e7058667353e539a93a5a3f0aa46b575fabe29886bd6ca23d58b54acac24e97b58c714ceeaea993f4246711a2fd648476699c7dc49eb579b0
@@ -140,14 +140,12 @@ We highly recommend the `figaro` gem [https://github.com/laserlemon/figaro](http
140
140
  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.
141
141
 
142
142
  ## Changelog
143
+ * 0.9.2
144
+ * Always use UTC for policy expiration date, even if Time.zone is set to something else.
143
145
 
144
- * 0.2.0
145
-
146
- * Add support for multiple `anaconda_for` calls per model. Currently limited to one per form, however.
147
-
148
- * Improve migration generation file and class naming to include field name
149
-
150
- * `post_media.asset_url` will now return nil if the file_path is nil
146
+ * 0.9.1
147
+
148
+ * Fix for anaconda:migration when the field name has an underscore in it
151
149
 
152
150
  * 0.9.0
153
151
 
@@ -161,6 +159,16 @@ We highly recommend the `figaro` gem [https://github.com/laserlemon/figaro](http
161
159
 
162
160
  * Add file_types to anaconda config
163
161
 
162
+ * Add fix for sites using Turbolinks
163
+
164
+ * 0.2.0
165
+
166
+ * Add support for multiple `anaconda_for` calls per model. Currently limited to one per form, however.
167
+
168
+ * Improve migration generation file and class naming to include field name
169
+
170
+ * `post_media.asset_url` will now return nil if the file_path is nil
171
+
164
172
  ## Contributing to anaconda
165
173
 
166
174
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
@@ -66,7 +66,7 @@ module Anaconda
66
66
  aws_secret_access_key: Anaconda.aws[:aws_secret_key],
67
67
  bucket: Anaconda.aws[:aws_bucket],
68
68
  acl: "public-read",
69
- expiration: 10.hours.from_now,
69
+ expiration: 10.hours.from_now.utc,
70
70
  max_file_size: 500.megabytes,
71
71
  as: "file"
72
72
  )
@@ -1,5 +1,5 @@
1
1
  module Anaconda
2
2
  module Rails
3
- VERSION = "0.9.1"
3
+ VERSION = "0.9.2"
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.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden