carrierwave-aws 0.7.0 → 0.7.1

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: c1e20392785ccfd2e605fc9767c0dc197ad37a68
4
- data.tar.gz: 50b782478484e7943ebd65a92a0e5d85941b1160
3
+ metadata.gz: ba226a48cc2bb7c014329fbcf205750c5f982f56
4
+ data.tar.gz: 6c8f49b0303be86d830851e27debcdafe6aba063
5
5
  SHA512:
6
- metadata.gz: ead96dc851927e50fac612af14175c5c2d24a05ec05a345fea5e67cb0656f040595f8548d45705f300a7305a887702ebb68fc3f4df9a9d2cbe2d7c35fd5265db
7
- data.tar.gz: cca3f59e0331a5dcbfdc72323105eaa30b798142853eb7ef42798e57dd55e2d143551c96a616d2ae41f89f7c0971fcf5c0f3c2a8106b75b8aa61b640d2c67597
6
+ metadata.gz: 65a1661eb0dd592478ead5b81684d8c733773a6e7e14c751a702fbaaa1cc93c4f0901de83e330bc6c6f10b55aa1ed12aebe23d81df828649e85a481f3d026657
7
+ data.tar.gz: b3756f6fb78b166ce839bf13efe78f0d1b496489e84882989bd5f8248b7dbd568b9e007f1f62eb5e3e36e053d5c60c58f9071a1be425ad26728e359fe196654c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Version 0.7.1 2015-07-21
2
+
3
+ * Fix: Always compare the `aws_acl` as a string during url generation. This
4
+ prevents unexpected authenticated url generation when the acl type has a
5
+ mismatch.
6
+
1
7
  ## Version 0.7.0 2015-07-02
2
8
 
3
9
  * Revert to AWS-SDK v1. There are too many breaking changes between v1 and v2 to
@@ -1,5 +1,5 @@
1
1
  module Carrierwave
2
2
  module AWS
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
5
5
  end
@@ -55,7 +55,7 @@ module CarrierWave
55
55
  end
56
56
 
57
57
  def url(options = {})
58
- if uploader.aws_acl != :public_read
58
+ if uploader.aws_acl.to_s != 'public_read'
59
59
  authenticated_url(options)
60
60
  else
61
61
  public_url
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Selbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave