slowpoke 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -1
- data/LICENSE.txt +1 -1
- data/README.md +1 -29
- data/lib/slowpoke/version.rb +1 -1
- metadata +8 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a901b549dfd11a99a531a979c06a3e623e47cdb42d4e262637bff456cc0d81c
|
4
|
+
data.tar.gz: 7b38ef0df00b5d692e172e5bf299beff275fe05d2fcca2cb01d8f63191dc02f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09cc387f4a109763c5577c4e43710418149617068f6fa974bd3b46b6f9ccb8291cfb208b4dc6543b9c47cb2270ab56c7ef9cee0c4b96eb0e771f2d3f75fbe6ef'
|
7
|
+
data.tar.gz: f8ea6bfb8ae1f96b90b2cebda8aec23e58a613d7bba18f750ab792ea3183ce5cc528fa289b569943ad41aa0709a4af58c6bfd1831348e56d131f746d083bfd52
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.7.0 (2025-05-26)
|
2
|
+
|
3
|
+
- Dropped support for Ruby < 3.2 and Rails < 7.1
|
4
|
+
|
5
|
+
## 0.6.0 (2025-02-01)
|
6
|
+
|
7
|
+
- Dropped support for Ruby < 3.1 and Rails < 7
|
8
|
+
|
1
9
|
## 0.5.0 (2023-07-02)
|
2
10
|
|
3
11
|
- Dropped support for rack-timeout < 0.6
|
@@ -36,7 +44,7 @@
|
|
36
44
|
## 0.1.3 (2016-08-03)
|
37
45
|
|
38
46
|
- Fixed deprecation warning in Rails 5
|
39
|
-
- No longer requires
|
47
|
+
- No longer requires Active Record
|
40
48
|
|
41
49
|
## 0.1.2 (2016-02-10)
|
42
50
|
|
@@ -46,3 +54,32 @@
|
|
46
54
|
|
47
55
|
- Fixed safer service timeouts
|
48
56
|
- Added migration statement timeout
|
57
|
+
|
58
|
+
## 0.1.0 (2015-06-24)
|
59
|
+
|
60
|
+
- Prevent `RequestExpiryError` from killing web server
|
61
|
+
- Removed database timeouts
|
62
|
+
|
63
|
+
## 0.0.6 (2015-03-15)
|
64
|
+
|
65
|
+
- Switched to `safely_block` gem
|
66
|
+
|
67
|
+
## 0.0.5 (2015-03-04)
|
68
|
+
|
69
|
+
- Fixed error when Postgres is not used
|
70
|
+
|
71
|
+
## 0.0.4 (2014-10-31)
|
72
|
+
|
73
|
+
- Added `REQUEST_TIMEOUT` and `DATABASE_TIMEOUT` variables
|
74
|
+
|
75
|
+
## 0.0.3 (2014-10-22)
|
76
|
+
|
77
|
+
- Improved handling of timeouts
|
78
|
+
|
79
|
+
## 0.0.2 (2014-10-22)
|
80
|
+
|
81
|
+
- Added process protection
|
82
|
+
|
83
|
+
## 0.0.1 (2014-10-21)
|
84
|
+
|
85
|
+
- First release
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
- dynamic timeouts
|
7
7
|
- custom error pages
|
8
8
|
|
9
|
-
[](https://github.com/ankane/slowpoke/actions)
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
@@ -104,34 +104,6 @@ production:
|
|
104
104
|
statement_timeout: 5s
|
105
105
|
```
|
106
106
|
|
107
|
-
## Upgrading
|
108
|
-
|
109
|
-
### 0.3.0
|
110
|
-
|
111
|
-
If you set the timeout with:
|
112
|
-
|
113
|
-
```ruby
|
114
|
-
Slowpoke.timeout = 5
|
115
|
-
```
|
116
|
-
|
117
|
-
Remove it and add to `config/environments/production.rb`:
|
118
|
-
|
119
|
-
```ruby
|
120
|
-
config.slowpoke.timeout = 5
|
121
|
-
```
|
122
|
-
|
123
|
-
If you use migration timeouts, check out [this guide](https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts/#statement-timeouts-1) for how to configure them directly in `config/database.yml`.
|
124
|
-
|
125
|
-
### 0.1.0
|
126
|
-
|
127
|
-
`0.1.0` removes database timeouts, since Rails supports them by default. To restore the previous behavior, use:
|
128
|
-
|
129
|
-
```yaml
|
130
|
-
production:
|
131
|
-
variables:
|
132
|
-
statement_timeout: <%= Slowpoke.timeout * 1000 %>
|
133
|
-
```
|
134
|
-
|
135
107
|
## History
|
136
108
|
|
137
109
|
View the [changelog](https://github.com/ankane/slowpoke/blob/master/CHANGELOG.md)
|
data/lib/slowpoke/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slowpoke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: railties
|
@@ -16,28 +15,28 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '7.1'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
25
|
+
version: '7.1'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: actionpack
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - ">="
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
32
|
+
version: '7.1'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - ">="
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
39
|
+
version: '7.1'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rack-timeout
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,7 +51,6 @@ dependencies:
|
|
52
51
|
- - ">="
|
53
52
|
- !ruby/object:Gem::Version
|
54
53
|
version: '0.6'
|
55
|
-
description:
|
56
54
|
email: andrew@ankane.org
|
57
55
|
executables: []
|
58
56
|
extensions: []
|
@@ -72,7 +70,6 @@ homepage: https://github.com/ankane/slowpoke
|
|
72
70
|
licenses:
|
73
71
|
- MIT
|
74
72
|
metadata: {}
|
75
|
-
post_install_message:
|
76
73
|
rdoc_options: []
|
77
74
|
require_paths:
|
78
75
|
- lib
|
@@ -80,15 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
77
|
requirements:
|
81
78
|
- - ">="
|
82
79
|
- !ruby/object:Gem::Version
|
83
|
-
version: '3'
|
80
|
+
version: '3.2'
|
84
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
82
|
requirements:
|
86
83
|
- - ">="
|
87
84
|
- !ruby/object:Gem::Version
|
88
85
|
version: '0'
|
89
86
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
87
|
+
rubygems_version: 3.6.7
|
92
88
|
specification_version: 4
|
93
89
|
summary: Rack::Timeout enhancements for Rails
|
94
90
|
test_files: []
|