beaker-answers 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,9 @@ module HostHelpers
82
82
 
83
83
  host = make_opts.merge(host_hash)
84
84
 
85
+ allow(host).to receive( :reachable_name ).and_return( name )
85
86
  allow(host).to receive( :name ).and_return( name )
87
+ allow(host).to receive( :hostname ).and_return( host[:hostname] )
86
88
  allow(host).to receive( :to_s ).and_return( name )
87
89
  allow(host).to receive( :exec ).and_return( generate_result( name, host_hash ) )
88
90
  host
@@ -94,6 +96,7 @@ module HostHelpers
94
96
  name = HOST_NAME % num
95
97
  opts = { :snapshot => HOST_SNAPSHOT % num,
96
98
  :ip => HOST_IP % name,
99
+ :hostname => "#{name}.test",
97
100
  :template => HOST_TEMPLATE % name,
98
101
  :box => HOST_BOX % name,
99
102
  :box_url => HOST_BOX_URL % name }.merge( preset_opts )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-answers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-10 00:00:00.000000000 Z
12
+ date: 2016-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -165,6 +165,20 @@ dependencies:
165
165
  - - ~>
166
166
  - !ruby/object:Gem::Version
167
167
  version: 1.3.2
168
+ - !ruby/object:Gem::Dependency
169
+ name: hocon
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ~>
173
+ - !ruby/object:Gem::Version
174
+ version: 0.9.5
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ~>
180
+ - !ruby/object:Gem::Version
181
+ version: 0.9.5
168
182
  description: For use for the Beaker acceptance testing tool
169
183
  email:
170
184
  - qe-team@puppetlabs.com
@@ -185,7 +199,10 @@ files:
185
199
  - bin/beaker-answers
186
200
  - lib/beaker-answers.rb
187
201
  - lib/beaker-answers/answers.rb
202
+ - lib/beaker-answers/helpers.rb
188
203
  - lib/beaker-answers/version.rb
204
+ - lib/beaker-answers/versions/upgrade.rb
205
+ - lib/beaker-answers/versions/upgrade38.rb
189
206
  - lib/beaker-answers/versions/version20.rb
190
207
  - lib/beaker-answers/versions/version20153.rb
191
208
  - lib/beaker-answers/versions/version20161.rb
@@ -197,6 +214,9 @@ files:
197
214
  - lib/beaker-answers/versions/version38.rb
198
215
  - lib/beaker-answers/versions/version40.rb
199
216
  - spec/beaker-answers/beaker-answers_spec.rb
217
+ - spec/beaker-answers/helpers_spec.rb
218
+ - spec/beaker-answers/upgrade_spec.rb
219
+ - spec/beaker-answers/versions/version20162_spec.rb
200
220
  - spec/helpers.rb
201
221
  - spec/spec_helper.rb
202
222
  homepage: https://github.com/puppetlabs/beaker-answers