warden_cookie_session 0.1.2.19269 → 0.1.2.19275

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e478c50c3fa951cf31b386e84d66d63c2bb387e19acfab543d60d7c2991e0cee
4
- data.tar.gz: 947a2be152f06015638ee846ea5fa8c42abeece85626f27c1f8c15a6967fdedf
3
+ metadata.gz: 97254bb7c99d0a45d8df5a8247b8c7aa87417f71921fb83f3fbb7fd9cbd3e685
4
+ data.tar.gz: aed7416e037082c4c2b1fce4a312227a69cb1c518d17326cf907eb4d1a50de51
5
5
  SHA512:
6
- metadata.gz: 449c848e9a4150f6ee4444c1ed27539fb2dec23f2de04f9f9a7ea875e1002b0e5457bd336cb8b4dbb229d43cc8f128fcae2bbc1469c6630c7e332b68777f037a
7
- data.tar.gz: d970df13f3e48c6ccef7e3fcfecd167503286df9f40ac5c0ca68d5445a6f3306ebd8ed6b3f42387f24101f4e964650bb8b13a9be4c70d22fd721d4a3fb4d4b7c
6
+ metadata.gz: 6a0530b767ef6e3713e4b5686a88546188aff5002ae4a312a7736ba9d983f1869ae1b7710856db678e1df41abe8a7446e72c7d08472ff57b3b0eb63cc3cf9ea8
7
+ data.tar.gz: ead570ef8dd06155e7d6641d2d0e0ad6e762ac15a66e14fe617092068b78e66af44a4c94016a0f0ee9f025ac3f3af63f080ed12dedcf534a86931b288c25d6ae
@@ -20,9 +20,11 @@ class Warden::CookieSession::EncryptedCookie
20
20
 
21
21
  def put(data, domain)
22
22
  store[cookie] = {
23
- value: encryptor.encrypt_and_sign(data.to_json),
24
- domain: domain,
25
- secure: false
23
+ value: encryptor.encrypt_and_sign(data.to_json),
24
+ domain: domain,
25
+ secure: true,
26
+ http_only: true,
27
+ httponly: true
26
28
  }
27
29
  end
28
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden_cookie_session
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.19269
4
+ version: 0.1.2.19275
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri