queue_it 3.0.0 → 3.0.1

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: 37fa1c47d1ae47fffa2b3bc9b78dad1a983356b232329d8016ea14a6d0a2ecd2
4
- data.tar.gz: e2a72cd51b72e2da2ae74f388924e59e4c2664977d8d826d2b35d1a646f4a519
3
+ metadata.gz: 189efdfc12095ce801281491b882dc6021d9130efb803da0cf801d60fbb40566
4
+ data.tar.gz: 86a4030818ec3c5b051acaa1a750155bad4be7c29c6bd8fd13ec41bfb2cae6f7
5
5
  SHA512:
6
- metadata.gz: e4f59ab64f17ce5991d321bfbd59ec9d4189a00cc820e080945e58877a8e58eeb368a533a464fe3f4a05e002d889f5ee0723905caf2760cfbd421502cdd938f3
7
- data.tar.gz: 48a90881475da361a4b1446162f612419a6c56e250ebe1750c92b504b77a0c8d97f70d5d1909dc24f7bae490a1c076ed13639a3e0c8f688d75a31dbc16035275
6
+ metadata.gz: 5d42cba553cc208237128084c89f54cbdbe9c055bcf885fdbef81d48d29bca1a1b8ff7c77ffcdb52604f9af21bc11f4ca2856cb2e73c3ee1f27d58de60d53b7f
7
+ data.tar.gz: 56a32eb9cecc4167b05e014b88754cc235137eed24160cdd18eacb8ad7090cc7d1fa75b8793f9dfdbd7ebd1fcf65661d026a44569ca28d4a9dc6541d701c4c07
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 3.0.1 - 2021-08-01
2
+
3
+ * Correctly delete cookies when a session is destroyed
4
+
1
5
  ### 3.0.0 - 2021-07-30
2
6
 
3
7
  * Replace session store with cookie store to prevent some users of being kicked out of the queue
@@ -21,12 +21,12 @@ module QueueIt
21
21
  def destroy_all_queue_it_sessions
22
22
  session_variable_prefix = queue_it_session_variable("")
23
23
  cookies.each do |key, _|
24
- cookies.signed.delete(key) if key.starts_with?(session_variable_prefix)
24
+ cookies.delete(key) if key.starts_with?(session_variable_prefix)
25
25
  end
26
26
  end
27
27
 
28
28
  def destroy_queue_it_session(event_id)
29
- cookies.signed.delete(queue_it_session_variable(event_id))
29
+ cookies.delete(queue_it_session_variable(event_id))
30
30
  end
31
31
 
32
32
  def queue_it_session_variable(event_id)
@@ -1,3 +1,3 @@
1
1
  module QueueIt
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billetto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-31 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable