rack-timeout 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/rack-timeout.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ac8b47bad2c4aaa8d936de9800e7cbb1d7bbd99d7012f6117064d7acb226429
|
4
|
+
data.tar.gz: 0d16e6ed88a7842efe2f4c37595b9c4b5d5b569a719c4bd4f0d3538df65f3e01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4f92744d9936f887d82ab6e4c72c1e815165daef56638a1795c2e42ef5affec74d1d301002863e842f951c37e0b8c98c0867a9a159bc196309dd2e841cc0ce
|
7
|
+
data.tar.gz: 8cf6bbf98f334dbeb312735961d271cfb5377d9683aa26aa03e1b8eda15a53d165ce931e16131fa4e34958a23e1d6e5ac54985296fe5e566e70ad41e2f4e51d9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
|
+
## HEAD (unreleased)
|
2
|
+
|
3
|
+
|
4
|
+
## 0.6.2
|
5
|
+
|
6
|
+
- Migrate CI from Travis CI to GitHub Actions (https://github.com/zombocom/rack-timeout/pull/182)
|
7
|
+
- Rails 7+ support (https://github.com/zombocom/rack-timeout/pull/184)
|
8
|
+
|
1
9
|
## 0.6.1
|
2
10
|
|
3
11
|
- RACK_TIMEOUT_TERM_ON_TIMEOUT can be set to zero to disable (https://github.com/sharpstone/rack-timeout/pull/161)
|
12
|
+
- Update the gemspec's homepage to the current repo URL(https://github.com/zombocom/rack-timeout/pull/183)
|
4
13
|
|
5
14
|
## 0.6.0
|
6
15
|
|
data/lib/rack-timeout.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
require_relative "rack/timeout/base"
|
2
|
-
require_relative "rack/timeout/rails" if defined?(Rails) &&
|
2
|
+
require_relative "rack/timeout/rails" if defined?(Rails) && Rails::VERSION::MAJOR >= 3
|
data/test/test_helper.rb
CHANGED
@@ -15,7 +15,7 @@ class RackTimeoutTest < Test::Unit::TestCase
|
|
15
15
|
def app
|
16
16
|
settings = self.settings
|
17
17
|
Rack::Builder.new do
|
18
|
-
use Rack::Timeout, settings
|
18
|
+
use Rack::Timeout, **settings
|
19
19
|
|
20
20
|
map "/" do
|
21
21
|
run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-timeout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caio Chassot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -86,14 +86,14 @@ files:
|
|
86
86
|
- test/basic_test.rb
|
87
87
|
- test/env_settings_test.rb
|
88
88
|
- test/test_helper.rb
|
89
|
-
homepage: https://github.com/
|
89
|
+
homepage: https://github.com/zombocom/rack-timeout
|
90
90
|
licenses:
|
91
91
|
- MIT
|
92
92
|
metadata:
|
93
|
-
bug_tracker_uri: https://github.com/
|
94
|
-
changelog_uri: https://github.com/
|
95
|
-
documentation_uri: https://rubydoc.info/gems/rack-timeout/0.6.
|
96
|
-
source_code_uri: https://github.com/
|
93
|
+
bug_tracker_uri: https://github.com/zombocom/rack-timeout/issues
|
94
|
+
changelog_uri: https://github.com/zombocom/rack-timeout/blob/v0.6.2/CHANGELOG.md
|
95
|
+
documentation_uri: https://rubydoc.info/gems/rack-timeout/0.6.2/
|
96
|
+
source_code_uri: https://github.com/zombocom/rack-timeout
|
97
97
|
post_install_message:
|
98
98
|
rdoc_options: []
|
99
99
|
require_paths:
|