devise_g5_authenticatable 1.0.2.rc.2 → 1.0.2.rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5cb21bb2c459c7b57bf50e36f75862495e976be3758ceb70023c211ca0754f4
|
|
4
|
+
data.tar.gz: 9bc992536d1c000ca6725b3e939b8caee29a900a27b5470d4f5b32c23a82701e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9120d5774e5b621b85092d38b37efa9e0c9ffad2fea829856445981fc05b41c3403dc7a81f7f6b240cda560480723e6be2337f140c34aa08ecdcf46f0358cef7
|
|
7
|
+
data.tar.gz: be796243bea081ef4316c27846ae89e3508276626e84b49dfc823f151f3ef8d41bc607eba8b1c9d03e612e6934f0f12839becbdfec03b5afa3a718c405662bf5
|
|
@@ -18,7 +18,7 @@ module DeviseG5Authenticatable
|
|
|
18
18
|
sign_in_or_register
|
|
19
19
|
else
|
|
20
20
|
params = { restricted: base_url }
|
|
21
|
-
redirect_to(restricted_application_redirect_url + params.to_query)
|
|
21
|
+
redirect_to(restricted_application_redirect_url + '?' + params.to_query)
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
@@ -194,7 +194,7 @@ RSpec.describe DeviseG5Authenticatable::SessionsController do
|
|
|
194
194
|
it 'should redirect the user to the restricted_application_redirect_url' do
|
|
195
195
|
create_session
|
|
196
196
|
params = { restricted: subject.request.base_url }
|
|
197
|
-
expect(subject).to redirect_to(auth_hash.extra.raw_info.restricted_application_redirect_url + params.to_query)
|
|
197
|
+
expect(subject).to redirect_to(auth_hash.extra.raw_info.restricted_application_redirect_url + '?' + params.to_query)
|
|
198
198
|
end
|
|
199
199
|
|
|
200
200
|
it 'should not sign in a user' do
|