rack-test_server 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c70bb0211384c33507013e1c4bf5a30c57660250827ca14c90998d20279ae597
4
- data.tar.gz: f21023661cc0f3c3fe82512dfddfae3db2bb2132daf60ccef414746cfd8a7587
3
+ metadata.gz: 6406dd22b7cccbc0b58ecc54464b265ebbdbd4ca006ccc09d736cd5435b66afd
4
+ data.tar.gz: 916b218f513afcaea4266c3557ca514b1f39df726ff6bc01e7c9b6511c411b18
5
5
  SHA512:
6
- metadata.gz: 58d1a28b319dbc0d5554da895dd809e5924ea5467e3ee7f30f99b1165a14d269b02246014557165c27489b9c567e64b2c7da88aabf007faccf7a121d702f81dc
7
- data.tar.gz: 8f50321af16c44acdb0d728387a95e97ef2df53a841eb41e7b37d06760b593b35482c08e0a3569f1e15f23e2294e1164175fe5350272bbc517445f69427370a3
6
+ metadata.gz: 0ef53d8ef4627b0a4883e58743d62addadd1a83fce858eee9ce02ccde12058226410b7ff674e76cbdd21423fc5b8b903aec3f40dec12558d0fda5028cedc8795
7
+ data.tar.gz: 47ffe65375c3dbc5c91a08a1286e79f6f35d58d7b78e62180faefa952c85569f3bef71a4a310fba9a8b3b65db8dba6184be6f2e9da4cb0c66243d293bec12c38
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rack
4
4
  class TestServer
5
- VERSION = '0.1.3'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
@@ -83,11 +83,7 @@ module Rack
83
83
  def ready?
84
84
  Net::HTTP.get(URI("#{base_url}/__ping"))
85
85
  true
86
- rescue Errno::EADDRNOTAVAIL
87
- false
88
- rescue Errno::ECONNREFUSED
89
- false
90
- rescue Errno::EINVAL
86
+ rescue Errno::EADDRNOTAVAIL, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::EINVAL
91
87
  false
92
88
  end
93
89
 
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.required_ruby_version = '>= 2.3'
27
- spec.add_dependency 'rack'
27
+ spec.add_dependency 'rack', '>= 2', '< 3'
28
28
  spec.add_development_dependency 'minitest'
29
29
  spec.add_development_dependency 'puma'
30
30
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-test_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-06 00:00:00.000000000 Z
11
+ date: 2024-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '0'
29
+ version: '2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: minitest
29
35
  requirement: !ruby/object:Gem::Requirement