rails-autoscale-sidekiq 1.1.1 → 1.2.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: 6feec6c6b9a25d5a673354cf465abdfd2c746c2ae0ae4022d20a7dafce7718a0
4
- data.tar.gz: f4212839ada3304688b76393cfabbeaf14cc00cfec4c96d0e7cb3be177a4c1ef
3
+ metadata.gz: 6f03a9d4e15d94b3512f570d2831b07158d7513edb1aef1f1f6e9591947481ab
4
+ data.tar.gz: f8b6ac6c8923b46a8e9f4d5a3b511798a21a0633552e9aa041d2eff385802eb1
5
5
  SHA512:
6
- metadata.gz: 6d22d76c58beef0b6cb9550aa0b54bc9ac53cce5885bfa565e5bec46b4e03947ec51636c3488fc2be586c56afb9665d68c6d48c9ec786c52677117f15f0bc76a
7
- data.tar.gz: 67548c6da997ed2c4e74adc2454344456460873422058eebec5a06e9a401392fe8afbd75943a809d8d31f714b2f85949390643e7a9c47773bc3cd90cc2f74005
6
+ metadata.gz: 0a199e5122ea03ecca8cb06146e6b691ccc0c7b9afa8e5637509e19dd6c440b7715936715558bc34eed865850bf69e981b375eb71e6da75cdb0719bcd629d83c
7
+ data.tar.gz: 50eec05653c48bd455a8ddac3f977983520ace2d1fad85b37af16cd2f1a58ce3c58e2375df2a276e654b8b80859fb45d019762c2f7b32738a486449e5a954b3a
data/Gemfile CHANGED
@@ -1,9 +1,10 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec name: "judoscale-sidekiq"
4
4
 
5
- gem "rails-autoscale-core", path: "../rails-autoscale-core"
5
+ gem "judoscale-ruby", path: "../judoscale-ruby"
6
6
  gem "sidekiq", "~> 7.0"
7
7
  gem "minitest"
8
8
  gem "rake"
9
+ gem "rake-release"
9
10
  gem "debug"
data/Gemfile-sidekiq-5 CHANGED
@@ -1,8 +1,9 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec name: "judoscale-sidekiq"
4
4
 
5
- gem "rails-autoscale-core", path: "../rails-autoscale-core"
5
+ gem "judoscale-ruby", path: "../judoscale-ruby"
6
6
  gem "sidekiq", "~> 5.0"
7
7
  gem "minitest"
8
8
  gem "rake"
9
+ gem "rake-release"
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
- remote: ../rails-autoscale-core
2
+ remote: ../judoscale-ruby
3
3
  specs:
4
- rails-autoscale-core (1.1.1)
4
+ judoscale-ruby (1.2.1)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- rails-autoscale-sidekiq (1.1.1)
10
- rails-autoscale-core
9
+ judoscale-sidekiq (1.2.1)
10
+ judoscale-ruby
11
11
  sidekiq (>= 5.0)
12
12
 
13
13
  GEM
@@ -24,6 +24,8 @@ GEM
24
24
  minitest (5.15.0)
25
25
  rack (3.0.0)
26
26
  rake (13.0.6)
27
+ rake-release (1.3.0)
28
+ bundler (>= 1.11, < 3)
27
29
  redis-client (0.11.1)
28
30
  connection_pool
29
31
  reline (0.3.1)
@@ -42,10 +44,11 @@ PLATFORMS
42
44
 
43
45
  DEPENDENCIES
44
46
  debug
47
+ judoscale-ruby!
48
+ judoscale-sidekiq!
45
49
  minitest
46
- rails-autoscale-core!
47
- rails-autoscale-sidekiq!
48
50
  rake
51
+ rake-release
49
52
  sidekiq (~> 7.0)
50
53
 
51
54
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
3
+ require "rake/release"
4
4
  require "rake/testtask"
5
5
 
6
6
  Rake::TestTask.new(:test) do |t|
@@ -0,0 +1,30 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "judoscale/sidekiq/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "judoscale-sidekiq"
7
+ spec.version = Judoscale::Sidekiq::VERSION
8
+ spec.authors = ["Adam McCrea", "Carlos Antonio da Silva"]
9
+ spec.email = ["adam@adamlogic.com"]
10
+
11
+ spec.summary = "This gem provides Sidekiq integration with the Judoscale autoscaling add-on for Heroku."
12
+ spec.homepage = "https://judoscale.com"
13
+ spec.license = "MIT"
14
+
15
+ spec.metadata = {
16
+ "homepage_uri" => "https://judoscale.com",
17
+ "bug_tracker_uri" => "https://github.com/judoscale/judoscale-ruby/issues",
18
+ "documentation_uri" => "https://judoscale.com/docs",
19
+ "changelog_uri" => "https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md",
20
+ "source_code_uri" => "https://github.com/judoscale/judoscale-ruby"
21
+ }
22
+
23
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.required_ruby_version = ">= 2.6.0"
27
+
28
+ spec.add_dependency "judoscale-ruby"
29
+ spec.add_dependency "sidekiq", ">= 5.0"
30
+ end
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails_autoscale/job_metrics_collector"
4
- require "rails_autoscale/metric"
3
+ require "judoscale/job_metrics_collector"
4
+ require "judoscale/metric"
5
5
 
6
- module RailsAutoscale
6
+ module Judoscale
7
7
  module Sidekiq
8
- class MetricsCollector < RailsAutoscale::JobMetricsCollector
8
+ class MetricsCollector < Judoscale::JobMetricsCollector
9
9
  def self.adapter_config
