resque-heroku-signals 2.1.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +12 -0
- data/.github/funding.yml +4 -0
- data/.github/workflows/ci.yml +1 -1
- data/README.md +4 -1
- data/resque-heroku-signals.gemspec +6 -4
- metadata +15 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a28f9f7703d6d1c610fd973d542ac7a179fd15207cbddd424a30a3128372f03
|
4
|
+
data.tar.gz: f413edf4a83866dcf2c18f4624ebdcf9c0d9d9627f1d32bf75a738b8e9fd989a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9aa15ebb15e9f71cc1c0b36eed7c435368b42a0afebb6b7cf4771907306d40671d688d2c11066f4737f3dcde2c4f5732cad24bce39050911d3b0d712d92598
|
7
|
+
data.tar.gz: 6e76a013ac1c21b8b5686b7a5ea0222718844170fdcbb6c79394565c96817a7dd895aa7d989724f8d2adc73f4ec31100d649428a5d62ef9478e1248c0138b044
|
data/.github/funding.yml
ADDED
data/.github/workflows/ci.yml
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/resque-heroku-signals.svg)](https://badge.fury.io/rb/resque-heroku-signals)
|
2
|
+
[![Ruby](https://github.com/iloveitaly/resque-heroku-signals/actions/workflows/ci.yml/badge.svg)](https://github.com/iloveitaly/resque-heroku-signals/actions/workflows/ci.yml)
|
3
|
+
|
1
4
|
# resque-heroku-signals
|
2
5
|
|
3
6
|
This gem patches resque to be compatible with the Heroku platform. Specifically it
|
@@ -23,7 +26,7 @@ Heroku sends a `TERM` signal to a process before hard killing it. If your job co
|
|
23
26
|
|
24
27
|
Ideally, using an idempotency key with each external API request is the best way to ensure that a given API request only runs. However, depending on your application logic this may not be practical and knowing if a process will be terminated in less than 30s by Heroku is a useful tool.
|
25
28
|
|
26
|
-
Use `Resque.heroku_will_terminate?` to determine if Heroku will terminate your process within 30s.
|
29
|
+
Use `Resque.heroku_will_terminate?` to determine if Heroku will terminate your process within 30s.
|
27
30
|
|
28
31
|
## Example Procfile
|
29
32
|
|
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "resque-heroku-signals"
|
7
|
-
spec.version = '2.
|
7
|
+
spec.version = '2.3.0'
|
8
8
|
spec.authors = ["Michael Bianco"]
|
9
9
|
spec.email = ["mike@mikebian.co"]
|
10
10
|
|
11
|
-
spec.summary = "Patch resque to be compatible with
|
12
|
-
spec.homepage = "https://github.com/
|
11
|
+
spec.summary = "Patch resque to be compatible with Heroku"
|
12
|
+
spec.homepage = "https://github.com/resque/resque-heroku-signals"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -19,8 +19,10 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
23
|
+
|
22
24
|
# strict resque dependency is intentional
|
23
|
-
spec.add_dependency "resque", "2.
|
25
|
+
spec.add_dependency "resque", "2.3.0"
|
24
26
|
|
25
27
|
spec.add_development_dependency "bundler", "~> 2.2"
|
26
28
|
spec.add_development_dependency "rake", "~> 13.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-heroku-signals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bianco
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: resque
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.3.0
|
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: 2.
|
26
|
+
version: 2.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,15 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.10'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- mike@mikebian.co
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".github/dependabot.yml"
|
77
|
+
- ".github/funding.yml"
|
76
78
|
- ".github/workflows/ci.yml"
|
77
79
|
- ".gitignore"
|
78
80
|
- ".rspec"
|
@@ -85,11 +87,12 @@ files:
|
|
85
87
|
- bin/setup
|
86
88
|
- lib/resque-heroku-signals.rb
|
87
89
|
- resque-heroku-signals.gemspec
|
88
|
-
homepage: https://github.com/
|
90
|
+
homepage: https://github.com/resque/resque-heroku-signals
|
89
91
|
licenses:
|
90
92
|
- MIT
|
91
|
-
metadata:
|
92
|
-
|
93
|
+
metadata:
|
94
|
+
rubygems_mfa_required: 'true'
|
95
|
+
post_install_message:
|
93
96
|
rdoc_options: []
|
94
97
|
require_paths:
|
95
98
|
- lib
|
@@ -104,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
107
|
- !ruby/object:Gem::Version
|
105
108
|
version: '0'
|
106
109
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
108
|
-
signing_key:
|
110
|
+
rubygems_version: 3.3.5
|
111
|
+
signing_key:
|
109
112
|
specification_version: 4
|
110
|
-
summary: Patch resque to be compatible with
|
113
|
+
summary: Patch resque to be compatible with Heroku
|
111
114
|
test_files: []
|