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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f6320e41f8d3a3c92628c2f4a97b9c6cb650638
4
- data.tar.gz: 63e601a5888ffb6c6bb8a09cb3e74ce9fd620097
3
+ metadata.gz: 5b090d33b53e168ee13379616652d080bc4bd461
4
+ data.tar.gz: 18514e6676da70a2e6fb15cca785e5c974202027
5
5
  SHA512:
6
- metadata.gz: 2e934e133d36bb1386e99e86c786bb8ba41831b6e9c44a708c1e4aa38da34738364b01cb221a3965e07e2cf6efce0415fb919676eabfe5ab2730ab940c3a97b4
7
- data.tar.gz: f781c7ef2f4c22d5f62462aac173f43381509835784b2e0da8ba0104f309daa02a9d1c503052b6774eda743b737012ed3828f27609c34428485eb0a01557c2de
6
+ metadata.gz: 93457344b41f4febc0e835d9ad70bb8158602579d13edd078d248da359e898bea7464e54bb4abc7b619d4c7c6935de39a93f9cbc4d2772f5833e1daf930ce2c8
7
+ data.tar.gz: 99dc4da9eb96dae58a2526fdb36b61aa77dac64a929bb8337f7a1263b6c6f7f2ab048172d1aa9161220975fd88f84bb477f731edd5f32b6679333a5ecc568995
@@ -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:
@@ -1,3 +1,3 @@
1
1
  module Mamiya
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -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.0
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-15 00:00:00.000000000 Z
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.4.1
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