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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f98cc558d5079413a411d58dcf23a61099feeeb8159386716ea4e85f8249115
4
- data.tar.gz: abdfab749809e8dd0e92dc8cf63cdc8d17708574cb09256236ccea6cc1bbe6f2
3
+ metadata.gz: d592a4cbc9b3004e5bbfa9f7248febfd719eeaa82504499d63e6ba0cdca14232
4
+ data.tar.gz: 272824c441225e935d45c94cdef4ef60804375247eb5f39dca5004863e50c1aa
5
5
  SHA512:
6
- metadata.gz: 0c7b6410476598166f19d7e55dd86e222702ba0fbd136a0d35cafb1c797a8ba236fde3aaa72c6e8a0c7d595a6061cc1fad28966849ecfa36656d7ef127a66be8
7
- data.tar.gz: 97bf311b819f42d0b587344bb84e1123747778ccd769c842c97aeae24bb306544a0299c1f101372cc7a46c79c9f318df74bf06d275e77995116ab47267d1acd0
6
+ metadata.gz: c8173e1176d8d2fef5480682bf2c70317707fbda25cdd9132fb4215ef809b64cbf5a280cd0a125ec69469a7b158983fd88417e924586a033800170d763f58b8a
7
+ data.tar.gz: 42308350a64f6c17799026a15370ad3a10c2ae048d2e3fe93f4b797a280732b3209c4a15ecaa7d5eb9d2c56adf8297c9f79ba8517f95d5f6dee59495c5a2b072
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  *.swp
13
+ .byebug_history
data/Gemfile CHANGED
@@ -6,3 +6,4 @@ gemspec
6
6
  gem "rake", "~> 12.0"
7
7
  gem "rspec", "~> 3.0"
8
8
  gem "rails"
9
+ gem "byebug"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gatleon-rails (0.3.0)
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
@@ -1,5 +1,5 @@
1
1
  module Gatleon
2
2
  module Rails
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatleon-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gatleon