mamiya 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mamiya/storages/s3.rb +1 -1
- data/lib/mamiya/version.rb +1 -1
- data/spec/storages/s3_spec.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b090d33b53e168ee13379616652d080bc4bd461
|
4
|
+
data.tar.gz: 18514e6676da70a2e6fb15cca785e5c974202027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93457344b41f4febc0e835d9ad70bb8158602579d13edd078d248da359e898bea7464e54bb4abc7b619d4c7c6935de39a93f9cbc4d2772f5833e1daf930ce2c8
|
7
|
+
data.tar.gz: 99dc4da9eb96dae58a2526fdb36b61aa77dac64a929bb8337f7a1263b6c6f7f2ab048172d1aa9161220975fd88f84bb477f731edd5f32b6679333a5ecc568995
|
data/lib/mamiya/storages/s3.rb
CHANGED
@@ -96,7 +96,7 @@ module Mamiya
|
|
96
96
|
}.compact
|
97
97
|
raise NotFound if objs_to_delete.empty?
|
98
98
|
|
99
|
-
s3.delete_objects(bucket: @config[:bucket], objects: objs_to_delete)
|
99
|
+
s3.delete_objects(bucket: @config[:bucket], delete: {objects: objs_to_delete})
|
100
100
|
end
|
101
101
|
|
102
102
|
def self.initiate_s3_with_config(config) # :nodoc:
|
data/lib/mamiya/version.rb
CHANGED
data/spec/storages/s3_spec.rb
CHANGED
@@ -257,7 +257,7 @@ describe Mamiya::Storages::S3 do
|
|
257
257
|
end
|
258
258
|
|
259
259
|
it "removes specified package from S3" do
|
260
|
-
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}])
|
260
|
+
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', delete: {objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}]})
|
261
261
|
remove
|
262
262
|
end
|
263
263
|
|
@@ -265,7 +265,7 @@ describe Mamiya::Storages::S3 do
|
|
265
265
|
let(:package_name) { 'test.tar.gz' }
|
266
266
|
|
267
267
|
it "removes specified package from S3" do
|
268
|
-
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}])
|
268
|
+
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', delete: {objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}]})
|
269
269
|
remove
|
270
270
|
end
|
271
271
|
end
|
@@ -274,7 +274,7 @@ describe Mamiya::Storages::S3 do
|
|
274
274
|
let(:package_name) { 'test.json' }
|
275
275
|
|
276
276
|
it "removes specified package from S3" do
|
277
|
-
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}])
|
277
|
+
expect(s3).to receive(:delete_objects).with(bucket: 'testbucket', delete: {objects: [{key: 'myapp/test.tar.gz'}, {key: 'myapp/test.json'}]})
|
278
278
|
remove
|
279
279
|
end
|
280
280
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mamiya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
297
|
version: '0'
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
|
-
rubygems_version: 2.
|
300
|
+
rubygems_version: 2.2.2
|
301
301
|
signing_key:
|
302
302
|
specification_version: 4
|
303
303
|
summary: Fast deploy tool using tarballs and serf
|