encrypted_cookie_store-instructure 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1f89b1c6d21327a35c7f603fe7ef94caf7483a97
4
+ data.tar.gz: cd915eea6a24c7f2b9d0404fb1991613f1ef1259
5
+ SHA512:
6
+ metadata.gz: 57b4a57058b1ac6f677b6ef9cb2c7483d92644770e6dcda0c2dfd08fd5e5fe83bc7a014c22400ab4f8088acaab2987c5f548480b6e0c5cc24ec3aeb75f6c686a
7
+ data.tar.gz: 70596999daf83475118bd2c97a24e83708f7d5e9ad218012d76c1461d3ecff5d04ae049c87c354eafcf66a0e92c198025d876793e201f2b78f8feb68433bfbf4
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{encrypted_cookie_store-instructure}
3
- s.version = "1.1.1"
3
+ s.version = "1.1.2"
4
4
 
5
5
  s.authors = ["Cody Cutrer", "Jacob Fugal", "James Williams"]
6
6
  s.date = %q{2013-12-20}
@@ -51,7 +51,7 @@ module ActionDispatch
51
51
  env['encrypted_cookie_store.cookie'] ||= begin
52
52
  stale_session_check! do
53
53
  request = ActionDispatch::Request.new(env)
54
- if data = unmarshal(request.cookie_jar.signed[@key])
54
+ if data = unmarshal(request.cookie_jar[@key])
55
55
  data.stringify_keys!
56
56
  end
57
57
  data ||= {}
@@ -61,6 +61,12 @@ module ActionDispatch
61
61
  end
62
62
  end
63
63
 
64
+ # overrides method in ActionDispatch::Session::CookieStore
65
+ def set_cookie(env, session_id, cookie)
66
+ request = ActionDispatch::Request.new(env)
67
+ request.cookie_jar[@key] = cookie
68
+ end
69
+
64
70
  # overrides method in ActionDispatch::Session::CookieStore
65
71
  def set_session(env, sid, session_data, options)
66
72
  session_data = super
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.1.1
5
- prerelease:
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Cody Cutrer
@@ -16,81 +15,71 @@ dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: actionpack
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ~>
19
+ - - "~>"
22
20
  - !ruby/object:Gem::Version
23
21
  version: '3.2'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ~>
26
+ - - "~>"
30
27
  - !ruby/object:Gem::Version
31
28
  version: '3.2'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: bundler
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ~>
33
+ - - "~>"
38
34
  - !ruby/object:Gem::Version
39
35
  version: '1.3'
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ~>
40
+ - - "~>"
46
41
  - !ruby/object:Gem::Version
47
42
  version: '1.3'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rake
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - ">="
54
48
  - !ruby/object:Gem::Version
55
49
  version: '0'
56
50
  type: :development
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ! '>='
54
+ - - ">="
62
55
  - !ruby/object:Gem::Version
63
56
  version: '0'
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: rspec-rails
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
- - - ~>
61
+ - - "~>"
70
62
  - !ruby/object:Gem::Version
71
63
  version: '2.0'
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
- - - ~>
68
+ - - "~>"
78
69
  - !ruby/object:Gem::Version
79
70
  version: '2.0'
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: debugger
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
- - - ! '>='
75
+ - - ">="
86
76
  - !ruby/object:Gem::Version
87
77
  version: '0'
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
- - - ! '>='
82
+ - - ">="
94
83
  - !ruby/object:Gem::Version
95
84
  version: '0'
96
85
  description: A secure version of Rails' built in CookieStore
@@ -102,31 +91,30 @@ extra_rdoc_files:
102
91
  files:
103
92
  - LICENSE.txt
104
93
  - README.markdown
105
- - lib/encrypted_cookie_store.rb
106
94
  - encrypted_cookie_store-instructure.gemspec
95
+ - lib/encrypted_cookie_store.rb
107
96
  homepage: http://github.com/ccutrer/encrypted_cookie_store
108
97
  licenses: []
98
+ metadata: {}
109
99
  post_install_message:
110
100
  rdoc_options: []
111
101
  require_paths:
112
102
  - lib
113
103
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
104
  requirements:
116
- - - ! '>='
105
+ - - ">="
117
106
  - !ruby/object:Gem::Version
118
107
  version: '0'
119
108
  required_rubygems_version: !ruby/object:Gem::Requirement
120
- none: false
121
109
  requirements:
122
- - - ! '>='
110
+ - - ">="
123
111
  - !ruby/object:Gem::Version
124
112
  version: '0'
125
113
  requirements: []
126
114
  rubyforge_project:
127
- rubygems_version: 1.8.23
115
+ rubygems_version: 2.2.0
128
116
  signing_key:
129
- specification_version: 3
117
+ specification_version: 4
130
118
  summary: EncryptedCookieStore for Ruby on Rails 3.2
131
119
  test_files: []
132
120
  has_rdoc: