judoscale-rails 1.0.0.rc2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -1
- data/Gemfile-rails-6-1 +2 -1
- data/Gemfile.lock +32 -16
- data/Rakefile +1 -1
- data/judoscale-rails.gemspec +2 -7
- data/lib/judoscale/rails/railtie.rb +2 -2
- data/lib/judoscale/rails/version.rb +1 -1
- data/lib/rails-autoscale-web.rb +3 -0
- data/rails-autoscale-web.gemspec +30 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b17db197aea7374a81f4bf37df84f90d3982e809ecdaff7e03b5ed2620945bd
|
4
|
+
data.tar.gz: 56c8d28c33523ca79a7c59a37c115c87afbe30c6f1b5bf4e9d92a51334d58173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc9c00de0efe7f52465790f7538641aa5089d67f64db038245e52136b95edd39fca09dc22b54208c90ac829faedbddb4744faceea3080f28208f7f308db0c70
|
7
|
+
data.tar.gz: ebc789a91842979b654d14e03df30f24f2b1ba4d9db9181ca5c45e25a389b90e994561686c3765d20ecc4ff622264c34006633b967a7c9158e5d4bf4fcf992d5
|
data/Gemfile
CHANGED
data/Gemfile-rails-6-1
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../judoscale-ruby
|
3
3
|
specs:
|
4
|
-
judoscale-ruby (1.
|
4
|
+
judoscale-ruby (1.2.3)
|
5
5
|
|
6
6
|
PATH
|
7
7
|
remote: .
|
8
8
|
specs:
|
9
|
-
judoscale-rails (1.
|
10
|
-
judoscale-ruby
|
9
|
+
judoscale-rails (1.2.3)
|
10
|
+
judoscale-ruby (= 1.2.3)
|
11
11
|
railties
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
actionpack (7.0.
|
17
|
-
actionview (= 7.0.
|
18
|
-
activesupport (= 7.0.
|
16
|
+
actionpack (7.0.4)
|
17
|
+
actionview (= 7.0.4)
|
18
|
+
activesupport (= 7.0.4)
|
19
19
|
rack (~> 2.0, >= 2.2.0)
|
20
20
|
rack-test (>= 0.6.3)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
23
|
-
actionview (7.0.
|
24
|
-
activesupport (= 7.0.
|
23
|
+
actionview (7.0.4)
|
24
|
+
activesupport (= 7.0.4)
|
25
25
|
builder (~> 3.1)
|
26
26
|
erubi (~> 1.4)
|
27
27
|
rails-dom-testing (~> 2.0)
|
28
28
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
29
|
-
activesupport (7.0.
|
29
|
+
activesupport (7.0.4)
|
30
30
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
31
31
|
i18n (>= 1.6, < 2)
|
32
32
|
minitest (>= 5.1)
|
@@ -34,15 +34,25 @@ GEM
|
|
34
34
|
builder (3.2.4)
|
35
35
|
concurrent-ruby (1.1.10)
|
36
36
|
crass (1.0.6)
|
37
|
+
debug (1.6.2)
|
38
|
+
irb (>= 1.3.6)
|
39
|
+
reline (>= 0.3.1)
|
37
40
|
erubi (1.11.0)
|
38
41
|
i18n (1.12.0)
|
39
42
|
concurrent-ruby (~> 1.0)
|
40
|
-
|
43
|
+
io-console (0.5.11)
|
44
|
+
irb (1.4.1)
|
45
|
+
reline (>= 0.3.0)
|
46
|
+
loofah (2.19.0)
|
41
47
|
crass (~> 1.0.2)
|
42
48
|
nokogiri (>= 1.5.9)
|
43
49
|
method_source (1.0.0)
|
44
|
-
minitest (5.
|
45
|
-
nokogiri (1.13.
|
50
|
+
minitest (5.16.3)
|
51
|
+
nokogiri (1.13.9-arm64-darwin)
|
52
|
+
racc (~> 1.4)
|
53
|
+
nokogiri (1.13.9-x86_64-darwin)
|
54
|
+
racc (~> 1.4)
|
55
|
+
nokogiri (1.13.9-x86_64-linux)
|
46
56
|
racc (~> 1.4)
|
47
57
|
racc (1.6.0)
|
48
58
|
rack (2.2.4)
|
@@ -53,18 +63,22 @@ GEM
|
|
53
63
|
nokogiri (>= 1.6)
|
54
64
|
rails-html-sanitizer (1.4.3)
|
55
65
|
loofah (~> 2.3)
|
56
|
-
railties (7.0.
|
57
|
-
actionpack (= 7.0.
|
58
|
-
activesupport (= 7.0.
|
66
|
+
railties (7.0.4)
|
67
|
+
actionpack (= 7.0.4)
|
68
|
+
activesupport (= 7.0.4)
|
59
69
|
method_source
|
60
70
|
rake (>= 12.2)
|
61
71
|
thor (~> 1.0)
|
62
72
|
zeitwerk (~> 2.5)
|
63
73
|
rake (13.0.6)
|
74
|
+
rake-release (1.3.0)
|
75
|
+
bundler (>= 1.11, < 3)
|
76
|
+
reline (0.3.1)
|
77
|
+
io-console (~> 0.5)
|
64
78
|
thor (1.2.1)
|
65
79
|
tzinfo (2.0.5)
|
66
80
|
concurrent-ruby (~> 1.0)
|
67
|
-
zeitwerk (2.6.
|
81
|
+
zeitwerk (2.6.6)
|
68
82
|
|
69
83
|
PLATFORMS
|
70
84
|
arm64-darwin-20
|
@@ -73,10 +87,12 @@ PLATFORMS
|
|
73
87
|
x86_64-linux
|
74
88
|
|
75
89
|
DEPENDENCIES
|
90
|
+
debug
|
76
91
|
judoscale-rails!
|
77
92
|
judoscale-ruby!
|
78
93
|
minitest
|
79
94
|
rake
|
95
|
+
rake-release
|
80
96
|
|
81
97
|
BUNDLED WITH
|
82
98
|
2.3.9
|
data/Rakefile
CHANGED
data/judoscale-rails.gemspec
CHANGED
@@ -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
|
11
|
+
spec.summary = "This gem provides Ruby on Rails integration with the Judoscale autoscaling add-on for Heroku."
|
12
12
|
spec.homepage = "https://judoscale.com"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
@@ -25,11 +25,6 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.required_ruby_version = ">= 2.6.0"
|
27
27
|
|
28
|
-
spec.add_dependency "judoscale-ruby"
|
28
|
+
spec.add_dependency "judoscale-ruby", Judoscale::Rails::VERSION
|
29
29
|
spec.add_dependency "railties"
|
30
|
-
|
31
|
-
spec.post_install_message = <<~EOS
|
32
|
-
`judoscale-rails` is deprecated! Please migrate to `rails-autoscale-web`.
|
33
|
-
See https://github.com/rails-autoscale/rails-autoscale-gems for the installation guide.
|
34
|
-
EOS
|
35
30
|
end
|
@@ -12,11 +12,11 @@ module Judoscale
|
|
12
12
|
class Railtie < ::Rails::Railtie
|
13
13
|
include Judoscale::Logger
|
14
14
|
|
15
|
-
initializer "
|
15
|
+
initializer "Judoscale.logger" do |app|
|
16
16
|
Config.instance.logger = ::Rails.logger
|
17
17
|
end
|
18
18
|
|
19
|
-
initializer "
|
19
|
+
initializer "Judoscale.request_middleware" do |app|
|
20
20
|
logger.info "Preparing request middleware"
|
21
21
|
app.middleware.insert_before Rack::Runtime, RequestMiddleware
|
22
22
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "judoscale/rails/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "rails-autoscale-web"
|
7
|
+
spec.version = Judoscale::Rails::VERSION
|
8
|
+
spec.authors = ["Adam McCrea", "Carlos Antonio da Silva"]
|
9
|
+
spec.email = ["adam@adamlogic.com"]
|
10
|
+
|
11
|
+
spec.summary = "This gem provides Ruby on Rails 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::Rails::VERSION
|
29
|
+
spec.add_dependency "railties"
|
30
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: judoscale-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam McCrea
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: judoscale-ruby
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 1.2.3
|
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:
|
27
|
+
version: 1.2.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: railties
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -55,6 +55,8 @@ files:
|
|
55
55
|
- lib/judoscale/rails.rb
|
56
56
|
- lib/judoscale/rails/railtie.rb
|
57
57
|
- lib/judoscale/rails/version.rb
|
58
|
+
- lib/rails-autoscale-web.rb
|
59
|
+
- rails-autoscale-web.gemspec
|
58
60
|
homepage: https://judoscale.com
|
59
61
|
licenses:
|
60
62
|
- MIT
|
@@ -64,9 +66,7 @@ metadata:
|
|
64
66
|
documentation_uri: https://judoscale.com/docs
|
65
67
|
changelog_uri: https://github.com/judoscale/judoscale-ruby/blob/main/CHANGELOG.md
|
66
68
|
source_code_uri: https://github.com/judoscale/judoscale-ruby
|
67
|
-
post_install_message:
|
68
|
-
`judoscale-rails` is deprecated! Please migrate to `rails-autoscale-web`.
|
69
|
-
See https://github.com/rails-autoscale/rails-autoscale-gems for the installation guide.
|
69
|
+
post_install_message:
|
70
70
|
rdoc_options: []
|
71
71
|
require_paths:
|
72
72
|
- lib
|
@@ -77,13 +77,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: 2.6.0
|
78
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubygems_version: 3.2.32
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
|
-
summary: This gem
|
88
|
-
|
87
|
+
summary: This gem provides Ruby on Rails integration with the Judoscale autoscaling
|
88
|
+
add-on for Heroku.
|
89
89
|
test_files: []
|