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 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 -n #{escape(host)} -w #{escape(timeout)} -c 2"
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
@@ -1,3 +1,3 @@
1
1
  module SpecInfra
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
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
- hash: 17
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
- date: 2014-04-04 00:00:00 +09:00
19
- default_executable:
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
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
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
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 73
45
- segments:
46
- - 10
47
- - 1
48
- - 1
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
- requirement: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
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
- hash: 3
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
- requirement: &id004 !ruby/object:Gem::Requirement
70
- none: false
71
- requirements:
72
- - - ~>
73
- - !ruby/object:Gem::Version
74
- hash: 23
75
- segments:
76
- - 2
77
- - 7
78
- - 2
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
- requirement: &id005 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
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
- hash: 3
91
- segments:
92
- - 0
93
- version: "0"
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
94
76
  type: :development
95
- version_requirements: *id005
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
- files:
106
- - .gitignore
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
- has_rdoc: true
174
- homepage: ""
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
- none: false
184
- requirements:
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
185
167
  - - ">="
186
- - !ruby/object:Gem::Version
187
- hash: 3
188
- segments:
189
- - 0
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
- hash: 3
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: 1.6.2
177
+ rubygems_version: 2.2.2
204
178
  signing_key:
205
- specification_version: 3
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