sequel-sessions 1.0.1 → 1.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
  SHA1:
3
- metadata.gz: 48a1900b60f7b23659f287bf87e5ca7df6d6836b
4
- data.tar.gz: 1224ffb2349322d5cc7b6d1407f79ace6c66e94a
3
+ metadata.gz: bf3e3c8ed303d0394af07b5965ada434ae1ced99
4
+ data.tar.gz: cf8e34ee796225fc999bb328266fde7614b6f69c
5
5
  SHA512:
6
- metadata.gz: e879365b990235ca020ae517b1ad907a0e8a227b65e5365cd393bd79a23e61c0425288b2278f53a06642df6596cdb231c6af45781da613d1c50405811c132474
7
- data.tar.gz: 48f8bd21d97f0fc45447414c23874818751ee9d3d841a4488e929061ff7cb3599f70455a86abd7a37d0c1cabd040b3ec5af67aad6ff15eb53248b21953479db7
6
+ metadata.gz: a155a41779da49461cfcce5d717486afa8b75f0aa519dc33eadffcb38092a9953f076fb960100b83f7e9a57919a4a5766b621692e7d0d4136ec722013f9b0585
7
+ data.tar.gz: d6f2a6d1f91b2918f77299c6d131f2eaa7b1ce1e4a5a0e883dcae8632e8cf250ad6cc98f9482181fc626216df89e00a160f66316fde23710c8f6739522a4c767
@@ -18,11 +18,7 @@ module Rack
18
18
  def find_session(env, sid)
19
19
  record = table.filter(sid: sid).first
20
20
  if record
21
- begin
22
- session = Marshal.load(record[:session].unpack('m*').first)
23
- rescue ArgumentError
24
- session = {}
25
- end
21
+ session = Marshal.load(record[:session].unpack('m*').first)
26
22
  else
27
23
  sid, session = generate_sid, {}
28
24
  end
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Session
3
3
  class Sequel
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-sessions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wardrop
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-29 00:00:00.000000000 Z
11
+ date: 2017-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack