autoscale-queue-delayed-job 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/autoscale/queue/delayed/job/version.rb +1 -1
- data/lib/autoscale/queue/delayed/job.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ffb0df3f12a4f43a5a764fcca8124768b7f41d8a76eed74655bf69cf202f2f9
|
4
|
+
data.tar.gz: 58635ced31ded8538eb3ac258906b7e81933f5cbdc2cf5c7339260cdec41be4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2042a6224b7cc16d3973de7e76b696f594905e3ba11c6ab9246e12c64941d06b90247e95ced3bb3ee64a9cf7f2c3456ab82ad45c2bff0d46337a24b650b3420
|
7
|
+
data.tar.gz: 85c234ea840052cb73e647ea830979bfdd06b63ddce51403e56a5873794fa7b9aeba472cb4bd6d7c53e260f5bc7858f795ad654c452c4be89f12b05180edc7ac
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ module Autoscale
|
|
4
4
|
module Queue
|
5
5
|
module Delayed
|
6
6
|
module Job
|
7
|
-
def
|
7
|
+
def job_queue_time(*queues)
|
8
8
|
qry = ::Delayed::Job.select(:run_at)
|
9
9
|
qry = qry.where("run_at <= ?", Time.now)
|
10
10
|
qry = qry.where(failed_at: nil, locked_at: nil)
|
@@ -13,7 +13,7 @@ module Autoscale
|
|
13
13
|
age ? (Time.now - age).round : 0
|
14
14
|
end
|
15
15
|
|
16
|
-
module_function :
|
16
|
+
module_function :job_queue_time
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoscale-queue-delayed-job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael R. van Rooijen
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email:
|
15
15
|
- support@autoscale.app
|
16
16
|
executables: []
|
@@ -33,7 +33,7 @@ metadata:
|
|
33
33
|
changelog_uri: https://github.com/autoscale-app/ruby-queue-delayed-job/blob/master/CHANGELOG.md
|
34
34
|
bug_tracker_uri: https://github.com/autoscale-app/ruby-queue-delayed-job/issues
|
35
35
|
rubygems_mfa_required: 'true'
|
36
|
-
post_install_message:
|
36
|
+
post_install_message:
|
37
37
|
rdoc_options: []
|
38
38
|
require_paths:
|
39
39
|
- lib
|
@@ -48,8 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
|
-
rubygems_version: 3.4.
|
52
|
-
signing_key:
|
51
|
+
rubygems_version: 3.4.10
|
52
|
+
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: Produces Delayed Job queue metrics for the Autoscale.app Agent
|
55
55
|
test_files: []
|