dpl-ops_works 1.9.5.travis.2783.5 → 1.9.5

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
- SHA256:
3
- metadata.gz: f4d10f4efdf36e34a145ad6de12a9f3c302b4b78ae4d631ff353cdcf991b75d8
4
- data.tar.gz: 569b8a081eb01d4323b76ae6f40ed062897b92c50b25365877db9be1dce42179
2
+ SHA1:
3
+ metadata.gz: aa2268154a03201cd58bb9d17e0efd2d5d7ec309
4
+ data.tar.gz: 99b0ee29e56ae20b183f4dbe3b589e9093b8f236
5
5
  SHA512:
6
- metadata.gz: dc1e2ff3a581f42417f60114cb0698dac1d840001e5027a297b1882199b9d863121dfb99b3610033a14f8bcbcedcce8d7a0f5b17176d4528fbb15c480e936b41
7
- data.tar.gz: e04228ecdfc044ebe50659e10605f6df24331df8afd3513f74dcb702bd8f57e97f5e1846434dc2be75c5854065804a1ff983ab79563c8c103b536fd7e65e23fc
6
+ metadata.gz: 36945669155c7fa687843e796f3cbd6fcd5ed0d1039c4fb6c46e6a4812e1c5fc9a531419ad7f23edecd23c22a8d326dd71aee988ae32210579e1bac9f04ab62f
7
+ data.tar.gz: 454d47840822d0a69c763cc738943fce9be202757b730bf133f2a7620c8167de27cdab20c352dc80c54b70114dc7b3b99463442479542aa876bd0f3a078d316c
@@ -115,6 +115,16 @@ describe DPL::Provider::OpsWorks do
115
115
  provider.push_app
116
116
  end
117
117
 
118
+ example 'with :wait_until_deployed and :update_app_on_success' do
119
+ provider.options.update(app_id: 'app-id', wait_until_deployed: 'true', update_app_on_success: 'false')
120
+ expect(client).to receive(:describe_apps).with(app_ids: ['app-id']).and_return({apps: [ops_works_app]})
121
+ expect(client).to receive(:create_deployment).and_return({deployment_id: 'deployment_id'})
122
+ expect(client).to receive(:describe_deployments).with({deployment_ids: ['deployment_id']}).and_return({deployments: [status: 'running']}, {deployments: [status: 'successful']})
123
+ expect(provider).to_not receive(:update_app)
124
+
125
+ provider.push_app
126
+ end
127
+
118
128
  example 'with :instance-ids' do
119
129
  provider.options.update(app_id: 'app-id', instance_ids: ['instance-id'])
120
130
  expect(client).to receive(:describe_apps).with(app_ids: ['app-id']).and_return({apps: [ops_works_app]})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-ops_works
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.5.travis.2783.5
4
+ version: 1.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.9.5.travis.2783.5
19
+ version: 1.9.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.9.5.travis.2783.5
26
+ version: 1.9.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sdk
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -188,13 +188,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '2.2'
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
- - - ">"
191
+ - - ">="
192
192
  - !ruby/object:Gem::Version
193
- version: 1.3.1
193
+ version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.7.6
196
+ rubygems_version: 2.6.13
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: deploy tool
200
- test_files: []
200
+ test_files:
201
+ - spec/provider/ops_works_spec.rb