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 +4 -4
- data/lib/judoscale/rack.rb +4 -3
- metadata +6 -13
- data/Gemfile +0 -10
- data/Rakefile +0 -11
- data/judoscale-rack.gemspec +0 -30
- data/lib/judoscale/rack/version.rb +0 -7
- data/lib/rails-autoscale-rack.rb +0 -3
- data/rails-autoscale-rack.gemspec +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 246f8e2382ae798a3be1945f12d991cebeb3793d3dd9206be6f01ca02ddc4daa
|
4
|
+
data.tar.gz: b0dbe3a80b6407842d3dbb48bce1de11c0ee6f59bc023d49d4c9998324e83f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42216cfac1b745936904c88542ef713ffef6ed7f3fdc9ee4e6d4cd4c19767daf0ddeab9c50daee6ee57b9d436814106c5c18adcec6485a9307cd46805ba3770d
|
7
|
+
data.tar.gz: 9b2b74bec1d085437c5b4db15a43e41d24ed4b02953d92008588c74e090e2b7c9ebc4477ad6ed4c1b05b060a84122788f1baea27765ef91e3d7c7d5301ecda6f
|
data/lib/judoscale/rack.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "judoscale-ruby"
|
4
|
-
require "judoscale/
|
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::
|
14
|
-
|
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.
|
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-
|
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.
|
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.
|
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.
|
75
|
+
rubygems_version: 3.5.11
|
82
76
|
signing_key:
|
83
77
|
specification_version: 4
|
84
|
-
summary:
|
85
|
-
for Heroku.
|
78
|
+
summary: Autoscaling for Rack applications.
|
86
79
|
test_files: []
|
data/Gemfile
DELETED
data/Rakefile
DELETED
data/judoscale-rack.gemspec
DELETED
@@ -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
|
data/lib/rails-autoscale-rack.rb
DELETED
@@ -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
|