judoscale-delayed_job 1.0.0.rc1 → 1.0.0.rc2

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: '09ff7aa09e479cf943cbac1afb970042506ef43c4b9d2fba6864d4f1fdcd0629'
4
- data.tar.gz: 412d65114dbbbe4a16431b553fb1013b7952ac20b47ad5d357bec42aaff8744c
3
+ metadata.gz: 6ca79e85cd981849675ada7c6b1048bebefea0c6fc8f9004bfdac48d7f9f1aff
4
+ data.tar.gz: ec852aaf03a7dfbdadc4f74663f87e277d5f1714d6ca8c9f0acfd774bda5c2f3
5
5
  SHA512:
6
- metadata.gz: df3c96b26fc811317752d446bb74f383ee377237885a2983a3d1a257df109acd785be77c713277bff5c1090e486c5373d5f647c2b6cc1e74fb8b5e36a306dddc
7
- data.tar.gz: 996a78ec9f098fab90be6c347aa625f4e05b2a2720fc272d946c2eab088044158778979afad1d22a8911f214ffa02967817ee8a0a01f21fb3384b0062abd91fc
6
+ metadata.gz: 48e326d4ecbeeb39a095334b440402f3d3932b44d88185aeab5030ac42785525e42b8c41911bbb12787922dc4dea534cc485f5156c1f1b9612f423bde1efa7f4
7
+ data.tar.gz: ea40c0b400f044e4633741ad6d0b1dcfa653cef3889dd467ba9151fbc186a8695b3f6662364c414e67aa99ced3bd94908181e1aefa0b5e7b0232f44420daec33
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: ../judoscale-ruby
3
3
  specs:
4
- judoscale-ruby (1.0.0.rc1)
4
+ judoscale-ruby (1.0.0.rc2)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- judoscale-delayed_job (1.0.0.rc1)
9
+ judoscale-delayed_job (1.0.0.rc2)
10
10
  delayed_job_active_record (>= 4.0)
11
11
  judoscale-ruby
12
12
 
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Adam McCrea", "Carlos Antonio da Silva"]
9
9
  spec.email = ["adam@adamlogic.com"]
10
10
 
11
- spec.summary = "This gem provides DelayedJob integration with the Judoscale autoscaling add-on for Heroku."
11
+ spec.summary = "This gem is deprecated. See https://github.com/rails-autoscale/rails-autoscale-gems to integrate DelayedJob with the Judoscale Heroku add-on."
12
12
  spec.homepage = "https://judoscale.com"
13
13
  spec.license = "MIT"
14
14
 
@@ -27,4 +27,9 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency "judoscale-ruby"
29
29
  spec.add_dependency "delayed_job_active_record", ">= 4.0"
30
+
31
+ spec.post_install_message = <<~EOS
32
+ `judoscale-delayed_job` is deprecated! Please migrate to `rails-autoscale-delayed_job`.
33
+ See https://github.com/rails-autoscale/rails-autoscale-gems for the installation guide.
34
+ EOS
30
35
  end
@@ -26,8 +26,8 @@ module Judoscale
26
26
  GROUP BY 1
27
27
  SQL
28
28
 
29
- def self.adapter_identifier
30
- :delayed_job
29
+ def self.adapter_config
30
+ Judoscale::Config.instance.delayed_job
31
31
  end
32
32
 
33
33
  def collect
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Judoscale
4
4
  module DelayedJob
5
- VERSION = "1.0.0.rc1"
5
+ VERSION = "1.0.0.rc2"
6
6
  end
7
7
  end
@@ -6,9 +6,10 @@ require "judoscale/delayed_job/version"
6
6
  require "judoscale/delayed_job/metrics_collector"
7
7
  require "delayed_job_active_record"
8
8
 
9
- Judoscale.add_adapter :"judoscale-delayed_job", {
10
- adapter_version: Judoscale::DelayedJob::VERSION,
11
- framework_version: Gem.loaded_specs["delayed_job_active_record"].version.to_s # DJ doesn't have a `VERSION` constant
12
- }, metrics_collector: Judoscale::DelayedJob::MetricsCollector
13
-
14
- Judoscale::Config.add_adapter_config :delayed_job, Judoscale::Config::JobAdapterConfig
9
+ Judoscale.add_adapter :"judoscale-delayed_job",
10
+ {
11
+ adapter_version: Judoscale::DelayedJob::VERSION,
12
+ framework_version: Gem.loaded_specs["delayed_job_active_record"].version.to_s # DJ doesn't have a `VERSION` constant
13
+ },
14
+ metrics_collector: Judoscale::DelayedJob::MetricsCollector,
15
+ expose_config: Judoscale::Config::JobAdapterConfig.new(:delayed_job)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judoscale-delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-12 00:00:00.000000000 Z
12
+ date: 2022-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: judoscale-ruby
@@ -64,7 +64,9 @@ metadata:
64
64
  documentation_uri: https://judoscale.com/docs
65
65
  changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
66
66
  source_code_uri: https://github.com/judoscale/judoscale-ruby
67
- post_install_message:
67
+ post_install_message: |
68
+ `judoscale-delayed_job` is deprecated! Please migrate to `rails-autoscale-delayed_job`.
69
+ See https://github.com/rails-autoscale/rails-autoscale-gems for the installation guide.
68
70
  rdoc_options: []
69
71
  require_paths:
70
72
  - lib
@@ -82,6 +84,6 @@ requirements: []
82
84
  rubygems_version: 3.2.32
83
85
  signing_key:
84
86
  specification_version: 4
85
- summary: This gem provides DelayedJob integration with the Judoscale autoscaling add-on
86
- for Heroku.
87
+ summary: This gem is deprecated. See https://github.com/rails-autoscale/rails-autoscale-gems
88
+ to integrate DelayedJob with the Judoscale Heroku add-on.
87
89
  test_files: []