encrypted_cookie_store-instructure 1.1.10 → 1.1.11
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 +5 -0
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzhjNjhiYTkwMTFkNTMxNjQ4OTFhMjY1ZTU3MmJkZjA5OTI5ZGI5NA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDk3NzNhYjk0YTc2NjE0YTFmMWMzY2VhNWEyNzhkMWFkYzNiZDMyYQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTc2Yjg5NjM4MWY4MTNmM2U1ZTE3NTdlZDQzZmVjYjRhNmRlNTI4ZmJiMmQw
|
10
|
+
ZGI3OTU0NGE1OGY5ZTFjYTA2YzJkMDU4ZTY1MjdlMzI5YWNjN2EwNzdkMTZh
|
11
|
+
ZTFjNDBiZjdlYjc4NTg3ZmFjNTQ1ZTFlNmUzMzIxMmI1NTc2NTk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2Q3ZDFkODhiYjJjM2YyODlhN2M5OTYyZTA4ZDdiODI4ZGFkMDdmMzlkODJm
|
14
|
+
ZjkwZmRmOWZkMjVmMDY4NTM5MmYzOTZhNTJmNTFkOTQ2NjBkNGI4MDBlMjNi
|
15
|
+
OTJkNjgzYzM4ZTQ4NzUwYTk4MTJiMTliNDEyZjM0M2Y1NDFiNDc=
|
@@ -95,6 +95,11 @@ module ActionDispatch
|
|
95
95
|
can_commit && (session_changed?(env, session) || refresh_session?(env, options))
|
96
96
|
end
|
97
97
|
|
98
|
+
def destroy_session(env, session_id, options)
|
99
|
+
env.delete('encrypted_cookie_store.cookie')
|
100
|
+
ActionDispatch::Request.new(env).cookie_jar.delete(@key)
|
101
|
+
super
|
102
|
+
end
|
98
103
|
|
99
104
|
def timestamp(env)
|
100
105
|
unpacked_cookie_data(env)["timestamp"]
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
@@ -16,76 +16,76 @@ dependencies:
|
|
16
16
|
name: actionpack
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '3.2'
|
22
|
-
- -
|
22
|
+
- - <
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: '4.2'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
|
-
- -
|
29
|
+
- - ! '>='
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: '3.2'
|
32
|
-
- -
|
32
|
+
- - <
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '4.2'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: bundler
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '1.3'
|
42
42
|
type: :development
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '1.3'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rake
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ! '>='
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ! '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: rspec-rails
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.0'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '2.0'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: debugger
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ! '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ! '>='
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
description: A secure version of Rails' built in CookieStore
|
@@ -108,17 +108,17 @@ require_paths:
|
|
108
108
|
- lib
|
109
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - ! '>='
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - ! '>='
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.4.
|
121
|
+
rubygems_version: 2.4.5
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: EncryptedCookieStore for Ruby on Rails 3.2
|