rails-autoscale-que 1.4.1 → 1.5.1

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: 8287b25e02106c2e4269bca1c318f4207bfdce1e8d178dc341330983fdb87b83
4
- data.tar.gz: 3a6123da79189b60747489d701c183301fb8d7f183df169d80458fd973bfb5f1
3
+ metadata.gz: 3f0d990432d6ac9df9040db6eca0bb32608d1342220aa48ecba5f2cf965f77dd
4
+ data.tar.gz: '0943fe723fa7254614990380ade10cfae6d55f49ead79c31eaf2064ea894dad2'
5
5
  SHA512:
6
- metadata.gz: f410b065f9ad559a1438d8958fbc11a2ee677a868581c67b81ab89831b8a9f39e17c3c46eb617b40bcdbe3ed7986c1931635a775888494b13b9824100d60aaf3
7
- data.tar.gz: b1d598b33145c9dff2126a6dbfaa8d18a39f077b3c07e352f6d49cd831432a5a5c70b6f2eac1ef1be02d689327ab10b401ca6b4c4566af5bd1fce28fe12ab7c3
6
+ metadata.gz: d8835b3c05271749c2e0c37f71d8b36427cee5e35ced0379d176fe3fc67aa1b2df9084ec8a3cfa3ecaf04235c4a54eb6d7a1c9737f6fd90ef77524852bd81c2a
7
+ data.tar.gz: 04d81ffc82d47b564fe0dc7b518019b7b8c77a8327560c18417036924a7019b5e4e7888a0fffda7f81a76bb6ac16b5f4b276e36233c0857c8991fcafb434a5eb
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.1)
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.1)
10
+ judoscale-ruby (= 1.5.1)
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.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-autoscale-que
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.1
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-08-09 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.1
21
+ version: 1.5.1
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.1
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.