slowpoke 0.5.0 → 0.6.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: d7db97cc38b9a3d1edbd3254cc8d615b7b9415232862c9ca486eb5e4663c0f0b
4
+ data.tar.gz: 88a3dffccba9ebfa79d5c30d5eb9c0ebf297ff1b5dc1acb19300272dd6b74a35
5
5
  SHA512:
6
- metadata.gz: 49e9f6bbaa9fc389dc89d5cd1febaeda0661f24df167928948acfd1c4661661cad6220900697b7ee7843ac6d719107e29943d9d44ecb4a4ece29e61786206ed5
7
- data.tar.gz: 48876460c6198c5b5d6106591434ee6560a24a35271201aeaf454e64a71b2759985dd8b8265d0f0e5a96b0b77165673d35e552f01b489c102387e2b3c3f821ed
6
+ metadata.gz: 9e1b4dc76819ae7a0c570ae9a18d271dcb803965ba5c2fdcf79c445a0e006d275b1b9bdf7b317b591ef22dd13530d3e1b6e6937cf12b5821422e5be3f5f4a63b
7
+ data.tar.gz: f5ab6c527213fa6bfa6a578b7a340e115d22994a1827fbfff1fa118f433e477294f7bedd363babc39bdc39809cbbb25b3b00580f3934d64f20819950e5738324
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.6.0 (2025-02-01)
2
+
3
+ - Dropped support for Ruby < 3.1 and Rails < 7
4
+
1
5
  ## 0.5.0 (2023-07-02)
2
6
 
3
7
  - Dropped support for rack-timeout < 0.6
@@ -36,7 +40,7 @@
36
40
  ## 0.1.3 (2016-08-03)
37
41
 
38
42
  - Fixed deprecation warning in Rails 5
39
- - No longer requires ActiveRecord
43
+ - No longer requires Active Record
40
44
 
41
45
  ## 0.1.2 (2016-02-10)
42
46
 
@@ -46,3 +50,32 @@
46
50
 
47
51
  - Fixed safer service timeouts
48
52
  - Added migration statement timeout
53
+
54
+ ## 0.1.0 (2015-06-24)
55
+
56
+ - Prevent `RequestExpiryError` from killing web server
57
+ - Removed database timeouts
58
+
59
+ ## 0.0.6 (2015-03-15)
60
+
61
+ - Switched to `safely_block` gem
62
+
63
+ ## 0.0.5 (2015-03-04)
64
+
65
+ - Fixed error when Postgres is not used
66
+
67
+ ## 0.0.4 (2014-10-31)
68
+
69
+ - Added `REQUEST_TIMEOUT` and `DATABASE_TIMEOUT` variables
70
+
71
+ ## 0.0.3 (2014-10-22)
72
+
73
+ - Improved handling of timeouts
74
+
75
+ ## 0.0.2 (2014-10-22)
76
+
77
+ - Added process protection
78
+
79
+ ## 0.0.1 (2014-10-21)
80
+
81
+ - 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.6.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.6.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: 2025-02-01 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: railties
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '6.1'
18
+ version: '7'
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'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: actionpack
29
28
  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.1'
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.2
92
88
  specification_version: 4
93
89
  summary: Rack::Timeout enhancements for Rails
94
90
  test_files: []