kitchen-digitalocean 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b195be813c0b4455e274641c9bafe0c525ac78b
4
- data.tar.gz: 2cf560048e69eea4f874d83712bd5bcfefa33eea
3
+ metadata.gz: 5dd1488741c49a0f0865b351e50180e9adde8c86
4
+ data.tar.gz: 00d4a28be685e9b84675920568e7e0369377e3b9
5
5
  SHA512:
6
- metadata.gz: 57fc52d14b37f39efddf86cccfb6f0abfcfea06cd4baa14f9ddf18714f9e7c832e948021e2113c5efd558dd449f8508f61de9733aff2e37de7caa270153cbada
7
- data.tar.gz: e12307e0a2bfa4af8008ba062179b252ef9165c9a7c0eb00a7e36e992c492dcd217049c7c71399a647ca10fa54c3299dfdbd78e7ac69c3069eddb50924e0fd8b
6
+ metadata.gz: 936e9eadfc12521c5b848b37077317404e94bd275c71b5bd106aa0817a66a309e265f7ea2092553f588ab24dce2c9017859a9c1b681680be1437ea3438714f95
7
+ data.tar.gz: 021c0addf048701a539d7a924e73cae008d961e358ddeb2c5d06f3d7cccfba6d226a1bfa456a369b32d6b08af1eaa5aca1f91bcf1274be1c7cd1fe7cd1accd77
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.9.3 / 2015-08-21
2
+
3
+ * Show user_data option in debug output.
4
+ * Default to 'nologin' when Etc.getlogin doesn't work (windows).
5
+
1
6
  # 0.9.2 / 2015-07-20
2
7
 
3
8
  * [@joonas](https://github.com/joonas) [PR #41] Add the ability to map well-known platforms to slugs
@@ -114,7 +114,7 @@ module Kitchen
114
114
  def default_name
115
115
  [
116
116
  instance.name.gsub(/\W/, '')[0..14],
117
- Etc.getlogin.gsub(/\W/, '')[0..14],
117
+ (Etc.getlogin || 'nologin').gsub(/\W/, '')[0..14],
118
118
  Socket.gethostname.gsub(/\W/, '')[0..22],
119
119
  Array.new(7) { rand(36).to_s(36) }.join
120
120
  ].join('-').gsub(/_/, '-')
@@ -160,6 +160,7 @@ module Kitchen
160
160
  debug("digitalocean:ssh_key_ids #{config[:ssh_key_ids]}")
161
161
  debug("digitalocean:private_networking #{config[:private_networking]}")
162
162
  debug("digitalocean:ipv6 #{config[:ipv6]}")
163
+ debug("digitalocean:user_data #{config[:user_data]}")
163
164
  end
164
165
 
165
166
  def debug_client_config
@@ -19,7 +19,7 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Digital Ocean Kitchen driver
22
- DIGITALOCEAN_VERSION = '0.9.2'
22
+ DIGITALOCEAN_VERSION = '0.9.3'
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Fitzgerald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen