rails-forward_compatible_controller_tests 2.3.0 → 2.3.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a1268eb492462b122a7d07c9992b5c26c72e5db
|
4
|
+
data.tar.gz: c6533cd65b1a75e14b00fa84b203ae3e7277c5d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df58cc663e3a457aa9b1b1501cde9449b0b11fb2ce75269cdaddb83ec5e1fc8224e1f13fd7b595dd0d296f54cc823dd54785b5ed408944d9378c734d455ac8b9
|
7
|
+
data.tar.gz: 4f084a4c043546a5ef25881e8ee09e64c6c491f99cbd4480029c1f53339f6c77ddd6b68de1d5f6c2a41f100ee5cd2c33f064e281b143ab9ba4f002761fc39f99
|
@@ -58,15 +58,10 @@ module Rails
|
|
58
58
|
xhr = request_params.delete(:xhr)
|
59
59
|
request_format = request_params.delete(:format)
|
60
60
|
if request_params[:params].is_a?(Hash)
|
61
|
-
request_params.merge!(request_params.delete(:params) || {})
|
62
61
|
request_session = request_params.delete(:session) || request_session if controller_test
|
63
62
|
request_headers = request_params.delete(:headers) || request_headers unless controller_test
|
64
63
|
request_flash = request_params.delete(:flash) || request_flash if controller_test
|
65
|
-
|
66
|
-
request_flash = request_params[:flash] if controller_test
|
67
|
-
request_session = request_params[:session] if controller_test
|
68
|
-
request_headers = request_params[:headers] unless controller_test
|
69
|
-
request_params = request_params[:params]
|
64
|
+
request_params.merge!(request_params.delete(:params) || {})
|
70
65
|
elsif request_params.key?(:headers) && !controller_test
|
71
66
|
request_flash = nil
|
72
67
|
request_session = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-forward_compatible_controller_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Shaffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|