rspec-httpd 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rspec/httpd/server.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea69f8da3ad709d768698cb52ca4e61629d25fd0259f484c5f16ab7339d80f10
|
4
|
+
data.tar.gz: 72856c694342e833015a370ecbc663df0d4def98ff59d9ec2849e7ae8afdb2fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22bddec52820090e23b1ae6450ee6604338dfb4b68c2fbf6a5807b12112fa0a47ae8ed0b96b0416e79cf7eb32d22ddef575e02796aaf39cbf30971204821e75e
|
7
|
+
data.tar.gz: e264728cecce18ac99df7cac8f1e09931e13e10db5269230c3f558b861b7a513adcc37f2a070f687b25c4f64f832b8938afc59d11e87879baa8c77b659222dd7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/lib/rspec/httpd/server.rb
CHANGED
@@ -34,7 +34,8 @@ module RSpec::Httpd
|
|
34
34
|
rescue Errno::ESRCH
|
35
35
|
end
|
36
36
|
|
37
|
-
|
37
|
+
logger.warn "Cannot stop server at pid #{pid}: #{command}" if port_open?(host, port)
|
38
|
+
exit 0
|
38
39
|
end
|
39
40
|
|
40
41
|
unless wait_for_server(host: host, port: port, pid: pid, timeout: MAX_STARTUP_TIME)
|