resque-heroku-signals 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/.github/dependabot.yml +12 -0
- data/README.md +4 -1
- data/resque-heroku-signals.gemspec +3 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 050fcc04c58ede352eb4c15d6a69e2cf49e58ee2d8bac91523d524ac3484c2e5
|
4
|
+
data.tar.gz: c5a9171250f88404d4c9c4e5973ea947ff8446d9f87d3727ba3f743cbbdfe088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c75d31ef8b04127313928444c44233207b6553d1c2325ebf0fc6594470414b3a88e5b915c2162f752bee50aa1ecdf9abf3d599acb799b8239d12cdcb408aa8d4
|
7
|
+
data.tar.gz: 5ee48d48036d0461e437c1f09497e264d6022c80870a0cd329b893a9b0497649cd7f8d8c2b3c4c3ff4ae744762d99c55a54efbc079ac0b3c6e004005112f8515
|
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.2.0'
|
8
8
|
spec.authors = ["Michael Bianco"]
|
9
9
|
spec.email = ["mike@mikebian.co"]
|
10
10
|
|
11
11
|
spec.summary = "Patch resque to be compatible with the Heroku platform"
|
12
|
-
spec.homepage = "https://github.com/
|
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|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
# strict resque dependency is intentional
|
23
|
-
spec.add_dependency "resque", "2.
|
23
|
+
spec.add_dependency "resque", "2.2.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 2.2"
|
26
26
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bianco
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-06 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.2.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.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,6 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".github/.github/dependabot.yml"
|
76
77
|
- ".github/workflows/ci.yml"
|
77
78
|
- ".gitignore"
|
78
79
|
- ".rspec"
|
@@ -85,7 +86,7 @@ files:
|
|
85
86
|
- bin/setup
|
86
87
|
- lib/resque-heroku-signals.rb
|
87
88
|
- resque-heroku-signals.gemspec
|
88
|
-
homepage: https://github.com/
|
89
|
+
homepage: https://github.com/resque/resque-heroku-signals
|
89
90
|
licenses:
|
90
91
|
- MIT
|
91
92
|
metadata: {}
|