kitchen-ec2 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8175b385d762471ef97ce9284d22097c0f22c5c9
4
+ data.tar.gz: 01c885f833e299df244fb2ea400954626d0e39e3
5
+ SHA512:
6
+ metadata.gz: a3d6c367265a0f8ff646a2d3018fc008e553bbdddf1d92692fc64e986d6d9f24bd787617d83bdc7cdc11d9e39eb45c7330aa9fdcf9076d776d4c4802a93e9c43
7
+ data.tar.gz: 47303e7a66e892ccc7a357cb746b9b06cc9ace14166e36d15bd000a93d1ffe97b3bda2ea844cbbbba75efeec64b444e873aa9af7941a627602de38bb45eaf9ee
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.6.0 / 2013-07-23
2
+
3
+ ### Bug fixes
4
+
5
+ * Pull request [#8][]: Use private ip if the public ip is `nil`. ([@dissonanz][])
6
+
7
+ ### Improvements
8
+
9
+ * Pull request [#9][]: Match access and secret key env vars in example kitchen config with CLI tools' env vars. ([@juliandunn][])
10
+
11
+
1
12
  ## 0.5.1 / 2013-05-23
2
13
 
3
14
  ### New features
@@ -22,7 +33,10 @@
22
33
  [#2]: https://github.com/opscode/kitchen-ec2/issues/2
23
34
  [#5]: https://github.com/opscode/kitchen-ec2/issues/5
24
35
  [#7]: https://github.com/opscode/kitchen-ec2/issues/7
36
+ [#8]: https://github.com/opscode/kitchen-ec2/issues/8
37
+ [#9]: https://github.com/opscode/kitchen-ec2/issues/9
25
38
  [@dissonanz]: https://github.com/dissonanz
26
39
  [@fnichol]: https://github.com/fnichol
27
40
  [@halcyonCorsair]: https://github.com/halcyonCorsair
41
+ [@juliandunn]: https://github.com/juliandunn
28
42
  [@mattray]: https://github.com/mattray
data/README.md CHANGED
@@ -161,8 +161,8 @@ ERB which can help to factor out secrets and credentials. For example:
161
161
  ---
162
162
  driver_plugin: ec2
163
163
  driver_config:
164
- aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
165
- aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
164
+ aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %>
165
+ aws_secret_access_key: <%= ENV['AWS_SECRET_KEY'] %>
166
166
  aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %>
167
167
  ssh_key: <%= File.expand_path('~/.ssh/id_rsa') %>
168
168
  region: us-east-1
data/kitchen-ec2.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'test-kitchen', '~> 1.0.0.alpha.7'
20
+ gem.add_dependency 'test-kitchen', '~> 1.0.0.beta.1'
21
21
  gem.add_dependency 'fog'
22
22
 
23
23
  gem.add_development_dependency 'cane'
@@ -48,7 +48,7 @@ module Kitchen
48
48
 
49
49
  info("EC2 instance <#{state[:server_id]}> created.")
50
50
  server.wait_for { print "."; ready? } ; print "(server ready)"
51
- state[:hostname] = server.public_ip_address
51
+ state[:hostname] = server.public_ip_address || server.private_ip_address
52
52
  wait_for_sshd(state[:hostname]) ; print "(ssh ready)\n"
53
53
  debug("ec2:create '#{state[:hostname]}'")
54
54
  rescue Fog::Errors::Error, Excon::Errors::Error => ex
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for EC2 Test Kitchen driver
24
- EC2_VERSION = "0.5.1"
24
+ EC2_VERSION = "0.6.0"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
5
- prerelease:
4
+ version: 0.6.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Fletcher Nichol
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-23 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: test-kitchen
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 1.0.0.alpha.7
19
+ version: 1.0.0.beta.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 1.0.0.alpha.7
26
+ version: 1.0.0.beta.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: fog
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: cane
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: tailor
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: countloc
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: Kitchen::Driver::Ec2 - A Test Kitchen Driver for Ec2
@@ -112,32 +101,25 @@ files:
112
101
  - lib/kitchen/driver/ec2_version.rb
113
102
  homepage: https://github.com/opscode/kitchen-ec2/
114
103
  licenses: []
104
+ metadata: {}
115
105
  post_install_message:
116
106
  rdoc_options: []
117
107
  require_paths:
118
108
  - lib
119
109
  required_ruby_version: !ruby/object:Gem::Requirement
120
- none: false
121
110
  requirements:
122
- - - ! '>='
111
+ - - '>='
123
112
  - !ruby/object:Gem::Version
124
113
  version: '0'
125
- segments:
126
- - 0
127
- hash: 3686965333695541098
128
114
  required_rubygems_version: !ruby/object:Gem::Requirement
129
- none: false
130
115
  requirements:
131
- - - ! '>='
116
+ - - '>='
132
117
  - !ruby/object:Gem::Version
133
118
  version: '0'
134
- segments:
135
- - 0
136
- hash: 3686965333695541098
137
119
  requirements: []
138
120
  rubyforge_project:
139
- rubygems_version: 1.8.24
121
+ rubygems_version: 2.0.3
140
122
  signing_key:
141
- specification_version: 3
123
+ specification_version: 4
142
124
  summary: Kitchen::Driver::Ec2 - A Test Kitchen Driver for Ec2
143
125
  test_files: []