sequel-sessions 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Gemfile +0 -0
- data/LICENSE +0 -0
- data/README.md +0 -0
- data/lib/rack/session/sequel.rb +2 -2
- data/lib/sequel-sessions.rb +0 -0
- data/sequel-sessions.gemspec +0 -0
- data/spec/sequel_sessions_spec.rb +0 -0
- metadata +3 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 898ee705aa402e048c2919d893396bd562a7b0245fcf17308c172673b6d3afd8
|
|
4
|
+
data.tar.gz: a550ad05bba1608ad25caaba2a7a8da9cd872a75250ca0d4cd3b20fd71f9b6dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab1b3cff3f8564b59b8851f0a2d9de70aa83045eb102cda5fd221023933351ccbd8891a8bc036cade6da4ffeaa69498e89923a39ee9a371310209ed347868484
|
|
7
|
+
data.tar.gz: 285c277c7c289e06c1e5aeeee2baf7b4c981ebdb3cd80582a138d2f598c941ba0541d6c34e0ba83c13598c8d21d44d5b8c07ffccc3e0240a88f32c3fc8c46e54
|
data/Gemfile
CHANGED
|
File without changes
|
data/LICENSE
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
File without changes
|
data/lib/rack/session/sequel.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Rack
|
|
2
2
|
module Session
|
|
3
3
|
class Sequel < Abstract::Persisted
|
|
4
|
-
VERSION = "1.0.
|
|
4
|
+
VERSION = "1.0.4"
|
|
5
5
|
DEFAULT_OPTIONS = Abstract::Persisted::DEFAULT_OPTIONS.merge(:table_name => :sessions)
|
|
6
6
|
|
|
7
7
|
# Options arguments can be either a Sequel::Database instance, or a hash. Options beyond those defined in
|
|
@@ -61,7 +61,7 @@ module Rack
|
|
|
61
61
|
|
|
62
62
|
def setup_database
|
|
63
63
|
db.create_table(@default_options[:table_name]) do
|
|
64
|
-
String :sid, :
|
|
64
|
+
String :sid, :null => false, :primary_key => true
|
|
65
65
|
text :session, :null => false
|
|
66
66
|
DateTime :created_at, :null => false
|
|
67
67
|
DateTime :updated_at
|
data/lib/sequel-sessions.rb
CHANGED
|
File without changes
|
data/sequel-sessions.gemspec
CHANGED
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sequel-sessions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Wardrop
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rack
|
|
@@ -83,7 +82,6 @@ homepage: https://github.com/wardrop/sequel-sessions
|
|
|
83
82
|
licenses:
|
|
84
83
|
- MIT
|
|
85
84
|
metadata: {}
|
|
86
|
-
post_install_message:
|
|
87
85
|
rdoc_options: []
|
|
88
86
|
require_paths:
|
|
89
87
|
- lib
|
|
@@ -98,9 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
96
|
- !ruby/object:Gem::Version
|
|
99
97
|
version: '0'
|
|
100
98
|
requirements: []
|
|
101
|
-
|
|
102
|
-
rubygems_version: 2.6.12
|
|
103
|
-
signing_key:
|
|
99
|
+
rubygems_version: 4.0.13
|
|
104
100
|
specification_version: 4
|
|
105
101
|
summary: Sequel-based session middleware for Rack 2.0+
|
|
106
102
|
test_files:
|