judoscale-delayed_job 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72be6947e41dd7e0fcb3bdea68bf15c84a6eb657ac5efd9a33b513254eab34e5
4
- data.tar.gz: 99000a1192d9d54eb0a34fea3d22c5e66aa2de014a543e5b111652e2180f3592
3
+ metadata.gz: 63acefe2e0488d8c1e232faf7d92838ae6da1f79dba73c42dcc1ab07bd0de416
4
+ data.tar.gz: 8d967a8fe5e66aa5962640eafa8b8e75e6aa374bb7a119aa1f4d3ea411c85bab
5
5
  SHA512:
6
- metadata.gz: eeea33fe6254efd32ad06afa778fc84dfba70c03b0c4b22f91f92012ba05ad0eca695c082f68d3aafbad09beced98ed324ff3e61e9354ac0c5b6ca4c10a8f0e9
7
- data.tar.gz: 2c8506da3c7a944d204be18d369ef8e50b4af89bfc351e15398c9c744a17ae03923a69d9566e3086dac4536ae3b6b2e940e47ddb28369664226d4b7721508aba
6
+ metadata.gz: bc9655e93bea53f7830556d7a6331c6c20c848c9ec1d2014820eb81eaf52547d056f3c3bcf12e99aefa481b682f388fd6f57cfededfefa81808d240774bf8447
7
+ data.tar.gz: def84594151c9e91c231903d0203b07078bf0cf17da8bff0896cdbece7261d0b08f91d93f4ffeda4d9c5c6f578be4ce4f060317341514a390a3d3d0f6fa5e61e
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: ../judoscale-ruby
3
3
  specs:
4
- judoscale-ruby (1.4.1)
4
+ judoscale-ruby (1.5.0)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- judoscale-delayed_job (1.4.1)
9
+ judoscale-delayed_job (1.5.0)
10
10
  delayed_job_active_record (>= 4.0)
11
- judoscale-ruby (= 1.4.1)
11
+ judoscale-ruby (= 1.5.0)
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
@@ -48,6 +48,7 @@ GEM
48
48
  PLATFORMS
49
49
  arm64-darwin-20
50
50
  arm64-darwin-21
51
+ arm64-darwin-22
51
52
  x86_64-darwin-21
52
53
  x86_64-linux
53
54
 
@@ -30,6 +30,10 @@ module Judoscale
30
30
  Judoscale::Config.instance.delayed_job
31
31
  end
32
32
 
33
+ def self.collect?(config)
34
+ super && ActiveRecordHelper.table_exists?("delayed_jobs")
35
+ end
36
+
33
37
  def collect
34
38
  metrics = []
35
39
  t = Time.now.utc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Judoscale
4
4
  module DelayedJob
5
- VERSION = "1.4.1"
5
+ VERSION = "1.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judoscale-delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
8
8
  - Carlos Antonio da Silva
9
9
  - Jon Sullivan
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-05-04 00:00:00.000000000 Z
13
+ date: 2023-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: judoscale-ruby
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.4.1
21
+ version: 1.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.4.1
28
+ version: 1.5.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: delayed_job_active_record
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '4.0'
43
- description:
43
+ description:
44
44
  email:
45
45
  - hello@judoscale.com
46
46
  executables: []
@@ -67,7 +67,7 @@ metadata:
67
67
  documentation_uri: https://judoscale.com/docs
68
68
  changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
69
69
  source_code_uri: https://github.com/judoscale/judoscale-ruby
70
- post_install_message:
70
+ post_install_message:
71
71
  rdoc_options: []
72
72
  require_paths:
73
73
  - lib
@@ -82,8 +82,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.2.32
86
- signing_key:
85
+ rubygems_version: 3.4.10
86
+ signing_key:
87
87
  specification_version: 4
88
88
  summary: This gem provides DelayedJob integration with the Judoscale autoscaling add-on
89
89
  for Heroku.