judoscale-delayed_job 1.4.0 → 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: 97bf5697612b3c1795a105707f6b5d4055d7c27198834fe6c8568cac3e38d6ab
4
- data.tar.gz: 2bfb0f0db648246ed139508ea782e84eebde99fac05c134055e2da259ed2878e
3
+ metadata.gz: 63acefe2e0488d8c1e232faf7d92838ae6da1f79dba73c42dcc1ab07bd0de416
4
+ data.tar.gz: 8d967a8fe5e66aa5962640eafa8b8e75e6aa374bb7a119aa1f4d3ea411c85bab
5
5
  SHA512:
6
- metadata.gz: edda28ae863bb4b28fdaf8d365837781dd235aa30a58a7ab1fe17ac61389bd7310a0ef3691d8da6cc5b30aab76cf34545dfa12a8461244bce300385a5982c993
7
- data.tar.gz: aeace426e5c1f50fd224f847489a7cc8098abfb320ee3ca784e0527d7ed0e95584dd1f5d5849ceee4d3ea392226e79c8097a1482e9c9d408b0bb3cd9a3b27232
6
+ metadata.gz: bc9655e93bea53f7830556d7a6331c6c20c848c9ec1d2014820eb81eaf52547d056f3c3bcf12e99aefa481b682f388fd6f57cfededfefa81808d240774bf8447
7
+ data.tar.gz: def84594151c9e91c231903d0203b07078bf0cf17da8bff0896cdbece7261d0b08f91d93f4ffeda4d9c5c6f578be4ce4f060317341514a390a3d3d0f6fa5e61e
data/Gemfile CHANGED
@@ -7,5 +7,4 @@ gem "activerecord"
7
7
  gem "pg"
8
8
  gem "minitest"
9
9
  gem "rake"
10
- gem "rake-release"
11
10
  gem "debug"
@@ -7,4 +7,3 @@ gem "activerecord", "~> 6.1"
7
7
  gem "pg"
8
8
  gem "minitest"
9
9
  gem "rake"
10
- gem "rake-release"
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: ../judoscale-ruby
3
3
  specs:
4
- judoscale-ruby (1.4.0)
4
+ judoscale-ruby (1.5.0)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- judoscale-delayed_job (1.4.0)
9
+ judoscale-delayed_job (1.5.0)
10
10
  delayed_job_active_record (>= 4.0)
11
- judoscale-ruby (= 1.4.0)
11
+ judoscale-ruby (= 1.5.0)
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
@@ -40,8 +40,6 @@ GEM
40
40
  minitest (5.17.0)
41
41
  pg (1.4.5)
42
42
  rake (13.0.6)
43
- rake-release (1.3.0)
44
- bundler (>= 1.11, < 3)
45
43
  reline (0.3.2)
46
44
  io-console (~> 0.5)
47
45
  tzinfo (2.0.6)
@@ -50,6 +48,7 @@ GEM
50
48
  PLATFORMS
51
49
  arm64-darwin-20
52
50
  arm64-darwin-21
51
+ arm64-darwin-22
53
52
  x86_64-darwin-21
54
53
  x86_64-linux
55
54
 
@@ -61,7 +60,6 @@ DEPENDENCIES
61
60
  minitest
62
61
  pg
63
62
  rake
64
- rake-release
65
63
 
66
64
  BUNDLED WITH
67
65
  2.3.9
data/Rakefile CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rake/release"
4
3
  require "rake/testtask"
5
4
 
6
5
  Rake::TestTask.new(:test) do |t|
@@ -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.0"
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.0
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-04-21 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.0
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.0
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.