judoscale-que 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: c3090a91ebe189681cb71405f190a84d13e4ba7c456b2bd213e78ba914248edd
4
- data.tar.gz: 4189eae06220d8a4c794660ef011f44f61cc1a62e7e13b723a135828c763a9ac
3
+ metadata.gz: 887c41e787f44ae6cafca201d7d0d06750513475797e3c2f06a670ce4c02ab31
4
+ data.tar.gz: 118045222b99daaa807a68d495c84d5f268dde8cab1216346cab889be77761b4
5
5
  SHA512:
6
- metadata.gz: 347ff6b81ba02e3ab50c1488149fd778915f1a61100efd308960d94e13e939b9e08f2d7fb5cdcb520f350a6b9d12574be557ff8fc132fbde82a7cd625f46599f
7
- data.tar.gz: 9ca2d0b12b20af0ae18917be3394994d0951588ef32c07ac37a0366d5d5e3f1857aa6852efbab5df1f0410d65278d522d4e40515bb4b56fc933cf92a3b31e1cc
6
+ metadata.gz: e8abb5bad1794bf5d03036c9f70df8c3344489a72ae23a69c005fe4f1256b396f01d7db6dfbec931205c5a33fa54dc403276bc5591b348c56fe90e01b1c8d03d
7
+ data.tar.gz: 31a586c2226d34e7fb5c6ee89aae789e4668cfb11db843e18fc6cd200c569792a4256500ec53e1c42b7d405c3c5f778ca9d65718e97bfc27be84342c0f1b7959
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
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-que (1.4.1)
10
- judoscale-ruby (= 1.4.1)
9
+ judoscale-que (1.5.0)
10
+ judoscale-ruby (= 1.5.0)
11
11
  que (>= 1.0)
12
12
 
13
13
  GEM
@@ -44,6 +44,7 @@ GEM
44
44
  PLATFORMS
45
45
  arm64-darwin-20
46
46
  arm64-darwin-21
47
+ arm64-darwin-22
47
48
  x86_64-darwin-21
48
49
  x86_64-linux
49
50
 
@@ -38,6 +38,10 @@ module Judoscale
38
38
  Judoscale::Config.instance.que
39
39
  end
40
40
 
41
+ def self.collect?(config)
42
+ super && ActiveRecordHelper.table_exists?("que_jobs")
43
+ end
44
+
41
45
  def collect
42
46
  metrics = []
43
47
  t = Time.now.utc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Judoscale
4
4
  module Que
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-que
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: que
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '1.0'
43
- description:
43
+ description:
44
44
  email:
45
45
  - hello@judoscale.com
46
46
  executables: []
@@ -68,7 +68,7 @@ metadata:
68
68
  documentation_uri: https://judoscale.com/docs
69
69
  changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
70
70
  source_code_uri: https://github.com/judoscale/judoscale-ruby
71
- post_install_message:
71
+ post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
74
74
  - lib
@@ -83,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.2.32
87
- signing_key:
86
+ rubygems_version: 3.4.10
87
+ signing_key:
88
88
  specification_version: 4
89
89
  summary: This gem provides Que integration with the Judoscale autoscaling add-on for
90
90
  Heroku.