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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exvo-auth (0.10.1)
4
+ exvo-auth (0.10.3)
5
5
  actionpack (~> 3.0.0)
6
6
  activemodel (~> 3.0.0)
7
7
  httparty (~> 0.6.1)
@@ -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["rack.session"] ||= {} end
33
- def cookies; env["action_dispatch.cookies"] ||= {} end
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
@@ -1,3 +1,3 @@
1
1
  module ExvoAuth
2
- VERSION = "0.10.2"
2
+ VERSION = "0.10.3"
3
3
  end
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: 51
4
+ hash: 49
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 2
10
- version: 0.10.2
9
+ - 3
10
+ version: 0.10.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacek Becela