gatleon-rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +3 -1
- data/lib/gatleon/rails/authform/concern.rb +6 -0
- data/lib/gatleon/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d592a4cbc9b3004e5bbfa9f7248febfd719eeaa82504499d63e6ba0cdca14232
|
4
|
+
data.tar.gz: 272824c441225e935d45c94cdef4ef60804375247eb5f39dca5004863e50c1aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8173e1176d8d2fef5480682bf2c70317707fbda25cdd9132fb4215ef809b64cbf5a280cd0a125ec69469a7b158983fd88417e924586a033800170d763f58b8a
|
7
|
+
data.tar.gz: 42308350a64f6c17799026a15370ad3a10c2ae048d2e3fe93f4b797a280732b3209c4a15ecaa7d5eb9d2c56adf8297c9f79ba8517f95d5f6dee59495c5a2b072
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gatleon-rails (0.3.
|
4
|
+
gatleon-rails (0.3.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -62,6 +62,7 @@ GEM
|
|
62
62
|
tzinfo (~> 1.1)
|
63
63
|
zeitwerk (~> 2.2)
|
64
64
|
builder (3.2.4)
|
65
|
+
byebug (11.1.3)
|
65
66
|
concurrent-ruby (1.1.6)
|
66
67
|
crass (1.0.6)
|
67
68
|
diff-lcs (1.3)
|
@@ -148,6 +149,7 @@ PLATFORMS
|
|
148
149
|
ruby
|
149
150
|
|
150
151
|
DEPENDENCIES
|
152
|
+
byebug
|
151
153
|
gatleon-rails!
|
152
154
|
rails
|
153
155
|
rake (~> 12.0)
|
@@ -35,6 +35,12 @@ module Gatleon
|
|
35
35
|
response = Net::HTTP.get_response(uri)
|
36
36
|
|
37
37
|
if response.code.to_i == 200
|
38
|
+
# First attempt WITHOUT all - for setting on platforms like heroku that deny setting cookies across all subdomains
|
39
|
+
cookies[_authform_user_cookie_key] = {
|
40
|
+
value: response.body
|
41
|
+
}
|
42
|
+
|
43
|
+
# Then set all - desired behavior for hosting your own domain
|
38
44
|
cookies[_authform_user_cookie_key] = {
|
39
45
|
value: response.body,
|
40
46
|
domain: :all
|