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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fafa5a90f1af90fdcc6ce081752ba684aac2652c1fd31867274ab9fc01a7c778
4
- data.tar.gz: 6b3f1a800e031218a1e026737614b9d087d037c9ae8407ef788b3f2d404cb50a
3
+ metadata.gz: 7ac8b47bad2c4aaa8d936de9800e7cbb1d7bbd99d7012f6117064d7acb226429
4
+ data.tar.gz: 0d16e6ed88a7842efe2f4c37595b9c4b5d5b569a719c4bd4f0d3538df65f3e01
5
5
  SHA512:
6
- metadata.gz: 9390e4bb587d82e2ae0574397f9e02d61c5a13e162d980ad972d174f158d43a241949fdc77ae34d4206f01ec2dbd92d9c66d6bdb886ed4065dace963daf30b15
7
- data.tar.gz: e4d838274207478d4ca0767bac9b702640aebdaada4ca2aa4f077fc79c23d4c34ab7744d2b3af44c58479cf5ad1a09e3c11e241add93eb6f5c906883c7dd4291
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) && [3,4,5,6].include?(Rails::VERSION::MAJOR)
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.1
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-06 00:00:00.000000000 Z
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/sharpstone/rack-timeout
89
+ homepage: https://github.com/zombocom/rack-timeout
90
90
  licenses:
91
91
  - MIT
92
92
  metadata:
93
- bug_tracker_uri: https://github.com/sharpstone/rack-timeout/issues
94
- changelog_uri: https://github.com/sharpstone/rack-timeout/blob/v0.6.1/CHANGELOG.md
95
- documentation_uri: https://rubydoc.info/gems/rack-timeout/0.6.1/
96
- source_code_uri: https://github.com/sharpstone/rack-timeout
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: