slowpoke 0.4.0 → 0.5.0

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: b1f1038454b7897804fae9a78b8804de5ecd1d305929332fc544326df8ded0c4
4
- data.tar.gz: 16c1ea1f4aea141681803f9f414620f4b12ffbf5dcb1ba5d8967ad3e6403ad6c
3
+ metadata.gz: 3d5a4d0993cf8f61c9ba8803438cc6925dad1bbb58dc74ebe3a75b697539056e
4
+ data.tar.gz: 66fff1aea6b2ea701feb76598d44728523b61017f16374e180a0b43cf571ca77
5
5
  SHA512:
6
- metadata.gz: 79c329a7bf360732c8ab05509b92502f7ebfea4025221568a6af4602897d7bc984a8a05f230d4bf1128221b172798ee3b436b5786e5e4b85119e737984a1fd64
7
- data.tar.gz: 20dc8bc102e2fdcab2e3e896d0ff15a18f34009c0c18ea03ad56b1f26e37bb020c71aec4a7d8c6e66e338f0dbc63d222f65bda4e669d7c0efb4fb1ad428bfefb
6
+ metadata.gz: 49e9f6bbaa9fc389dc89d5cd1febaeda0661f24df167928948acfd1c4661661cad6220900697b7ee7843ac6d719107e29943d9d44ecb4a4ece29e61786206ed5
7
+ data.tar.gz: 48876460c6198c5b5d6106591434ee6560a24a35271201aeaf454e64a71b2759985dd8b8265d0f0e5a96b0b77165673d35e552f01b489c102387e2b3c3f821ed
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ## 0.4.0 (2022-10-01)
1
+ ## 0.5.0 (2023-07-02)
2
+
3
+ - Dropped support for rack-timeout < 0.6
4
+ - Dropped support for Ruby < 3 and Rails < 6.1
5
+
6
+ ## 0.4.0 (2022-01-10)
2
7
 
3
8
  - Dropped support for Ruby < 2.6 and Rails < 5.2
4
9
 
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2021 Andrew Kane
1
+ Copyright (c) 2014-2023 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
  - dynamic timeouts
7
7
  - custom error pages
8
8
 
9
+ [![Build Status](https://github.com/ankane/slowpoke/workflows/build/badge.svg?branch=master)](https://github.com/ankane/slowpoke/actions)
10
+
9
11
  ## Installation
10
12
 
11
13
  Add this line to your application’s Gemfile:
@@ -149,4 +151,5 @@ To get started with development:
149
151
  git clone https://github.com/ankane/slowpoke.git
150
152
  cd slowpoke
151
153
  bundle install
154
+ bundle exec rake test
152
155
  ```
@@ -1,3 +1,3 @@
1
1
  module Slowpoke
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/slowpoke.rb CHANGED
@@ -2,10 +2,10 @@
2
2
  require "rack/timeout/base"
3
3
 
4
4
  # modules
5
- require "slowpoke/middleware"
6
- require "slowpoke/railtie"
7
- require "slowpoke/timeout"
8
- require "slowpoke/version"
5
+ require_relative "slowpoke/middleware"
6
+ require_relative "slowpoke/railtie"
7
+ require_relative "slowpoke/timeout"
8
+ require_relative "slowpoke/version"
9
9
 
10
10
  module Slowpoke
11
11
  ENV_KEY = "slowpoke.timed_out".freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slowpoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: '6.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
26
+ version: '6.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.4'
47
+ version: '0.6'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.4'
54
+ version: '0.6'
55
55
  description:
56
56
  email: andrew@ankane.org
57
57
  executables: []
@@ -80,14 +80,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '2.6'
83
+ version: '3'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.3.3
90
+ rubygems_version: 3.4.10
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Rack::Timeout enhancements for Rails