kitchen-gogetkitchen 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: 95497cbe37df011b434ddc25d149d5086e09cace
4
- data.tar.gz: aafd05beeaab9ea870f5e1a9171a04471e06c184
3
+ metadata.gz: 48484af3a236f0c2c44c88d65f131c1eb0d428df
4
+ data.tar.gz: 9d28dc14c5a64ce4337dcbb15029478ab80a8212
5
5
  SHA512:
6
- metadata.gz: 60c59fff4006222371e67b8533102e15bb74f3a4d8ef7c178c798d3d457a729ef2f56c4b917b9ff5a1aafbf78bf80811dffc82c08036ee8e3c3f4d97e61c2503
7
- data.tar.gz: ac3f32251e7df20fce0566c2c618980e0628e07d16ce3c8ddd3e2d99dc68b60fb65793362e18978e623f99c6420bf67b9d44539bedbd6d6034e1a9f264b2766a
6
+ metadata.gz: 9fc759e257454296515acbd44c419c3dab3b03e6dddf600727b0b71b04af23e81e5de0f1b367fa828e383a3d7c7307e03dea4677b65155b5e3844ab6c4dd6502
7
+ data.tar.gz: 0570b3022d87f12f96d677217f47c7fdbd316fd20cccacf090818c89585bd9473665ef075f35bbb2964191c482d072cd6be11aa787c13edbc39eef986b78fa90
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency 'test-kitchen', '~> 1.16.0'
22
- spec.add_dependency 'gogetit', '~> 0.4.0'
22
+ spec.add_dependency 'gogetit'
23
23
 
24
24
  spec.add_development_dependency 'pry', '~> 0.10.4'
25
25
  spec.add_development_dependency 'bundler', '~> 1.3'
@@ -39,10 +39,10 @@ module Kitchen
39
39
 
40
40
  def create(state)
41
41
  provider = choose_provider(config[:provider])
42
- provider.create(instance.name)
42
+ result = provider.create(instance.name)
43
43
  domain = Gogetit.maas.get_domain
44
44
  state[:hostname] = instance.name + '.' + domain
45
- state[:username] = config[:username]
45
+ state[:username] = result[:info][:default_user]
46
46
  info 'Waiting for the new domain to be available..'
47
47
  wait_until_available(instance.name)
48
48
 
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for Gogetkitchen Kitchen driver
24
- GOGETKITCHEN_VERSION = "0.2.0"
24
+ GOGETKITCHEN_VERSION = "0.2.1"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-gogetkitchen
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
  - Don Draper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2018-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: gogetit
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.4.0
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.4.0
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement