beaker-abs 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +14 -0
- data/beaker-abs.gemspec +2 -2
- data/lib/beaker-abs/version.rb +1 -1
- data/lib/beaker/hypervisor/abs.rb +3 -2
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64463104e5baa6488316a4824290f54d746e9ad36a91fad15d4e549a45d525fa
|
4
|
+
data.tar.gz: 4c957500c3726171b389eb6610b4c65e8197f984edb868e2da31f8cdf67236cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc6272ea353435e50fa23c78635db4701a8fa2086ea0a44ce074e5aa95e56c16568618d84f8140d12d4bb7d4bbbe8c3f3d8f283cb315708589113c3939dcea9e
|
7
|
+
data.tar.gz: d094be28dac020761822898a028593b3f4e3c4b3de0cfcc2ea3fc7ed6c52ea508c30e18d76940e9840a50d3d7c4b1379bf15bc9d2160dbd02a37cf214882b40b
|
data/Gemfile
CHANGED
@@ -2,3 +2,17 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in beaker-abs.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
def location_for(place, fake_version = nil)
|
7
|
+
if place =~ /^(git:[^#]*)#(.*)/
|
8
|
+
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
|
9
|
+
elsif place =~ /^file:\/\/(.*)/
|
10
|
+
['>= 0', { :path => File.expand_path($1), :require => false }]
|
11
|
+
else
|
12
|
+
[place, { :require => false }]
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
group :testing do
|
17
|
+
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0')
|
18
|
+
end
|
data/beaker-abs.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "beaker", "~> 4.0"
|
22
|
-
spec.add_dependency "vmfloaty", "
|
22
|
+
spec.add_dependency "vmfloaty", ">= 1.0", "< 1.2"
|
23
23
|
spec.add_development_dependency "bundler", "~> 2.1"
|
24
|
-
spec.add_development_dependency "rake", "~>
|
24
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
25
25
|
spec.add_development_dependency "minitest", "~> 5.0"
|
26
26
|
|
27
27
|
end
|
data/lib/beaker-abs/version.rb
CHANGED
@@ -30,8 +30,9 @@ module Beaker
|
|
30
30
|
engine = resource_host['engine']
|
31
31
|
case engine
|
32
32
|
when /^(vmpooler|nspooler)$/
|
33
|
-
#
|
34
|
-
|
33
|
+
# ABS does not set ip, do not include
|
34
|
+
# vmpooler hostname is the platform name, nspooler hostname == vmhostname
|
35
|
+
return [:vmhostname]
|
35
36
|
else
|
36
37
|
super
|
37
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-abs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Cooper
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-10
|
12
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|
@@ -29,16 +29,22 @@ dependencies:
|
|
29
29
|
name: vmfloaty
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.0'
|
35
|
+
- - "<"
|
33
36
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
37
|
+
version: '1.2'
|
35
38
|
type: :runtime
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
|
-
- - "
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.0'
|
45
|
+
- - "<"
|
40
46
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
47
|
+
version: '1.2'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: bundler
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +65,14 @@ dependencies:
|
|
59
65
|
requirements:
|
60
66
|
- - "~>"
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
68
|
+
version: '13.0'
|
63
69
|
type: :development
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
75
|
+
version: '13.0'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
77
|
name: minitest
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|