encrypted_cookie_store-instructure 1.0.5 → 1.0.6
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.
- checksums.yaml +7 -0
- data/encrypted_cookie_store-instructure.gemspec +1 -1
- data/lib/encrypted_cookie_store.rb +1 -1
- metadata +6 -9
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 62d4b361cb0953c92a3f1c9b7e5fc32df317243c
|
|
4
|
+
data.tar.gz: b06a45d5b25dea1e5c6ea69cd783bb8d43ef1c18
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 3e6377fadcb73c05ca5a762ac663195cd89f4e295e74b5e19788e71cbf8ca94ec1e1fe91f64ce2e1b5e02fe2466ad7e804b156f57c5f1d1671038b93dd74f7d0
|
|
7
|
+
data.tar.gz: cadda0df9d6174f7cc33ce7a4c15632a228cf98dca3a5624a31aac3e16ff6041d8531834bef88bfb6cf6fb59ed011ef039bf6630d9e3a4385b4670339e6051e3
|
|
@@ -111,7 +111,7 @@ private
|
|
|
111
111
|
return [nil, nil, nil] unless timestamp
|
|
112
112
|
return [nil, nil, timestamp] unless Time.now.utc.to_i - timestamp < @options[:expire_after]
|
|
113
113
|
end
|
|
114
|
-
[Marshal.load(session_data), session_data, timestamp]
|
|
114
|
+
[(Marshal.load(session_data) rescue nil), session_data, timestamp]
|
|
115
115
|
else
|
|
116
116
|
[nil, nil, nil]
|
|
117
117
|
end
|
metadata
CHANGED
|
@@ -1,8 +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.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.6
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Cody Cutrer
|
|
@@ -26,27 +25,25 @@ files:
|
|
|
26
25
|
- encrypted_cookie_store-instructure.gemspec
|
|
27
26
|
homepage: http://github.com/ccutrer/encrypted_cookie_store
|
|
28
27
|
licenses: []
|
|
28
|
+
metadata: {}
|
|
29
29
|
post_install_message:
|
|
30
30
|
rdoc_options: []
|
|
31
31
|
require_paths:
|
|
32
32
|
- lib
|
|
33
33
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
|
-
none: false
|
|
35
34
|
requirements:
|
|
36
|
-
- -
|
|
35
|
+
- - '>='
|
|
37
36
|
- !ruby/object:Gem::Version
|
|
38
37
|
version: '0'
|
|
39
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
|
-
none: false
|
|
41
39
|
requirements:
|
|
42
|
-
- -
|
|
40
|
+
- - '>='
|
|
43
41
|
- !ruby/object:Gem::Version
|
|
44
42
|
version: '0'
|
|
45
43
|
requirements: []
|
|
46
44
|
rubyforge_project:
|
|
47
|
-
rubygems_version:
|
|
45
|
+
rubygems_version: 2.0.14
|
|
48
46
|
signing_key:
|
|
49
|
-
specification_version:
|
|
47
|
+
specification_version: 4
|
|
50
48
|
summary: EncryptedCookieStore for Ruby on Rails 2.3
|
|
51
49
|
test_files: []
|
|
52
|
-
has_rdoc:
|