serverspec 2.21.1 → 2.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverspec/type/host.rb +6 -0
- data/lib/serverspec/version.rb +1 -1
- data/serverspec.gemspec +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe870a4f62eab55bcd338386a1b3a411cf3555d
|
4
|
+
data.tar.gz: 930d1b761744265d1a5e9d7de697a16d05d6cedd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da7f45792568ae16f82f7077163106f10f2926fd075cf4a7365100db08026a8707780a1e10f800d8dca1aba5b0ea259cc8a564f5633217ba3467b9aba20f12a6
|
7
|
+
data.tar.gz: 16d6e83b2339c43d0fec1cc21d747f2c789565bff83926312f5c68036e3c046ca46cb72df49234e169f9997cfb15364d4ee994ed339910910ec91186cf6d7066
|
data/lib/serverspec/type/host.rb
CHANGED
@@ -11,5 +11,11 @@ module Serverspec::Type
|
|
11
11
|
def ipaddress
|
12
12
|
@runner.get_host_ipaddress(@name).stdout.strip
|
13
13
|
end
|
14
|
+
def ipv4_address
|
15
|
+
@runner.get_host_ipv4_address(@name).stdout.strip
|
16
|
+
end
|
17
|
+
def ipv6_address
|
18
|
+
@runner.get_host_ipv6_address(@name).stdout.strip
|
19
|
+
end
|
14
20
|
end
|
15
21
|
end
|
data/lib/serverspec/version.rb
CHANGED
data/serverspec.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency "rspec", "~> 3.0"
|
22
22
|
spec.add_runtime_dependency "rspec-its"
|
23
23
|
spec.add_runtime_dependency "multi_json"
|
24
|
-
spec.add_runtime_dependency "specinfra", "~> 2.
|
24
|
+
spec.add_runtime_dependency "specinfra", "~> 2.42"
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.1.1"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.42'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.42'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -444,4 +444,3 @@ test_files:
|
|
444
444
|
- spec/type/windows/scheduled_task_spec.rb
|
445
445
|
- spec/type/windows/service_spec.rb
|
446
446
|
- spec/type/windows/user_spec.rb
|
447
|
-
has_rdoc:
|