10
- RailsAutoscale::Config.instance.sidekiq
10
+ Judoscale::Config.instance.sidekiq
11
11
  end
12
12
 
13
13
  def collect
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module RailsAutoscale
3
+ module Judoscale
4
4
  module Sidekiq
5
- VERSION = "1.1.1"
5
+ VERSION = "1.2.1"
6
6
  end
7
7
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "judoscale-ruby"
4
+ require "judoscale/config"
5
+ require "judoscale/sidekiq/version"
6
+ require "judoscale/sidekiq/metrics_collector"
7
+ require "sidekiq/api"
8
+
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)
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "judoscale/sidekiq"
@@ -1,23 +1,23 @@
1
1
  lib = File.expand_path("../lib", __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "rails_autoscale/sidekiq/version"
3
+ require "judoscale/sidekiq/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rails-autoscale-sidekiq"
7
- spec.version = RailsAutoscale::Sidekiq::VERSION
7
+ spec.version = Judoscale::Sidekiq::VERSION
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 Rails Autoscale autoscaling add-on for Heroku."
12
- spec.homepage = "https://railsautoscale.com"
11
+ spec.summary = "This gem provides Sidekiq integration with the Judoscale autoscaling add-on for Heroku."
12
+ spec.homepage = "https://judoscale.com"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.metadata = {
16
- "homepage_uri" => "https://railsautoscale.com",
17
- "bug_tracker_uri" => "https://github.com/rails-autoscale/rails-autoscale-gems/issues",
18
- "documentation_uri" => "https://railsautoscale.com/docs",
19
- "changelog_uri" => "https://github.com/rails-autoscale/rails-autoscale-gems/blob/main/CHANGELOG.md",
20
- "source_code_uri" => "https://github.com/rails-autoscale/rails-autoscale-gems"
16
+ "homepage_uri" => "https://judoscale.com",
17
+ "bug_tracker_uri" => "https://github.com/judoscale/judoscale-ruby/issues",
18
+ "documentation_uri" => "https://judoscale.com/docs",
19
+ "changelog_uri" => "https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md",
20
+ "source_code_uri" => "https://github.com/judoscale/judoscale-ruby"
21
21
  }
22
22
 
23
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.required_ruby_version = ">= 2.6.0"
27
27
 
28
- spec.add_dependency "rails-autoscale-core"
28
+ spec.add_dependency "judoscale-ruby"
29
29
  spec.add_dependency "sidekiq", ">= 5.0"
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-autoscale-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
@@ -9,10 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-11-14 00:00:00.000000000 Z
12
+ date: 2022-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rails-autoscale-core
15
+ name: judoscale-ruby
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
@@ -50,20 +50,21 @@ files:
50
50
  - Gemfile-sidekiq-5
51
51
  - Gemfile.lock
52
52
  - Rakefile
53
- - lib/rails-autoscale-sidekiq.rb
54
- - lib/rails_autoscale/sidekiq.rb
55
- - lib/rails_autoscale/sidekiq/metrics_collector.rb
56
- - lib/rails_autoscale/sidekiq/version.rb
53
+ - judoscale-sidekiq.gemspec
54
+ - lib/judoscale-sidekiq.rb
55
+ - lib/judoscale/sidekiq.rb
56
+ - lib/judoscale/sidekiq/metrics_collector.rb
57
+ - lib/judoscale/sidekiq/version.rb
57
58
  - rails-autoscale-sidekiq.gemspec
58
- homepage: https://railsautoscale.com
59
+ homepage: https://judoscale.com
59
60
  licenses:
60
61
  - MIT
61
62
  metadata:
62
- homepage_uri: https://railsautoscale.com
63
- bug_tracker_uri: https://github.com/rails-autoscale/rails-autoscale-gems/issues
64
- documentation_uri: https://railsautoscale.com/docs
65
- changelog_uri: https://github.com/rails-autoscale/rails-autoscale-gems/blob/main/CHANGELOG.md
66
- source_code_uri: https://github.com/rails-autoscale/rails-autoscale-gems
63
+ homepage_uri: https://judoscale.com
64
+ bug_tracker_uri: https://github.com/judoscale/judoscale-ruby/issues
65
+ documentation_uri: https://judoscale.com/docs
66
+ changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
67
+ source_code_uri: https://github.com/judoscale/judoscale-ruby
67
68
  post_install_message:
68
69
  rdoc_options: []
69
70
  require_paths:
@@ -82,6 +83,6 @@ requirements: []
82
83
  rubygems_version: 3.2.32
83
84
  signing_key:
84
85
  specification_version: 4
85
- summary: This gem provides Sidekiq integration with the Rails Autoscale autoscaling
86
- add-on for Heroku.
86
+ summary: This gem provides Sidekiq integration with the Judoscale autoscaling add-on
87
+ for Heroku.
87
88
  test_files: []
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rails_autoscale/sidekiq"
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rails-autoscale-core"
4
- require "rails_autoscale/config"
5
- require "rails_autoscale/sidekiq/version"
6
- require "rails_autoscale/sidekiq/metrics_collector"
7
- require "sidekiq/api"
8
-
9
- RailsAutoscale.add_adapter :"rails-autoscale-sidekiq",
10
- {
11
- adapter_version: RailsAutoscale::Sidekiq::VERSION,
12
- framework_version: ::Sidekiq::VERSION
13
- },
14
- metrics_collector: RailsAutoscale::Sidekiq::MetricsCollector,
15
- expose_config: RailsAutoscale::Config::JobAdapterConfig.new(:sidekiq)