warden_cookie_session 0.1.2.19245 → 0.1.2.19269

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: 9f10cc58f56b8d90b41e47fd35d66ac1d4dce33c31359ba8345da0b44e80bd1f
4
- data.tar.gz: '0229aa48d5ab4dd14107501fe9597e40d4e1c422d9199860b8e7a12c0b6a7d2e'
3
+ metadata.gz: e478c50c3fa951cf31b386e84d66d63c2bb387e19acfab543d60d7c2991e0cee
4
+ data.tar.gz: 947a2be152f06015638ee846ea5fa8c42abeece85626f27c1f8c15a6967fdedf
5
5
  SHA512:
6
- metadata.gz: b0a72175769e3033ca06db4018f82c1a80a642295f15321f8a0b444fd4f21df188c81a9256a9beacfd3da1086f56d77b57daf9c28fb5547171883b52cb48fc12
7
- data.tar.gz: f4fbdace6645e45bc684dc3dea0b710a6c115ba5962974d50774f235378db9d0efa7487317241842664a3a2c1068ba6112bc4e0697da6f87af00fbcf2b0eecee
6
+ metadata.gz: 449c848e9a4150f6ee4444c1ed27539fb2dec23f2de04f9f9a7ea875e1002b0e5457bd336cb8b4dbb229d43cc8f128fcae2bbc1469c6630c7e332b68777f037a
7
+ data.tar.gz: d970df13f3e48c6ccef7e3fcfecd167503286df9f40ac5c0ca68d5445a6f3306ebd8ed6b3f42387f24101f4e964650bb8b13a9be4c70d22fd721d4a3fb4d4b7c
@@ -19,12 +19,11 @@ class Warden::CookieSession::EncryptedCookie
19
19
  end
20
20
 
21
21
  def put(data, domain)
22
- c = {
22
+ store[cookie] = {
23
23
  value: encryptor.encrypt_and_sign(data.to_json),
24
- domain: domain
24
+ domain: domain,
25
+ secure: false
25
26
  }
26
-
27
- store[cookie] = c
28
27
  end
29
28
 
30
29
  def clear(domain)
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.19245
4
+ version: 0.1.2.19269
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri