paperweight 0.0.3 → 0.0.4

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
  SHA256:
3
- metadata.gz: 39f65f36527e6e37da96d13a65a6216a69a78373dfadfed9584a75ee7e96870d
4
- data.tar.gz: b3dcc6ea2f7e7ee071f7059e6ba12c7d8ef31477359ac755f95dd1c633769745
3
+ metadata.gz: 7e81e2a2eea72f14d3dfadafc239665804ba2b9f75e57959f47dc989d2d23b81
4
+ data.tar.gz: '018d39028faec296de51f4c10a8bb073f02139a878b2fd0a9bc017cfcd33a972'
5
5
  SHA512:
6
- metadata.gz: 5e9ad05ce42b0205004b3038399fb7779545a34fc13716f5939cdfd3e1d698bd76c46e0290cf9a23f82aa2d43a7db1090ea95c3f923e6e0c58f7b748d744c8c9
7
- data.tar.gz: fe6b7ef9387ed13a1e042ffbcabfe20dd29126fdde2bd15a9f262493e8976be1159716b9a0b2b02d3cbc3426d2703d37741675f9a8e45cc6fe6a977a61c99de0
6
+ metadata.gz: f808df451ef384ff076d63a4ab90d7a53b44d91608f22ee022cdd526cb7d0ea00662a5d0113679bacb9fa144acbcfe62f6d2368910d9e0d5485860ebf1431d48
7
+ data.tar.gz: dcd3bf38cb5cf1e9aa60b708f9478db3fea4852be218d5c2fd8453f95733f05a07468b10f50b1f12b568e648cc1b746227eb1db59ecaf1f1871c184f8ebeeb5f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paperweight (0.0.3)
4
+ paperweight (0.0.4)
5
5
  aws-sdk-s3 (~> 1.13)
6
6
  paperclip (~> 6.0)
7
7
  rails (~> 5.2)
@@ -17,6 +17,7 @@ module Paperweight
17
17
 
18
18
  def put(file, key)
19
19
  client.put_object(
20
+ acl: 'public-read',
20
21
  bucket: Paperweight.config.bucket,
21
22
  key: key,
22
23
  content_type: Paperclip::ContentTypeDetector.new(file.path).detect,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paperweight
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperweight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Deisz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-14 00:00:00.000000000 Z
11
+ date: 2018-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3