rack-auth-cookie 0.3.0 → 0.4.0
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/lib/rack/auth/cookie.rb +2 -2
- data/rack-auth-cookie.gemspec +1 -1
- metadata +2 -2
data/lib/rack/auth/cookie.rb
CHANGED
|
@@ -143,8 +143,8 @@ module Rack
|
|
|
143
143
|
auth_info['AUTH_TYPE_USER'] = env['AUTH_TYPE_USER'] || env['AUTH_USER']
|
|
144
144
|
|
|
145
145
|
auth_info['AUTH_DATETIME'] = env['AUTH_DATETIME'] || Time.now.utc
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
|
|
147
|
+
auth_info['AUTH_EXPIRE_DATETIME'] = Time.now.utc + @@idle_timeout
|
|
148
148
|
|
|
149
149
|
# Pack the auth_info hash for cookie storage
|
|
150
150
|
cookie_data = Marshal.dump(auth_info)
|
data/rack-auth-cookie.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = 'rack-auth-cookie'
|
|
5
|
-
gem.version = '0.
|
|
5
|
+
gem.version = '0.4.0'
|
|
6
6
|
gem.authors = ["Daniel Berger", "Charlie O'Keefe"]
|
|
7
7
|
gem.email = 'cokeefe@globe.gov'
|
|
8
8
|
gem.homepage = 'http://www.github.com/charlieok/rack-auth-cookie'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-auth-cookie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Berger
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2009-12-
|
|
13
|
+
date: 2009-12-21 00:00:00 -07:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|