atproto_auth 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50b5434e412dc6bd10dfbf53046cfe060110d050540b6b9750f73b473f75471d
4
- data.tar.gz: d0b259b7e8c2508abdcd5a046e55d1f5aa24f40a1a7bd0e43be9378d7f40aefd
3
+ metadata.gz: eabadc92135fdd83d938d5f4010606ff4fa746fafb6dcfe86b63ee8c24724d4e
4
+ data.tar.gz: 754d0b303dc452932ec9102095ecf713bb67604478f2f0c5a92507dc7e62170f
5
5
  SHA512:
6
- metadata.gz: f267e07128db3850494cff1ba08a8678b04a91e6028d43d829eaffcab715a20c57e56b122f116e7ca93814fe4fdf7a16bc7041b1fc09230d8cd325489baa4c4c
7
- data.tar.gz: efa4d2dfec732cf68eb1b54e0f753355f06abe07f2b3a4e25ad79e4c2bca75dd43a808d34c11484e4d03ecec509986742f8a546cb6ac4deb21705214f55c66df
6
+ metadata.gz: cdce105378f292c98b0dec8005d2c3cc96c2ed43fd7ac8d0c76d35cfc491a5dd43972f73cb4d47a9c5f97c2c776bc1c66db782df12668d3bde1114f8c5bd8ebf
7
+ data.tar.gz: f393a67d6caee2bc3554b5a6e8b4ceaf614c77b52524318a9383ab609dbbbbdd8de6c67ea9f193e748cfa2e67d0b9c7ae1aaba2c3f7b587dc61f8082ccb665d1
data/CHANGELOG.md CHANGED
@@ -4,11 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.2.4] - 2024-12-11
7
+ ## [0.2.5] - 2024-12-13
8
+ ### Fixed
9
+ - Additional token refresh edge case handling
10
+
11
+ ## [0.2.4] - 2024-12-13
8
12
  ### Fixed
9
13
  - Token refresh now correctly handles expired tokens
10
14
 
11
- ## [0.2.2] - 2024-12-11
15
+ ## [0.2.2] - 2024-12-12
12
16
  ### Added
13
17
  - Added support for did:web users
14
18
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- atproto_auth (0.2.4)
4
+ atproto_auth (0.2.5)
5
5
  jose (~> 1.2)
6
6
  jwt (~> 2.9)
7
7
  redis (~> 5.3)
@@ -59,9 +59,9 @@ module AtprotoAuth
59
59
  end
60
60
 
61
61
  def validate_expires_in!(expires_in)
62
- return if expires_in.is_a?(Integer) && expires_in.positive?
62
+ return if expires_in.is_a?(Integer)
63
63
 
64
- raise ArgumentError, "expires_in must be positive integer"
64
+ raise ArgumentError, "expires_in must be an integer"
65
65
  end
66
66
  end
67
67
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtprotoAuth
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atproto_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Huckabee