scottwb-encrypted_cookie_store 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -77,7 +77,7 @@ module EncryptedCookieStore
77
77
  env["action_dispatch.request.unsigned_session_cookie"] ||= begin
78
78
  stale_session_check! do
79
79
  request = ActionDispatch::Request.new(env)
80
- if data = request.cookie_jar.signed[@key] && data.is_a?(String)
80
+ if (data = request.cookie_jar.signed[@key]) && data.is_a?(String)
81
81
  unmarshal(data)
82
82
  else
83
83
  {}
@@ -142,4 +142,4 @@ module EncryptedCookieStore
142
142
  [hex_data].pack("H*")
143
143
  end
144
144
  end
145
- end
145
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{scottwb-encrypted_cookie_store}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["FooBarWidget", "Scott W. Bradley"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scottwb-encrypted_cookie_store
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - FooBarWidget