actionpack 4.1.0.beta2 → 4.1.0.rc1
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 +4 -4
- data/CHANGELOG.md +241 -10
- data/MIT-LICENSE +1 -1
- data/lib/abstract_controller/rendering.rb +4 -3
- data/lib/action_controller/log_subscriber.rb +9 -0
- data/lib/action_controller/metal/head.rb +1 -1
- data/lib/action_controller/metal/live.rb +3 -1
- data/lib/action_controller/metal/mime_responds.rb +66 -27
- data/lib/action_controller/metal/params_wrapper.rb +11 -4
- data/lib/action_controller/metal/rack_delegation.rb +2 -2
- data/lib/action_controller/metal/renderers.rb +1 -1
- data/lib/action_controller/metal/rendering.rb +38 -8
- data/lib/action_controller/metal/strong_parameters.rb +26 -14
- data/lib/action_controller/railtie.rb +1 -0
- data/lib/action_controller/test_case.rb +3 -0
- data/lib/action_dispatch.rb +5 -7
- data/lib/action_dispatch/http/filter_redirect.rb +5 -4
- data/lib/action_dispatch/http/mime_negotiation.rb +5 -3
- data/lib/action_dispatch/http/mime_type.rb +1 -1
- data/lib/action_dispatch/http/response.rb +14 -2
- data/lib/action_dispatch/journey/formatter.rb +2 -2
- data/lib/action_dispatch/journey/router.rb +1 -7
- data/lib/action_dispatch/journey/visitors.rb +24 -4
- data/lib/action_dispatch/middleware/cookies.rb +85 -20
- data/lib/action_dispatch/middleware/flash.rb +20 -7
- data/lib/action_dispatch/middleware/reloader.rb +11 -2
- data/lib/action_dispatch/middleware/remote_ip.rb +2 -2
- data/lib/action_dispatch/middleware/static.rb +3 -3
- data/lib/action_dispatch/railtie.rb +2 -0
- data/lib/action_dispatch/request/utils.rb +15 -4
- data/lib/action_dispatch/routing/inspector.rb +4 -4
- data/lib/action_dispatch/routing/mapper.rb +27 -9
- data/lib/action_dispatch/routing/redirection.rb +18 -8
- data/lib/action_dispatch/routing/route_set.rb +24 -30
- data/lib/action_dispatch/testing/assertions/routing.rb +1 -1
- data/lib/action_dispatch/testing/integration.rb +2 -2
- data/lib/action_pack.rb +1 -1
- data/lib/action_pack/version.rb +1 -1
- metadata +7 -7
@@ -137,7 +137,7 @@ module ActionDispatch
|
|
137
137
|
class Session
|
138
138
|
DEFAULT_HOST = "www.example.com"
|
139
139
|
|
140
|
-
include
|
140
|
+
include Minitest::Assertions
|
141
141
|
include TestProcess, RequestHelpers, Assertions
|
142
142
|
|
143
143
|
%w( status status_message headers body redirect? ).each do |method|
|
@@ -242,7 +242,7 @@ module ActionDispatch
|
|
242
242
|
@https = flag
|
243
243
|
end
|
244
244
|
|
245
|
-
#
|
245
|
+
# Returns +true+ if the session is mimicking a secure HTTPS request.
|
246
246
|
#
|
247
247
|
# if session.https?
|
248
248
|
# ...
|
data/lib/action_pack.rb
CHANGED
data/lib/action_pack/version.rb
CHANGED
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: 4.1.0.
|
4
|
+
version: 4.1.0.rc1
|
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: 4.1.0.
|
19
|
+
version: 4.1.0.rc1
|
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: 4.1.0.
|
26
|
+
version: 4.1.0.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.1.0.
|
61
|
+
version: 4.1.0.rc1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.1.0.
|
68
|
+
version: 4.1.0.rc1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activemodel
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.1.0.
|
75
|
+
version: 4.1.0.rc1
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.1.0.
|
82
|
+
version: 4.1.0.rc1
|
83
83
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
84
84
|
testing MVC web applications. Works with any Rack-compatible server.
|
85
85
|
email: david@loudthinking.com
|