rails-autoscale-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: 1e9c2aef48863d94d7dd3ff4850892ce217916373383889a1eb1da65ff13bc8e
4
- data.tar.gz: 2bfb0f0db648246ed139508ea782e84eebde99fac05c134055e2da259ed2878e
3
+ metadata.gz: 1a902921cc9fa1605e22f2af4ae5c28bdacd6b6f7963baab3be5179734a46ed8
4
+ data.tar.gz: 7088569a3d8e23686a4834145292c30da715aafd6ac6737631a974c3c09862a1
5
5
  SHA512:
6
- metadata.gz: '03380c85bb3186d90f394be18c172e5e24b4a5132ef1aaf7eb22eb2aadd7c7390505d15a84666e9593c8e30e7ab00285ce15e0acaa75c690e8ae0f3f2fce1b8e'
7
- data.tar.gz: aeace426e5c1f50fd224f847489a7cc8098abfb320ee3ca784e0527d7ed0e95584dd1f5d5849ceee4d3ea392226e79c8097a1482e9c9d408b0bb3cd9a3b27232
6
+ metadata.gz: 1b87e0b7221ec36ba9abd834a73120f7222ac5c714fecb7595a0832460641b3448839b6bedda66529b9532bf667656bb3c3476047378c58e8257e5527df63673
7
+ data.tar.gz: 8ffd06c36be67b9efe71092aefb45dc9a5685d9bf2aa670a0af358d31342720bdccaf37e7681fe11cc2e8413cb47eed2379022342f545798ae2b8cb576c53bf3
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: rails-autoscale-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: rails-autoscale-core
@@ -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.