encrypted_cookie_store-instructure 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/encrypted_cookie_store-instructure.gemspec +1 -1
- data/lib/encrypted_cookie_store.rb +8 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODM3ZTg5NWRhYWJiOTBkNWZjYjUyMmUxNTc2M2EyNTU3NzZjMWIyZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MTUzMGVhZjM3ZDZmZDVlY2M1ZDZhOTg1MDM1NzhmYmE1MzQxOWE1YQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDQ0N2ZiM2E3YzJjY2MxMjZmMmFkYWNkMGEyNmZkYTQ5OGQwMWI5M2RjYTdm
|
10
|
+
ODVhODczYzNmMzk2MjUxZTdlN2JkMDNjNDA3ZjM3ODY2NWZhMTliY2E3ODYw
|
11
|
+
ZjU1ZDdhYTExOThiYjEyMTZhOWE1ZWIxNzVmZWQzZDg4YTA5ODI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NWE2MTRlYWZjZDU3ZDJlNDcxNWFjNjMyOTQ2OWYyYzBkODkzOTEyZGFjNTUy
|
14
|
+
ZjQwZDJhZTk3NDE1MDQ4MTZhOTUyODgwZWNjZTE1NGIwMWUzYzZhMjQyZWI1
|
15
|
+
Njk0ZjZlYzRjZGQxNzg4YWI0ZDkzMWFmODg1NDAzZDZmZmRmMTQ=
|
@@ -18,6 +18,7 @@ module ActionDispatch
|
|
18
18
|
OpenSSLCipherError = OpenSSL::Cipher.const_defined?(:CipherError) ? OpenSSL::Cipher::CipherError : OpenSSL::CipherError
|
19
19
|
|
20
20
|
def initialize(app, options = {})
|
21
|
+
@logger = options.delete(:logger)
|
21
22
|
@digest = options.delete(:digest) || 'SHA1'
|
22
23
|
|
23
24
|
@compress = options[:compress]
|
@@ -146,7 +147,13 @@ module ActionDispatch
|
|
146
147
|
return nil unless timestamp && Time.now.utc.to_i <= timestamp + expire_after(options)
|
147
148
|
end
|
148
149
|
|
149
|
-
loaded_data =
|
150
|
+
loaded_data = nil
|
151
|
+
begin
|
152
|
+
loaded_data = Marshal.load("alsdjflksldfkj")#session_data)
|
153
|
+
rescue
|
154
|
+
@logger.error("Could not unmarshal session_data: #{session_data.inspect}") if @logger
|
155
|
+
end
|
156
|
+
|
150
157
|
loaded_data[:timestamp] = timestamp if loaded_data && timestamp
|
151
158
|
loaded_data
|
152
159
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: encrypted_cookie_store-instructure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
name: rake
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - '>='
|
47
|
+
- - ! '>='
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - '>='
|
54
|
+
- - ! '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
name: debugger
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - '>='
|
75
|
+
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- - '>='
|
82
|
+
- - ! '>='
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
description: A secure version of Rails' built in CookieStore
|
@@ -91,8 +91,8 @@ extra_rdoc_files:
|
|
91
91
|
files:
|
92
92
|
- LICENSE.txt
|
93
93
|
- README.markdown
|
94
|
-
- lib/encrypted_cookie_store.rb
|
95
94
|
- encrypted_cookie_store-instructure.gemspec
|
95
|
+
- lib/encrypted_cookie_store.rb
|
96
96
|
homepage: http://github.com/ccutrer/encrypted_cookie_store
|
97
97
|
licenses: []
|
98
98
|
metadata: {}
|
@@ -102,18 +102,19 @@ require_paths:
|
|
102
102
|
- lib
|
103
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- - '>='
|
105
|
+
- - ! '>='
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- - '>='
|
110
|
+
- - ! '>='
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.0
|
115
|
+
rubygems_version: 2.3.0
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: EncryptedCookieStore for Ruby on Rails 3.2
|
119
119
|
test_files: []
|
120
|
+
has_rdoc:
|