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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f13d21e3a8f42255d7292845ee0400f9fca58ec7
4
- data.tar.gz: 4b228bc4aee0323ffc03b3b2c967f88c7542c11d
3
+ metadata.gz: 4fe870a4f62eab55bcd338386a1b3a411cf3555d
4
+ data.tar.gz: 930d1b761744265d1a5e9d7de697a16d05d6cedd
5
5
  SHA512:
6
- metadata.gz: 955548d28b604ab7040c0f15c6de0caa5bb245f1acee24a32aefb341d7d22b859f350b851217ff680fda5c920daba2d9628c7ca7bc63b4d6990bc0120ca61a59
7
- data.tar.gz: 2d00b279e43fd4df75a6de98b3cefd9ea23626e35e6d8bf4822ddd279d16f33f75fb06fe049c7e7912933b4ef57134ba9398ce04dfc5171e4eef9cfef054be4d
6
+ metadata.gz: da7f45792568ae16f82f7077163106f10f2926fd075cf4a7365100db08026a8707780a1e10f800d8dca1aba5b0ea259cc8a564f5633217ba3467b9aba20f12a6
7
+ data.tar.gz: 16d6e83b2339c43d0fec1cc21d747f2c789565bff83926312f5c68036e3c046ca46cb72df49234e169f9997cfb15364d4ee994ed339910910ec91186cf6d7066
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.21.1"
2
+ VERSION = "2.22.0"
3
3
  end
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.38"
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.21.1
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-19 00:00:00.000000000 Z
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.38'
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.38'
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: