limited_sessions 5.0.1 → 5.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: e49ec43bc1c4f86c591c152081196467df00bf82949d2ec838506e6d2c71e033
4
- data.tar.gz: 6d88ce0966c834298391d13493482b047394a75764342aa735c7703005eef181
3
+ metadata.gz: 674470930a6fd00be6f99e2dfe77d2d05b7b1fafe04884ad4fe010b397f2263e
4
+ data.tar.gz: eb45de10203109c45547a6a62c13e13227064a6ddb0f59f438740336dbe35d0a
5
5
  SHA512:
6
- metadata.gz: f78ee40a5c1158c5aa886d23d670da59529d5f27d9fb5f64533a686bc5e362e6288a5db15a5ecdaafee5922f7f45ce030ca6d33729d5535ead5ca5fc69748798
7
- data.tar.gz: 9da570b7fd00bebea9acb009e33657823d69b4e6ae855cf90907afe08bb9b06250429721fd078d7565e53b5ef1f645709507c4ad24e2bc0231b33b6d1f8d3e61
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
@@ -1,4 +1,4 @@
1
- Copyright 2007-2022 t.e.morgan
1
+ Copyright 2007-2023 t.e.morgan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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.x and Rails 5.2-7.0.
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
 
@@ -1,3 +1,3 @@
1
1
  module LimitedSessions
2
- VERSION = '5.0.1'
2
+ VERSION = '5.0.2'
3
3
  end
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.1
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: 2022-08-10 00:00:00.000000000 Z
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: '3'
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: '3'
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.1'
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.1'
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.2.32
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
@@ -1,3 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (0.3ms) begin transaction
3
-  (0.0ms) rollback transaction