rails-autoscale-rack 1.1.1 → 1.2.3

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: a017329ce5d985e3bd37ab38670f012032182150abeecc7f4d37967f39cc61fc
4
- data.tar.gz: e9fe4af839993a44919e9f7f6726628120b9a357c2c02c2b3083515b1a920f53
3
+ metadata.gz: 5be4a88e7a391fc4f214b207015f736a391a34853f06558eb78af8730b529d95
4
+ data.tar.gz: 8b9ba56d199cb2a8e99d6a397c329f7092fe2a666dd1f3e1f87b53607690b167
5
5
  SHA512:
6
- metadata.gz: 8303a1951c70dec056f2bc9efdf7c6b32ffe1e10810fb1421a10ab83472b2cf81c0489640545e1739efd05ba6732184c586a51a5da59a1b0e31b7c0a32f39de9
7
- data.tar.gz: 1965cb4a9a50456594c1f7316fb6a51f270dfb7b79fb708b6807c29a2b83b5297553abdcb457b2e4c8b7c2eacfe65b0111195d8a89696ac8de5491e86d8007b9
6
+ metadata.gz: 41affecd04c563c35ae070ec89e3512d0026f2fd1fc417beff3b84774b50ba417a905b6120834923c843f709570cb164f0d4a6c06de58a18a1aeef630dc34385
7
+ data.tar.gz: 4cdd9ad05ac9b8bd31c45c1667789fc0e11977a6e2fc496d16baf5803c45aa2dbe66c23b534e547ab21305d6e857fce9f334b2bf93bca3883d759cb8f5a11770
data/Gemfile CHANGED
@@ -1,10 +1,11 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec name: "judoscale-rack"
4
4
 
5
- gem "rails-autoscale-core", path: "../rails-autoscale-core"
5
+ gem "judoscale-ruby", path: "../judoscale-ruby"
6
6
  gem "minitest"
7
7
  gem "rake"
8
+ gem "rake-release"
8
9
  gem "debug"
9
10
  gem "sinatra"
10
11
  gem "rack-test"
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
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.3)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- rails-autoscale-rack (1.1.1)
9
+ judoscale-rack (1.2.3)
10
+ judoscale-ruby (= 1.2.3)
10
11
  rack
11
- rails-autoscale-core
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
@@ -28,6 +28,8 @@ GEM
28
28
  rack-test (2.0.2)
29
29
  rack (>= 1.3)
30
30
  rake (13.0.6)
31
+ rake-release (1.3.0)
32
+ bundler (>= 1.11, < 3)
31
33
  reline (0.3.1)
32
34
  io-console (~> 0.5)
33
35
  ruby2_keywords (0.0.5)
@@ -46,11 +48,12 @@ PLATFORMS
46
48
 
47
49
  DEPENDENCIES
48
50
  debug
51
+ judoscale-rack!
52
+ judoscale-ruby!
49
53
  minitest
50
54
  rack-test
51
- rails-autoscale-core!
52
- rails-autoscale-rack!
53
55
  rake
56
+ rake-release
54
57
  sinatra
55
58
 
56
59
  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/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"]
9
+ spec.email = ["adam@adamlogic.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 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module RailsAutoscale
3
+ module Judoscale
4
4
  module Rack
5
- VERSION = "1.1.1"
5
+ VERSION = "1.2.3"
6
6
  end
7
7
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "judoscale-ruby"
4
+ require "judoscale/rack/version"
5
+ require "judoscale/web_metrics_collector"
6
+ require "judoscale/request_middleware"
7
+ require "rack"
8
+
9
+ # For Rack apps, Judoscale::RequestMiddleware must be manually inserted into
10
+ # the app's middleware chain.
11
+
12
+ Judoscale.add_adapter :"judoscale-rack", {
13
+ adapter_version: Judoscale::Rack::VERSION,
14
+ framework_version: ::Rack.version
15
+ }, metrics_collector: Judoscale::WebMetricsCollector
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "judoscale/rack"
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails_autoscale/rack"
3
+ require "judoscale/rack"
@@ -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/rack/version"
3
+ require "judoscale/rack/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rails-autoscale-rack"
7
- spec.version = RailsAutoscale::Rack::VERSION
7
+ spec.version = Judoscale::Rack::VERSION
8
8
  spec.authors = ["Adam McCrea"]
9
9
  spec.email = ["adam@adamlogic.com"]
10
10
 
11
- spec.summary = "This gem provides Rack app integration with the Rails Autoscale autoscaling add-on for Heroku."
12
- spec.homepage = "https://railsautoscale.com"
11
+ spec.summary = "This gem provides Rack app 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 "rails-autoscale-core", Judoscale::Rack::VERSION
29
29
  spec.add_dependency "rack"
30
30
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-autoscale-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2022-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-autoscale-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.2.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.2.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,19 +48,21 @@ files:
48
48
  - Gemfile
49
49
  - Gemfile.lock
50
50
  - Rakefile
51
+ - judoscale-rack.gemspec
52
+ - lib/judoscale-rack.rb
53
+ - lib/judoscale/rack.rb
54
+ - lib/judoscale/rack/version.rb
51
55
  - lib/rails-autoscale-rack.rb
52
- - lib/rails_autoscale/rack.rb
53
- - lib/rails_autoscale/rack/version.rb
54
56
  - rails-autoscale-rack.gemspec
55
- homepage: https://railsautoscale.com
57
+ homepage: https://judoscale.com
56
58
  licenses:
57
59
  - MIT
58
60
  metadata:
59
- homepage_uri: https://railsautoscale.com
60
- bug_tracker_uri: https://github.com/rails-autoscale/rails-autoscale-gems/issues
61
- documentation_uri: https://railsautoscale.com/docs
62
- changelog_uri: https://github.com/rails-autoscale/rails-autoscale-gems/blob/main/CHANGELOG.md
63
- source_code_uri: https://github.com/rails-autoscale/rails-autoscale-gems
61
+ homepage_uri: https://judoscale.com
62
+ bug_tracker_uri: https://github.com/judoscale/judoscale-ruby/issues
63
+ documentation_uri: https://judoscale.com/docs
64
+ changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
65
+ source_code_uri: https://github.com/judoscale/judoscale-ruby
64
66
  post_install_message:
65
67
  rdoc_options: []
66
68
  require_paths:
@@ -79,6 +81,6 @@ requirements: []
79
81
  rubygems_version: 3.2.32
80
82
  signing_key:
81
83
  specification_version: 4
82
- summary: This gem provides Rack app integration with the Rails Autoscale autoscaling
83
- add-on for Heroku.
84
+ summary: This gem provides Rack app integration with the Judoscale autoscaling add-on
85
+ for Heroku.
84
86
  test_files: []
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rails-autoscale-core"
4
- require "rails_autoscale/rack/version"
5
- require "rails_autoscale/web_metrics_collector"
6
- require "rails_autoscale/request_middleware"
7
- require "rack"
8
-
9
- # For Rack apps, RailsAutoscale::RequestMiddleware must be manually inserted into
10
- # the app's middleware chain.
11
-
12
- RailsAutoscale.add_adapter :"rails-autoscale-rack", {
13
- adapter_version: RailsAutoscale::Rack::VERSION,
14
- framework_version: ::Rack.version
15
- }, metrics_collector: RailsAutoscale::WebMetricsCollector