actionpack 7.0.0.alpha1 → 7.0.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0abf991e8448167804273ced78bacdd30f1893fee1faf3641957269a6f65b6a6
4
- data.tar.gz: 2f2d0db3358796edfd2956c920f8db7f4a723bd0bb9b6736d8bd63f9bf67a200
3
+ metadata.gz: 54388e4a1ef9b5042049784e3866619467e79e5c3944de4e7f46bc7b4484b9fc
4
+ data.tar.gz: c09a1504b3deaa3f14b5f169ca2a9df9c8d174ed4ba463e5f275f8ab6e803aa1
5
5
  SHA512:
6
- metadata.gz: 28e7fa0e651362d6ff86a2f8caddbe321ee762a27485bae54436fa48283eaf2d8eb9f9c5bd118415b32a4859927f1868de8f2a7bcb78743a385a350f9c1ed3c2
7
- data.tar.gz: fb6318f474b1f71365531af95711791568d68da4fb7de2796cb09254cabb8f7547819fbbf70193a08c7970680dadd51e036637a0bc184339504b7544e21b9c07
6
+ metadata.gz: 1057c5a7b53bd81075c061b0235ba399f04976fd58df7de676539911a258f5ad32ab26c0576a7b33ae34084e80b17a778c349f26b6a3e83797f14d729cba6c89
7
+ data.tar.gz: 443b33703639b2382762d5752c00d37e29f07ff258a5bd38f325e3d6e7ffe1e4755053695fcdbb56844b36bb3c06ac0bde558a5690b368ffa44efc5bc64ee39e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 7.0.0.alpha2 (September 15, 2021) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 7.0.0.alpha1 (September 15, 2021) ##
2
7
 
3
8
  * Use a static error message when raising `ActionDispatch::Http::Parameters::ParseError`
@@ -5,16 +5,6 @@ require "active_support/dependencies"
5
5
 
6
6
  module ActionDispatch
7
7
  class MiddlewareStack
8
- class FakeRuntime # :nodoc:
9
- def initialize(app)
10
- @app = app
11
- end
12
-
13
- def call(env)
14
- @app.call(env)
15
- end
16
- end
17
-
18
8
  class Middleware
19
9
  attr_reader :args, :block, :klass
20
10
 
@@ -79,7 +69,6 @@ module ActionDispatch
79
69
 
80
70
  def initialize(*args)
81
71
  @middlewares = []
82
- @rack_runtime_deprecated = true
83
72
  yield(self) if block_given?
84
73
  end
85
74
 
@@ -187,24 +176,12 @@ module ActionDispatch
187
176
  end
188
177
 
189
178
  def build_middleware(klass, args, block)
190
- @rack_runtime_deprecated = false if klass == Rack::Runtime
191
-
192
179
  Middleware.new(klass, args, block)
193
180
  end
194
181
 
195
182
  def index_of(klass)
196
- raise "ActionDispatch::MiddlewareStack::FakeRuntime can not be referenced in middleware operations" if klass == FakeRuntime
197
-
198
- if klass == Rack::Runtime && @rack_runtime_deprecated
199
- ActiveSupport::Deprecation.warn(<<-MSG.squish)
200
- Rack::Runtime is removed from the default middleware stack in Rails
201
- and referencing it in middleware operations without adding it back
202
- is deprecated and will throw an error in Rails 7.1
203
- MSG
204
- end
205
-
206
183
  middlewares.index do |m|
207
- m.name == klass.name || (@rack_runtime_deprecated && m.klass == FakeRuntime && klass == Rack::Runtime)
184
+ m.name == klass.name
208
185
  end
209
186
  end
210
187
  end
@@ -10,7 +10,7 @@ module ActionPack
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
12
  TINY = 0
13
- PRE = "alpha1"
13
+ PRE = "alpha2"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.alpha1
4
+ version: 7.0.0.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.0.alpha1
19
+ version: 7.0.0.alpha2
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: 7.0.0.alpha1
26
+ version: 7.0.0.alpha2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 7.0.0.alpha1
101
+ version: 7.0.0.alpha2
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '='
107
107
  - !ruby/object:Gem::Version
108
- version: 7.0.0.alpha1
108
+ version: 7.0.0.alpha2
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: activemodel
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 7.0.0.alpha1
115
+ version: 7.0.0.alpha2
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 7.0.0.alpha1
122
+ version: 7.0.0.alpha2
123
123
  description: Web apps on Rails. Simple, battle-tested conventions for building and
124
124
  testing MVC web applications. Works with any Rack-compatible server.
125
125
  email: david@loudthinking.com
@@ -310,10 +310,10 @@ licenses:
310
310
  - MIT
311
311
  metadata:
312
312
  bug_tracker_uri: https://github.com/rails/rails/issues
313
- changelog_uri: https://github.com/rails/rails/blob/v7.0.0.alpha1/actionpack/CHANGELOG.md
314
- documentation_uri: https://api.rubyonrails.org/v7.0.0.alpha1/
313
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.0.alpha2/actionpack/CHANGELOG.md
314
+ documentation_uri: https://api.rubyonrails.org/v7.0.0.alpha2/
315
315
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
316
- source_code_uri: https://github.com/rails/rails/tree/v7.0.0.alpha1/actionpack
316
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.0.alpha2/actionpack
317
317
  post_install_message:
318
318
  rdoc_options: []
319
319
  require_paths: