serverspec 0.16.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -4
- data/lib/serverspec/type/host.rb +4 -0
- data/lib/serverspec/version.rb +1 -1
- data/serverspec.gemspec +2 -2
- data/spec/redhat/host_spec.rb +6 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6465c0cb3fd1e3c207bfab4b6de1e09771b4b0e8
|
4
|
+
data.tar.gz: b28a47a69b3c7fc326e3ef0155d4c7d722443f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8cdd616012454564afcc9593b5a91431bd46ba001ccb8bec99cd63d89faa5fe7500e714baeb6eaffeb1539a468630b6e2b37ac490be21893fbf75908c97672
|
7
|
+
data.tar.gz: 8d607e79f5876652dbda649c88b206c63fb0601be455d39cc5025917f12222a6e29bd599c0760febcbc25b75f846f44380df33f4ac0c92eb32aaf7d0267b9cdb
|
data/.travis.yml
CHANGED
data/lib/serverspec/type/host.rb
CHANGED
data/lib/serverspec/version.rb
CHANGED
data/serverspec.gemspec
CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency "net-ssh"
|
22
22
|
spec.add_runtime_dependency "rspec", "~> 2.13"
|
23
23
|
spec.add_runtime_dependency "highline"
|
24
|
-
spec.add_runtime_dependency "specinfra", ">= 0.
|
24
|
+
spec.add_runtime_dependency "specinfra", ">= 1.0.0"
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
-
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.1.1"
|
27
27
|
spec.add_development_dependency "octorelease"
|
28
28
|
end
|
data/spec/redhat/host_spec.rb
CHANGED
@@ -56,3 +56,9 @@ end
|
|
56
56
|
describe host('invalid-host') do
|
57
57
|
it { should_not be_reachable.with(:proto => "udp", :port => 53, :timeout=> 1) }
|
58
58
|
end
|
59
|
+
|
60
|
+
describe host('example.jp') do
|
61
|
+
let(:stdout) { "1.2.3.4\r\n" }
|
62
|
+
its(:ipaddress) { should eq '1.2.3.4' }
|
63
|
+
its(:command) { should eq "getent hosts example.jp | awk '{print $1}'" }
|
64
|
+
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: 0.
|
4
|
+
version: 1.0.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: 2014-03-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 1.0.0
|
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: 0.
|
68
|
+
version: 1.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 10.1.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 10.1.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: octorelease
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|