authlogic 6.4.1 → 6.4.3

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: e65309a22f2adc25c9c61f10910d6db41fe2c3f6b9d8037977bdfa094b90dd53
4
- data.tar.gz: 2e5bb549974be424ad83ae20de60775bcb1b66c207031919caf978de7e5801ff
3
+ metadata.gz: d4360d2185227072fe1d6cbd59903a2aeada2b903d31b543b3fdbaec2f1a358d
4
+ data.tar.gz: f607d19a26791e887703c05ecbbf754baece595361aaa5628eae3e15f7894167
5
5
  SHA512:
6
- metadata.gz: 1198b8ff9bf45e98e8748365ba67112f249c738952b84a39a32b835353481a37b3b006106ff31031d5a78f2952fffa746c8764639f50ebc3cc0ae99f84f74b98
7
- data.tar.gz: 9ab8911d8838f3ddf6b8b011d498b08941caba5e20d2c62c1d2ec9c8b17f446c68f7585db88bd0c3497ae26cd11cd6f565eb9da3ae27bd3faee5de7815c62fd6
6
+ metadata.gz: 62070d81cc350041886d8eebe7d25257a599f81a5e97d16dd187884cfd1f2f64899d6b6b4a588c17cd9ffc9c30d91f63f5becb18c40e1446a93f8f1f227707ce
7
+ data.tar.gz: b845dc1ee474ecaba6c3e8ed960a92a3fa2dd4f434605e5569f630b1708f4764a877e39496e97ce4661257cd83c2b5f1e7c39db82b03c6ec7e7a8926bf05be8a
@@ -2031,7 +2031,7 @@ module Authlogic
2031
2031
 
2032
2032
  # @api private
2033
2033
  def set_last_request_at
2034
- current_time = klass.default_timezone == :utc ? Time.now.utc : Time.now
2034
+ current_time = Time.current
2035
2035
  MagicColumn::AssignsLastRequestAt
2036
2036
  .new(current_time, record, controller, last_request_at_threshold)
2037
2037
  .assign
@@ -2092,7 +2092,7 @@ module Authlogic
2092
2092
  def update_login_timestamps
2093
2093
  if record.respond_to?(:current_login_at)
2094
2094
  record.last_login_at = record.current_login_at if record.respond_to?(:last_login_at)
2095
- record.current_login_at = klass.default_timezone == :utc ? Time.now.utc : Time.now
2095
+ record.current_login_at = Time.current
2096
2096
  end
2097
2097
  end
2098
2098
 
@@ -17,6 +17,6 @@ module Authlogic
17
17
  #
18
18
  # @api public
19
19
  def self.gem_version
20
- ::Gem::Version.new("6.4.1")
20
+ ::Gem::Version.new("6.4.3")
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.1
4
+ version: 6.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson
8
8
  - Tieg Zaharia
9
9
  - Jared Beck
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-02-22 00:00:00.000000000 Z
13
+ date: 2023-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '5.2'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '6.2'
24
+ version: '7.2'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: '5.2'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '6.2'
34
+ version: '7.2'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: activerecord
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: '5.2'
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '6.2'
44
+ version: '7.2'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  version: '5.2'
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '6.2'
54
+ version: '7.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '5.2'
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: '6.2'
64
+ version: '7.2'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '5.2'
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '6.2'
74
+ version: '7.2'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: request_store
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +128,20 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: 0.8.22
131
+ - !ruby/object:Gem::Dependency
132
+ name: minitest
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "<"
136
+ - !ruby/object:Gem::Version
137
+ version: 5.19.0
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "<"
143
+ - !ruby/object:Gem::Version
144
+ version: 5.19.0
131
145
  - !ruby/object:Gem::Dependency
132
146
  name: minitest-reporters
133
147
  requirement: !ruby/object:Gem::Requirement
@@ -288,7 +302,7 @@ dependencies:
288
302
  - - "~>"
289
303
  - !ruby/object:Gem::Version
290
304
  version: '0.7'
291
- description:
305
+ description:
292
306
  email:
293
307
  - bjohnson@binarylogic.com
294
308
  - tieg.zaharia@gmail.com
@@ -341,11 +355,12 @@ files:
341
355
  - lib/authlogic/test_case/mock_request.rb
342
356
  - lib/authlogic/test_case/rails_request_adapter.rb
343
357
  - lib/authlogic/version.rb
344
- homepage: http://github.com/binarylogic/authlogic
358
+ homepage: https://github.com/binarylogic/authlogic
345
359
  licenses:
346
360
  - MIT
347
- metadata: {}
348
- post_install_message:
361
+ metadata:
362
+ rubygems_mfa_required: 'true'
363
+ post_install_message:
349
364
  rdoc_options: []
350
365
  require_paths:
351
366
  - lib
@@ -353,15 +368,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
353
368
  requirements:
354
369
  - - ">="
355
370
  - !ruby/object:Gem::Version
356
- version: 2.4.0
371
+ version: 2.6.0
357
372
  required_rubygems_version: !ruby/object:Gem::Requirement
358
373
  requirements:
359
374
  - - ">="
360
375
  - !ruby/object:Gem::Version
361
376
  version: '0'
362
377
  requirements: []
363
- rubygems_version: 3.0.3
364
- signing_key:
378
+ rubygems_version: 3.3.7
379
+ signing_key:
365
380
  specification_version: 4
366
381
  summary: An unobtrusive ruby authentication library based on ActiveRecord.
367
382
  test_files: []