encrypted-cookie-store 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,12 +16,10 @@ module EncryptedCookieStore
16
16
  end
17
17
 
18
18
  if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR == 0
19
- puts "+++ 3.0"
20
19
  def set_cookie(request, options)
21
20
  request.cookie_jar.encrypted[@key] = options
22
21
  end
23
22
  elsif Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR == 1
24
- puts "+++ 3.1"
25
23
  def set_cookie(env, session_id, cookie)
26
24
  request = ActionDispatch::Request.new(env)
27
25
  request.cookie_jar.encrypted[@key] = cookie
@@ -1,3 +1,3 @@
1
1
  module EncryptedCookieStore
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: encrypted-cookie-store
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.3"
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Les Fletcher