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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c83cac583e550b01935b777e8a0f20a34ebd7c1dafb3a685c665f8ba26cc3880
4
- data.tar.gz: a1de73c5e858d2b18f9fabfc638ab41f43a71cd2d116dd452af8f083bb8c0a1a
3
+ metadata.gz: 7b17db197aea7374a81f4bf37df84f90d3982e809ecdaff7e03b5ed2620945bd
4
+ data.tar.gz: 56c8d28c33523ca79a7c59a37c115c87afbe30c6f1b5bf4e9d92a51334d58173
5
5
  SHA512:
6
- metadata.gz: 380e410e5bda8a54fbfa4215435729d8a3457d04dd81cb35e5962f3a7db08c06730e5f010d138fc4781ff8d3595c17e06c76b9ff1b8bc0c6c49bb24c7e500ebe
7
- data.tar.gz: 6c297a6f6af02af9ea3060b5481a9882c10308e080d472f730cdd43fb6d42b3aeebb540a370c29a0d1cabb96f1ba7e73a35f1362a9e4cc62d08934dd4daa5a7d
6
+ metadata.gz: 1cc9c00de0efe7f52465790f7538641aa5089d67f64db038245e52136b95edd39fca09dc22b54208c90ac829faedbddb4744faceea3080f28208f7f308db0c70
7
+ data.tar.gz: ebc789a91842979b654d14e03df30f24f2b1ba4d9db9181ca5c45e25a389b90e994561686c3765d20ecc4ff622264c34006633b967a7c9158e5d4bf4fcf992d5
data/Gemfile CHANGED
@@ -1,7 +1,9 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec name: "judoscale-rails"
4
4
 
5
5
  gem "judoscale-ruby", path: "../judoscale-ruby"
6
6
  gem "minitest"
7
7
  gem "rake"
8
+ gem "rake-release"
9
+ gem "debug"
data/Gemfile-rails-6-1 CHANGED
@@ -1,8 +1,9 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec name: "judoscale-rails"
4
4
 
5
5
  gem "judoscale-ruby", path: "../judoscale-ruby"
6
6
  gem "railties", "~> 6.1"
7
7
  gem "minitest"
8
8
  gem "rake"
9
+ gem "rake-release"
data/Gemfile.lock CHANGED
@@ -1,32 +1,32 @@
1
1
  PATH
2
2
  remote: ../judoscale-ruby
3
3
  specs:
4
- judoscale-ruby (1.0.0.rc2)
4
+ judoscale-ruby (1.2.3)
5
5
 
6
6
  PATH
7
7
  remote: .
8
8
  specs:
9
- judoscale-rails (1.0.0.rc2)
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.3.1)
17
- actionview (= 7.0.3.1)
18
- activesupport (= 7.0.3.1)
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.3.1)
24
- activesupport (= 7.0.3.1)
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.3.1)
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
- loofah (2.18.0)
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.15.0)
45
- nokogiri (1.13.8-arm64-darwin)
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.3.1)
57
- actionpack (= 7.0.3.1)
58
- activesupport (= 7.0.3.1)
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.0)
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
@@ -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|
@@ -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 is deprecated. See https://github.com/rails-autoscale/rails-autoscale-gems to integrate your Ruby on Rails app with the Judoscale Heroku add-on."
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 "judoscale.logger" do |app|
15
+ initializer "Judoscale.logger" do |app|
16
16
  Config.instance.logger = ::Rails.logger
17
17
  end
18
18
 
19
- initializer "judoscale.request_middleware" do |app|
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Judoscale
4
4
  module Rails
5
- VERSION = "1.0.0.rc2"
5
+ VERSION = "1.2.3"
6
6
  end
7
7
  end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "judoscale/rails"
@@ -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.0.0.rc2
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-09-07 00:00:00.000000000 Z
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: '0'
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: '0'
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: 1.3.1
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 is deprecated. See https://github.com/rails-autoscale/rails-autoscale-gems
88
- to integrate your Ruby on Rails app with the Judoscale Heroku add-on.
87
+ summary: This gem provides Ruby on Rails integration with the Judoscale autoscaling
88
+ add-on for Heroku.
89
89
  test_files: []