- Fixed a bug where it would try to encode JSON twice upon retrying.
- Ruby 2.2 compatibility
- Encode query in JSON to make using Firebase queries easy.
- Introduced
max_retries
,retry_exceptions
, anderror_callback
from latest rest-core (3.5.0+). See README.md for detail.
- Encode payload in JSON with middleware from rest-core
- Base64url encoded JWT would no longer contain any newlines.
- Should really properly refresh the auth (query)
- From now on you're not allowed to change the value of query.
- Adopted rest-core 3.3.0
- Introduce
RestFirebase#auth_ttl
to setup when to refresh the auth token. Default to 23 hours (82800 seconds) - Properly refresh the auth token by resetting
RestFirebase#iat
.
- Now it would auto-refresh auth if it's also expired (>= 23 hours)
- Now it would properly send JSON payload and headers.
- Birthday!