judoscale-sidekiq 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: 1989caee2cc945b2331ee3afcd12db7acf48244dd62f2d4bf625b234a7ed3f57
4
- data.tar.gz: 5ca9471e467c3f22103d33e7332c9cbed89603a72abe605f91f7a52b264c5a97
3
+ metadata.gz: 8e9103d7d10e849e8d5eb34ddf7c1aa492960bf0f0b7c08158e41fb34649dd60
4
+ data.tar.gz: 6fb4a36ca8f1a9af55b46c9600fae5e10dfa42960de90c37d651dc1a614c8ae3
5
5
  SHA512:
6
- metadata.gz: 3a8a5c8ccb16cf3a121628f71bda7a3684bd3a6fff010182d3984537a51ecb785784ac49030cce6afb48844bd97e129764f63f3a9b0b131706edca825e956d8c
7
- data.tar.gz: 0f81f1ca695c776f8e5dadba021c8d4d304bada687db2cdff77ca5c2864ceb51fa8639b5280b489ef7a5e388c22241217feb19800698d8983c2c8de1b49a1850
6
+ metadata.gz: c7bbf28eb9bb70202f76d953faba2d6b7e1648303277083b69952f6b073e4afd9afeddbd5314d6dbac0b6be981904687c5882715fa32c3be88bbd46d94a7b1dc
7
+ data.tar.gz: 3e147a90c721376f6d6f0cbae43b1cfcb780d1ae83ca33baa5b6ed0ccb2abbc0eb9cc8e766b697b88d2734b04c1f9ed3a532e1b1c660a1f54be560b400644782
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-sidekiq (1.0.0.rc1)
9
+ judoscale-sidekiq (1.0.0.rc2)
10
10
  judoscale-ruby
11
11
  sidekiq (>= 5.0)
12
12
 
@@ -15,13 +15,13 @@ GEM
15
15
  specs:
16
16
  connection_pool (2.2.5)
17
17
  minitest (5.15.0)
18
- rack (2.2.3)
18
+ rack (2.2.4)
19
19
  rake (13.0.6)
20
- redis (4.6.0)
21
- sidekiq (6.4.1)
20
+ redis (4.7.1)
21
+ sidekiq (6.5.4)
22
22
  connection_pool (>= 2.2.2)
23
23
  rack (~> 2.0)
24
- redis (>= 4.2.0)
24
+ redis (>= 4.5.0)
25
25
 
26
26
  PLATFORMS
27
27
  arm64-darwin-20
@@ -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 Sidekiq 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 Sidekiq 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 "sidekiq", ">= 5.0"
30
+
31
+ spec.post_install_message = <<~EOS
32
+ `judoscale-sidekiq` is deprecated! Please migrate to `rails-autoscale-sidekiq`.
33
+ See https://github.com/rails-autoscale/rails-autoscale-gems for the installation guide.
34
+ EOS
30
35
  end
@@ -6,8 +6,8 @@ require "judoscale/metric"
6
6
  module Judoscale
7
7
  module Sidekiq
8
8
  class MetricsCollector < Judoscale::JobMetricsCollector
9
- def self.adapter_identifier
10
- :sidekiq
9
+ def self.adapter_config
10
+ Judoscale::Config.instance.sidekiq
11
11
  end
12
12
 
13
13
  def collect
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Judoscale
4
4
  module Sidekiq
5
- VERSION = "1.0.0.rc1"
5
+ VERSION = "1.0.0.rc2"
6
6
  end
7
7
  end
@@ -6,9 +6,10 @@ require "judoscale/sidekiq/version"
6
6
  require "judoscale/sidekiq/metrics_collector"
7
7
  require "sidekiq/api"
8
8
 
9
- Judoscale.add_adapter :"judoscale-sidekiq", {
10
- adapter_version: Judoscale::Sidekiq::VERSION,
11
- framework_version: ::Sidekiq::VERSION
12
- }, metrics_collector: Judoscale::Sidekiq::MetricsCollector
13
-
14
- Judoscale::Config.add_adapter_config :sidekiq, Judoscale::Config::JobAdapterConfig
9
+ Judoscale.add_adapter :"judoscale-sidekiq",
10
+ {
11
+ adapter_version: Judoscale::Sidekiq::VERSION,
12
+ framework_version: ::Sidekiq::VERSION
13
+ },
14
+ metrics_collector: Judoscale::Sidekiq::MetricsCollector,
15
+ expose_config: Judoscale::Config::JobAdapterConfig.new(:sidekiq)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judoscale-sidekiq
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-sidekiq` is deprecated! Please migrate to `rails-autoscale-sidekiq`.
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 Sidekiq 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 Sidekiq with the Judoscale Heroku add-on.
87
89
  test_files: []