judoscale-rack 1.6.0 → 1.7.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: 25c4d31304eec7f736dae3e7e1d393987d03b4ab013e02d24f91da85742730be
4
- data.tar.gz: 3ae61c7c07765d49b70811c85eae89fe5be70f63943774cfc1a5bc098a7aa812
3
+ metadata.gz: 246f8e2382ae798a3be1945f12d991cebeb3793d3dd9206be6f01ca02ddc4daa
4
+ data.tar.gz: b0dbe3a80b6407842d3dbb48bce1de11c0ee6f59bc023d49d4c9998324e83f1f
5
5
  SHA512:
6
- metadata.gz: dce1735d28585fd90c5c6676574232053ecc3b5c4eff7b968d99031e60836746272a808cf88356833dc9f9ae03a342f55f812867cbf0f354dbcab7f2697f9d13
7
- data.tar.gz: 8a10532cf7302eb0f4726f09f0db2a0aace632bfd2560bc19cadbe3c19f92beeedbf7ba2012a99c9ff2ab498f4cf15c60f27d78918f7877a2e6102e76f1751e6
6
+ metadata.gz: 42216cfac1b745936904c88542ef713ffef6ed7f3fdc9ee4e6d4cd4c19767daf0ddeab9c50daee6ee57b9d436814106c5c18adcec6485a9307cd46805ba3770d
7
+ data.tar.gz: 9b2b74bec1d085437c5b4db15a43e41d24ed4b02953d92008588c74e090e2b7c9ebc4477ad6ed4c1b05b060a84122788f1baea27765ef91e3d7c7d5301ecda6f
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "judoscale-ruby"
4
- require "judoscale/rack/version"
4
+ require "judoscale/version"
5
5
  require "judoscale/web_metrics_collector"
6
6
  require "judoscale/request_middleware"
7
7
  require "rack"
@@ -10,6 +10,7 @@ require "rack"
10
10
  # the app's middleware chain.
11
11
 
12
12
  Judoscale.add_adapter :"judoscale-rack", {
13
- adapter_version: Judoscale::Rack::VERSION,
14
- framework_version: ::Rack.version
13
+ adapter_version: Judoscale::VERSION,
14
+ # Rack deprecated `version` in v3, removed in v3.1.
15
+ framework_version: ::Rack.respond_to?(:release) ? ::Rack.release : ::Rack.version
15
16
  }, metrics_collector: Judoscale::WebMetricsCollector
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judoscale-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.1
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: 2024-04-26 00:00:00.000000000 Z
12
+ date: 2024-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: judoscale-ruby
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 1.6.0
20
+ version: 1.7.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 1.6.0
27
+ version: 1.7.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rack
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -46,14 +46,8 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - Gemfile
50
- - Rakefile
51
- - judoscale-rack.gemspec
52
49
  - lib/judoscale-rack.rb
53
50
  - lib/judoscale/rack.rb
54
- - lib/judoscale/rack/version.rb
55
- - lib/rails-autoscale-rack.rb
56
- - rails-autoscale-rack.gemspec
57
51
  homepage: https://judoscale.com
58
52
  licenses:
59
53
  - MIT
@@ -78,9 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
72
  - !ruby/object:Gem::Version
79
73
  version: '0'
80
74
  requirements: []
81
- rubygems_version: 3.4.10
75
+ rubygems_version: 3.5.11
82
76
  signing_key:
83
77
  specification_version: 4
84
- summary: This gem provides Rack app integration with the Judoscale autoscaling add-on
85
- for Heroku.
78
+ summary: Autoscaling for Rack applications.
86
79
  test_files: []
data/Gemfile DELETED
@@ -1,10 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec name: "judoscale-rack"
4
-
5
- gem "judoscale-ruby", path: "../judoscale-ruby"
6
- gem "minitest"
7
- gem "rake"
8
- gem "debug"
9
- gem "sinatra", ">= 2.0"
10
- gem "rack-test"
data/Rakefile DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rake/testtask"
4
-
5
- Rake::TestTask.new(:test) do |t|
6
- t.libs << "lib"
7
- t.libs << "test"
8
- t.test_files = FileList["test/**/*_test.rb"]
9
- end
10
-
11
- task default: :test
@@ -1,30 +0,0 @@
1
- lib = File.expand_path("../lib", __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "judoscale/rack/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "judoscale-rack"
7
- spec.version = Judoscale::Rack::VERSION
8
- spec.authors = ["Adam McCrea", "Jon Sullivan"]
9
- spec.email = ["hello@judoscale.com"]
10
-
11
- spec.summary = "This gem provides Rack app 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", Judoscale::Rack::VERSION
29
- spec.add_dependency "rack"
30
- end
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Judoscale
4
- module Rack
5
- VERSION = "1.6.0"
6
- end
7
- end
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "judoscale/rack"
@@ -1,30 +0,0 @@
1
- lib = File.expand_path("../lib", __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "judoscale/rack/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "rails-autoscale-rack"
7
- spec.version = Judoscale::Rack::VERSION
8
- spec.authors = ["Adam McCrea", "Jon Sullivan"]
9
- spec.email = ["hello@judoscale.com"]
10
-
11
- spec.summary = "This gem provides Rack app 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 "rails-autoscale-core", Judoscale::Rack::VERSION
29
- spec.add_dependency "rack"
30
- end