dockly 3.2.0.pre.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2MzMTNlNjU1OGM5MDJmY2M5MDYxNzk2YjA0OGIyMTVhZmNlNTBkYQ==
4
+ ODI3Y2E3MmU4NzIzNGM3Y2Q5MzA5MzQ0MTU0MmM5OTA5N2VjZTc3Mg==
5
5
  data.tar.gz: !binary |-
6
- MzRhMzcwZTNjYTRmYjFjODk3NTNjNWZjZDJiMGE3YmE2OGE4NjU2Mw==
6
+ M2RkM2IzMjJlNzhiMGMwZTdjNGI2NDIzYTliMDEyOGRhNThkOTQ3ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzNmMjE0ZWE2NmI1OTcxOTNhZTY1MzU0NzhlNGRmYTQwMzc2NWNhOGYwZWRm
10
- ZDljZGI3ODZiYjdkZjI3MzM2NzAwODM1ZDEwYjU1MjIzOGQ5YzQ2OWRlMjg0
11
- MWNjNjBlMGI0M2NkYTBjNmI4ZmI1ZjZlYTcxZjBlY2I0MmViMDU=
9
+ OTBmZjQ3OWUwOTU2N2RkYjk4ODYyY2M2ZmQ2ZDM5YmUzNjhkNGUwNWUzNmQ1
10
+ MWNlYmE4ZjlmZmYyMTczZDQ1MTRmODhhNjBhNjc3YzA2Nzg4NDdkODMwOWYw
11
+ ZjgyOTMxZWRjZDc4YmU2YzdiZmIxZTc3Nzg1Zjg1YWI4NDVmYjc=
12
12
  data.tar.gz: !binary |-
13
- NDQwYWNkOWViYWFmZDg3NzljNGMyM2VmNjc0NGZhOTUyMDQ0Yjc4MTlmMDRj
14
- NDQzNzVjMjEyMjBjODllMmJkOWY4ZDE4NGQ1NjIxZWMyZjQzZTUzZjg3NDU1
15
- NWVhMTRlYjg1NWVjMmQ1MDMzNDNhOTA2NDQ5MjNiZGQzYTlmNGQ=
13
+ YTZjYjU2OTYzZDc2ZmViM2IyNmUwZTE4NzQ3ZmYyNmM4OGQwMWM1NDc4NGE3
14
+ N2FjZjIzZjNiYWI4ZGNiNTJlODg3MmRjMjRjZTcxMDcyMTQwODg1OGQ4MjYz
15
+ ZWI4NWQ4NDNhMmJlYTFjNDA3ODdjNGIyOTFmMjI5ZGM1ZWUwNzg=
@@ -89,11 +89,17 @@ class Dockly::BuildCache::Base
89
89
 
90
90
  def push_to_s3(file)
91
91
  ensure_present! :s3_bucket, :s3_object_prefix
92
- connection.put_object(bucket: s3_bucket, key: s3_object(hash_output), body: file)
92
+ connection.put_object(
93
+ bucket: s3_bucket,
94
+ key: s3_object(hash_output),
95
+ body: file,
96
+ acl: 'bucket-owner-full-control',
97
+ )
93
98
  connection.copy_object(
94
99
  copy_source: [s3_bucket, s3_object(hash_output)].join('/'),
95
100
  bucket: s3_bucket,
96
- key: s3_object('latest')
101
+ key: s3_object('latest'),
102
+ acl: 'bucket-owner-full-control',
97
103
  )
98
104
  end
99
105
 
@@ -55,7 +55,8 @@ class Dockly::Deb
55
55
  Dockly.s3.copy_object(
56
56
  copy_source: File.join(s3_bucket, object),
57
57
  bucket: s3_bucket,
58
- key: s3_object_name
58
+ key: s3_object_name,
59
+ acl: 'bucket-owner-full-control',
59
60
  )
60
61
  info "Successfully copied s3://#{s3_bucket}/#{object} to s3://#{s3_bucket}/#{s3_object_name}"
61
62
  end
@@ -81,7 +82,12 @@ class Dockly::Deb
81
82
  raise "Package wasn't created!" unless File.exist?(build_path)
82
83
  info "uploading package to s3"
83
84
  File.open(build_path, 'rb') do |file|
84
- Dockly.s3.put_object(bucket: s3_bucket, key: s3_object_name, body: file)
85
+ Dockly.s3.put_object(
86
+ bucket: s3_bucket,
87
+ key: s3_object_name,
88
+ body: file,
89
+ acl: 'bucket-owner-full-control',
90
+ )
85
91
  end
86
92
  end
87
93
 
@@ -39,7 +39,8 @@ class Dockly::Docker
39
39
  Dockly.s3.copy_object(
40
40
  copy_source: File.join(s3_bucket, object),
41
41
  bucket: s3_bucket,
42
- key: s3_object
42
+ key: s3_object,
43
+ acl: 'bucket-owner-full-control',
43
44
  )
44
45
  info "Successfully copied s3://#{s3_bucket}/#{object} to s3://#{s3_bucket}/#{s3_object}"
45
46
  end
@@ -72,8 +72,11 @@ module Dockly
72
72
  end
73
73
 
74
74
  def multipart_upload
75
- @multipart_upload ||=
76
- connection.create_multipart_upload(bucket: s3_bucket, key: s3_object)
75
+ @multipart_upload ||= connection.create_multipart_upload(
76
+ bucket: s3_bucket,
77
+ key: s3_object,
78
+ acl: 'bucket-owner-full-control',
79
+ )
77
80
  end
78
81
  end
79
82
  end
@@ -1,8 +1,8 @@
1
1
  module Dockly
2
2
  MAJOR = 3
3
- MINOR = 2
3
+ MINOR = 3
4
4
  PATCH = 0
5
- RELEASE = 'pre.1'
5
+ RELEASE = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, PATCH, RELEASE].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.pre.1
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-29 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -305,9 +305,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
305
305
  version: '0'
306
306
  required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  requirements:
308
- - - ! '>'
308
+ - - ! '>='
309
309
  - !ruby/object:Gem::Version
310
- version: 1.3.1
310
+ version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
313
  rubygems_version: 2.6.2