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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d5a4d0993cf8f61c9ba8803438cc6925dad1bbb58dc74ebe3a75b697539056e
4
- data.tar.gz: 66fff1aea6b2ea701feb76598d44728523b61017f16374e180a0b43cf571ca77
3
+ metadata.gz: 1a901b549dfd11a99a531a979c06a3e623e47cdb42d4e262637bff456cc0d81c
4
+ data.tar.gz: 7b38ef0df00b5d692e172e5bf299beff275fe05d2fcca2cb01d8f63191dc02f1
5
5
  SHA512:
6
- metadata.gz: 49e9f6bbaa9fc389dc89d5cd1febaeda0661f24df167928948acfd1c4661661cad6220900697b7ee7843ac6d719107e29943d9d44ecb4a4ece29e61786206ed5
7
- data.tar.gz: 48876460c6198c5b5d6106591434ee6560a24a35271201aeaf454e64a71b2759985dd8b8265d0f0e5a96b0b77165673d35e552f01b489c102387e2b3c3f821ed
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 ActiveRecord
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2023 Andrew Kane
1
+ Copyright (c) 2014-2024 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
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)
9
+ [![Build Status](https://github.com/ankane/slowpoke/actions/workflows/build.yml/badge.svg)](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)
@@ -1,3 +1,3 @@
1
1
  module Slowpoke
2
- VERSION = "0.5.0"
2
+ VERSION = "0.7.0"
3
3
  end
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.5.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: 2023-07-02 00:00:00.000000000 Z
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: '6.1'
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: '6.1'
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: '0'
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: '0'
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.4.10
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: []