specinfra 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/specinfra/command/base.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- metadata +81 -107
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 19b0331d1a3406321d4afd26034bc9361ae582a1
|
4
|
+
data.tar.gz: 1e7df387e828026041ad4d59ec595cc45428fbcb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: af250c265b38cfe954167d94e3dd49809350e8470c18d726577f5d1d879db1ce3618608c34248ab73f86105e5cf69b142f702c5002ac778581416820111ff4ae
|
7
|
+
data.tar.gz: 0232c817a2df3447df587bf405420b4b0746197e9a67e071596e12aca0921097dc7da43fc0ad205b3b06419b66cb54993f87a1bc68f427f68f961cd3d71240af
|
@@ -39,7 +39,7 @@ module SpecInfra
|
|
39
39
|
|
40
40
|
def check_reachable(host, port, proto, timeout)
|
41
41
|
if port.nil?
|
42
|
-
"ping -
|
42
|
+
"ping -w #{escape(timeout)} -c 2 -n #{escape(host)}"
|
43
43
|
else
|
44
44
|
"nc -vvvvz#{escape(proto[0].chr)} #{escape(host)} #{escape(port)} -w #{escape(timeout)}"
|
45
45
|
end
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,110 +1,94 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 3
|
10
|
-
version: 1.0.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.4
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Gosuke Miyashita
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-04-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
22
14
|
name: bundler
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 9
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 3
|
33
|
-
version: "1.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
34
20
|
type: :development
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rake
|
38
21
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
49
33
|
version: 10.1.1
|
50
34
|
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: rspec
|
54
35
|
prerelease: false
|
55
|
-
|
56
|
-
|
57
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 10.1.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
58
45
|
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
version: "0"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
64
48
|
type: :development
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: octokit
|
68
49
|
prerelease: false
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: octokit
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
79
61
|
version: 2.7.2
|
80
62
|
type: :development
|
81
|
-
version_requirements: *id004
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: octorelease
|
84
63
|
prerelease: false
|
85
|
-
|
86
|
-
|
87
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.7.2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: octorelease
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
88
73
|
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 0
|
93
|
-
version: "0"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
94
76
|
type: :development
|
95
|
-
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
96
83
|
description: Common layer for serverspec and configspec
|
97
|
-
email:
|
84
|
+
email:
|
98
85
|
- gosukenator@gmail.com
|
99
86
|
executables: []
|
100
|
-
|
101
87
|
extensions: []
|
102
|
-
|
103
88
|
extra_rdoc_files: []
|
104
|
-
|
105
|
-
|
106
|
-
- .
|
107
|
-
- .travis.yml
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".travis.yml"
|
108
92
|
- Gemfile
|
109
93
|
- LICENSE.txt
|
110
94
|
- README.md
|
@@ -170,41 +154,31 @@ files:
|
|
170
154
|
- spec/helper/properties_spec.rb
|
171
155
|
- spec/spec_helper.rb
|
172
156
|
- specinfra.gemspec
|
173
|
-
|
174
|
-
|
175
|
-
licenses:
|
157
|
+
homepage: ''
|
158
|
+
licenses:
|
176
159
|
- MIT
|
160
|
+
metadata: {}
|
177
161
|
post_install_message:
|
178
162
|
rdoc_options: []
|
179
|
-
|
180
|
-
require_paths:
|
163
|
+
require_paths:
|
181
164
|
- lib
|
182
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
-
|
184
|
-
requirements:
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
185
167
|
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
version: "0"
|
191
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
-
none: false
|
193
|
-
requirements:
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
194
172
|
- - ">="
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
|
197
|
-
segments:
|
198
|
-
- 0
|
199
|
-
version: "0"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
200
175
|
requirements: []
|
201
|
-
|
202
176
|
rubyforge_project:
|
203
|
-
rubygems_version:
|
177
|
+
rubygems_version: 2.2.2
|
204
178
|
signing_key:
|
205
|
-
specification_version:
|
179
|
+
specification_version: 4
|
206
180
|
summary: Common layer for serverspec and configspec
|
207
|
-
test_files:
|
181
|
+
test_files:
|
208
182
|
- spec/backend/exec/build_command_spec.rb
|
209
183
|
- spec/backend/ssh/build_command_spec.rb
|
210
184
|
- spec/configuration_spec.rb
|