limited_sessions 5.0.1 → 5.0.2
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 +4 -4
- data/CHANGELOG +13 -9
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/lib/limited_sessions/version.rb +1 -1
- metadata +7 -9
- data/test/dummy/log/test.log +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 674470930a6fd00be6f99e2dfe77d2d05b7b1fafe04884ad4fe010b397f2263e
|
|
4
|
+
data.tar.gz: eb45de10203109c45547a6a62c13e13227064a6ddb0f59f438740336dbe35d0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d82667a443ff52b46f1d696639ebfd5c1a0626bf9a533dcfe850decb8f162ecf47dd9f01ddf9a594b4783c6586188b4049f9ea95e0931b1005f35a79e8a729f3
|
|
7
|
+
data.tar.gz: 5e4941bdd35f7a616c4f331617e1b926f9096d901582302ddc95329216863230337b802f0a1b983793d99522b0c55d71051dac232defa145b03a772d49eacef0
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
* 2023-oct-07 - v5.0.2
|
|
2
|
+
|
|
3
|
+
- Support Rails 7.1 & Rack 3
|
|
4
|
+
|
|
1
5
|
* 2022-aug-10 - v5.0.1
|
|
2
6
|
|
|
3
7
|
- Fix for deprecation warning in Rails 7
|
|
@@ -27,7 +31,7 @@
|
|
|
27
31
|
- v4.0.0 - Rails 4 compatibility. Use v3.x.x for Rails 3 apps.
|
|
28
32
|
- For non-ActiveRecord session stores, no change is required from the
|
|
29
33
|
previous version.
|
|
30
|
-
- For ActiveRecord session stores, you must add the
|
|
34
|
+
- For ActiveRecord session stores, you must add the
|
|
31
35
|
'activerecord-session_store' gem to your Gemfile and it must be
|
|
32
36
|
above limited_sessions so that it will be auto-detected properly.
|
|
33
37
|
This is the only change required.
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
|
|
42
46
|
- LimitedSessions has been broken up into two parts:
|
|
43
47
|
- Rack-compatible middleware that handles session time limits. This
|
|
44
|
-
*should* work for all session stores. Just requires Rack, not
|
|
48
|
+
*should* work for all session stores. Just requires Rack, not
|
|
45
49
|
necessarily Rails.
|
|
46
50
|
- Rails 3 specific enhancement to the ActiveRecord Session Store
|
|
47
51
|
that also cleans up stale session records.
|
|
@@ -54,13 +58,13 @@
|
|
|
54
58
|
* 2010-jul-20 - IPv6, replay attack mitigation, more non-AR support
|
|
55
59
|
|
|
56
60
|
- IPv6 now works for subnet matching.
|
|
57
|
-
- New options to configure the allowed subnet size (both IPv4 and
|
|
61
|
+
- New options to configure the allowed subnet size (both IPv4 and
|
|
58
62
|
IPv6) added.
|
|
59
63
|
- Plugin now enhances reset_session to clear old session data from
|
|
60
|
-
the DB; this prevents session_id replay attacks when using
|
|
64
|
+
the DB; this prevents session_id replay attacks when using
|
|
61
65
|
DB-backed session storage.
|
|
62
66
|
- Session activity and hard limits now work with non-ActiveRecord
|
|
63
|
-
session stores. Configuration is done differently depending on
|
|
67
|
+
session stores. Configuration is done differently depending on
|
|
64
68
|
which session store is in use.
|
|
65
69
|
|
|
66
70
|
* 2009-apr-22 - update to support rails 2.3
|
|
@@ -68,13 +72,13 @@
|
|
|
68
72
|
- Rails 2.3 changed the internal session code substantially. This new
|
|
69
73
|
version now supports rails 2.3. Note that is no longer supports any
|
|
70
74
|
version of rails prior to 2.3 -- see the README for where to find
|
|
71
|
-
an older version of this plugin for rails 2.2 and earlier.
|
|
75
|
+
an older version of this plugin for rails 2.2 and earlier.
|
|
72
76
|
- CONFIGURATION OPTIONS HAVE CHANGED. This is required by the new
|
|
73
77
|
support for rails 2.3. See the README for more information.
|
|
74
78
|
|
|
75
|
-
* 2008-jul-23 - update to improve rails 2.1 compatibility
|
|
76
|
-
|
|
79
|
+
* 2008-jul-23 - update to improve rails 2.1 compatibility
|
|
80
|
+
|
|
77
81
|
- disable partial-updates for the session table
|
|
78
82
|
(thanks to eilonon erkki for bringing the problem to my attention)
|
|
79
|
-
|
|
83
|
+
|
|
80
84
|
* 2007-sep-06 - initial release
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -31,7 +31,7 @@ LimitedSessions provides two distinct features, each in a separate part:
|
|
|
31
31
|
|
|
32
32
|
## Compatibility
|
|
33
33
|
|
|
34
|
-
The middleware should be compatible with any framework using a recent version of Rack. It has been tested with Rack 2
|
|
34
|
+
The middleware should be compatible with any framework using a recent version of Rack. It has been tested with Rack 2-3 and Rails 5.2-7.1.
|
|
35
35
|
|
|
36
36
|
The optional ActiveRecord Session Store extension requires Rails.
|
|
37
37
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: limited_sessions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- t.e.morgan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: 2.0.9
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
22
|
+
version: '4'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: 2.0.9
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '4'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: sqlite3
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
version: '5.2'
|
|
54
54
|
- - "<"
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: '7.
|
|
56
|
+
version: '7.2'
|
|
57
57
|
type: :development
|
|
58
58
|
prerelease: false
|
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -63,7 +63,7 @@ dependencies:
|
|
|
63
63
|
version: '5.2'
|
|
64
64
|
- - "<"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '7.
|
|
66
|
+
version: '7.2'
|
|
67
67
|
description: 'LimitedSessions provides two core features to handle cookie-based session
|
|
68
68
|
expiry: 1) Rack Middleware for most session stores and 2) an ActiveRecord extension
|
|
69
69
|
for AR-based session stores. Sessions can be expired on inactivity and/or overall
|
|
@@ -106,7 +106,6 @@ files:
|
|
|
106
106
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
107
107
|
- test/dummy/config/locales/en.yml
|
|
108
108
|
- test/dummy/config/routes.rb
|
|
109
|
-
- test/dummy/log/test.log
|
|
110
109
|
- test/dummy/public/404.html
|
|
111
110
|
- test/dummy/public/422.html
|
|
112
111
|
- test/dummy/public/500.html
|
|
@@ -134,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
134
133
|
- !ruby/object:Gem::Version
|
|
135
134
|
version: '0'
|
|
136
135
|
requirements: []
|
|
137
|
-
rubygems_version: 3.
|
|
136
|
+
rubygems_version: 3.4.10
|
|
138
137
|
signing_key:
|
|
139
138
|
specification_version: 4
|
|
140
139
|
summary: Server-side session expiry via either Rack Middleware or ActiveRecord extension
|
|
@@ -162,7 +161,6 @@ test_files:
|
|
|
162
161
|
- test/dummy/config/locales/en.yml
|
|
163
162
|
- test/dummy/config/routes.rb
|
|
164
163
|
- test/dummy/config.ru
|
|
165
|
-
- test/dummy/log/test.log
|
|
166
164
|
- test/dummy/public/404.html
|
|
167
165
|
- test/dummy/public/422.html
|
|
168
166
|
- test/dummy/public/500.html
|
data/test/dummy/log/test.log
DELETED