kilroy 0.0.1 → 0.0.2

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: 313ee563b7a15bbc83337607f21ffe55e4593ba3b35f5c862e8057d03bec1e15
4
- data.tar.gz: 71bc5449f214371de5272ef23b36ec20703b681f93687d59817ed6115052688e
3
+ metadata.gz: d0a6b9271e99e03cb5ed8ed5360567f4b6effdd985605cdc59100f7a5a426c4f
4
+ data.tar.gz: d5ef6713efa9243ea8571de5b6dc8b00203341bbba5159be5a400ac2afab1d0b
5
5
  SHA512:
6
- metadata.gz: 05e3afde7bd5721105f963fb2deacbbd64cda2c38791fe2a1e4b8f8b27839e9d334eaa1abad00bf088c718793d007ec38e187d39b9a7fa88f012fa8f01fcbd3c
7
- data.tar.gz: fdd98e9c4ba6e13c78bf85a02ee5ad0e3792c39426dd2091f03bcc712e877bbb8bfed806507c7ac9f7646785abcfaa1af9c1e8f291adb08e14a8820f003f3398
6
+ metadata.gz: 0bb036a2bec04281089bf68c708782cee18decf8ef101e124274164d23525aa510cbd0c61ff2db210aaef4e71e28b16a0bc9e03533d6be2dd1a33a7fc09afda5
7
+ data.tar.gz: 34b88eea0643a7944c9b7f81509d115850a314ba16fa103acbe534aad917264fe869c64b60ad1329d2eaef02903b95980d577aed87acb737c65dcfbb1bb5334f
@@ -7,7 +7,7 @@ module Kilroy
7
7
 
8
8
  def call(env)
9
9
  request = ActionDispatch::Request.new(env)
10
- request.cookie_jar.signed[:visitor_id] ||= SecureRandom.uuid
10
+ request.cookie_jar.permanent.signed[:visitor_id] ||= SecureRandom.uuid
11
11
  @app.call(env)
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Kilroy
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kilroy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - smudge