- Updated
*.rb
files' file permissions.
- Add compatibility with
jwt
gemv2.0
.
- Add
expiry
option to theValidator
which defines the time after which the certificates cache should be renewed. This prevents continuously fetching them in case of constant decoding errors.
- Make
Validator
thread-safe by not maintaining error state. Errors in#check
are not saved to the instance variableproblem
. Added specific error classes which are raised upon validation errors instead. - Caching certificates in the
Validator
instead of always fetching them from Google servers.