stub_server 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stub_server/version.rb +1 -1
- data/lib/stub_server.rb +0 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05ae6e405bf5a0cba95079404c91d8d6d2c9ce3db5c7b8945152317784ac557e
|
4
|
+
data.tar.gz: 63ffb7d7b3ecfd68efb46afc7bc3b057c44330cd7d90efe314c3ba1abd43b1d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 740f2b4d866208cb25d9327bd1641709383212532fd826de9821f5c136b5a7f103447780337c51bc93974308c856db9f5e76e3840c05c3d243144510af2679a1
|
7
|
+
data.tar.gz: b14b9380693882907c8c56dc5aeb5ad5bbb179c464d6d4fc6315a1d083c4e3ce372b9495d0e69e9f967440f2f73424d40bc4a79f217d1cb28e05b8f0b031aa61
|
data/lib/stub_server/version.rb
CHANGED
data/lib/stub_server.rb
CHANGED
@@ -75,7 +75,6 @@ class StubServer
|
|
75
75
|
# ideally we'd use WEBrick::Utils::TimeoutHandler::TimeoutMutex.synchronize to avoid race conditions,
|
76
76
|
# but that is also used in .terminate and would lead to deadlocks ...
|
77
77
|
# TODO: open ruby issue for race-condition free terminate_if_empty
|
78
|
-
return if RUBY_VERSION < "2.4.0"
|
79
78
|
if WEBrick::Utils::TimeoutHandler.instance.instance_variable_get(:@timeout_info).empty?
|
80
79
|
WEBrick::Utils::TimeoutHandler.terminate
|
81
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stub_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: webrick
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description:
|
28
42
|
email: michael@grosser.it
|
29
43
|
executables: []
|
@@ -52,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
66
|
- !ruby/object:Gem::Version
|
53
67
|
version: '0'
|
54
68
|
requirements: []
|
55
|
-
rubygems_version: 3.
|
69
|
+
rubygems_version: 3.2.16
|
56
70
|
signing_key:
|
57
71
|
specification_version: 4
|
58
72
|
summary: Boot up a real server to serve testing replies
|