exvo-auth 0.10.2 → 0.10.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.
- data/Gemfile.lock +1 -1
- data/lib/exvo_auth/session_store.rb +3 -3
- data/lib/exvo_auth/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
|
@@ -25,12 +25,12 @@ class ExvoAuth::SessionStore
|
|
|
25
25
|
end
|
|
26
26
|
Merb::Controller.class_eval do
|
|
27
27
|
def session; request.session end
|
|
28
|
-
def cookies; request.cookies end
|
|
28
|
+
def cookies; request.env["action_dispatch.cookies"] ||= ActionDispatch::Cookies::CookieJar.build(request) end
|
|
29
29
|
end
|
|
30
30
|
Merb::Request.class_eval do
|
|
31
31
|
def session?; true end
|
|
32
|
-
def session; env
|
|
33
|
-
def cookies; env
|
|
32
|
+
def session; Rack::Request.new(env).session end
|
|
33
|
+
def cookies; Rack::Request.new(env).cookies end
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
end
|
data/lib/exvo_auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exvo-auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 49
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 10
|
|
9
|
-
-
|
|
10
|
-
version: 0.10.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.10.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jacek Becela
|