This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Releases: epistrephein/rarbg
Releases · epistrephein/rarbg
v2.0.0
Gem SHA-256: 47227bae910038d8e637e85f9321d80000fbcbd850be8c067af5bc24e495dffe
Changed
- Update Faraday to v1.0 and drop
faraday_middleware
dependency (#17). - Update Ruby minimum version to 2.3 (#17).
- Rename attr_reader
conn
toconnection
(#18). - Remove unnecessary files and attributes from gemspec (#21).
- Update version constraints for Rake, following v13.0 release (#15).
- Update version constraints for RuboCop in order to avoid breaking changes (#16).
- Tweak and reorder documentation (#18).
v1.4.0
Gem SHA-256: e10af101ab5eb4772d99fe926b70149c3c0cf51583527adc362783226b3c0d74
Fixed
- Fix typos and code style here and there.
Changed
v1.3.0
Gem SHA-256: 7b6485ef003779822f68f5466ac79738b03d3c19d792964c897d7f40eac1095d
Fixed
- Return an empty array when endpoint responds with a
Can't find
error onimdb
/themoviedb
/tvdb
search (#6). - Parse JSON only for responses with
application/json
Content-Type, preventing error responses to raise aParsingError
(#4).
Added
- Add
token!
public method for standalone token generation (#3).
Changed
- Reduce Faraday connection timeout to 30 seconds.
v1.2.0
Gem SHA-256: 41ad3a87d96aa5d92bce121764289348828e3b58220f8aefb762f211035472b2
Fixed
- Fixed gemspec to not include HTML documentation files.
- Fixed code style and typos.
Added
- Added rubocop as development dependency to enforce code style.
- Added GitHub templates for issues and pull requests.
- Added CONTRIBUTING document with contribution guidelines.
Changed
- Bumped all dependencies to stricter minor version constraint.
- Rate limit is now stubbed to 0.1 seconds in RSpec to speed up tests.
v1.1.1
v1.1.0
v1.0.1
v1.0.0
Gem SHA-256: 0a0de15391d2cb844d73dea0e4305e268f76a96d81276c86f4f85509c4c037ab
Changed
- Codebase has been completely refactored to be more resilient and error-free.
- This release is NOT backward compatible with 0.1 versions.
- Query parameters now use standard ruby syntax as expected and accept both
symbol and string keys. - Compliance with API rate limiting (1req/2s) is now enforced automatically.
- Empty results now return an empty array instead of raising an exception.
Removed
- Removed
default_params
: query parameters are now passed per request. - Removed
search_string
,search_imdb
,search_themoviedb
,search_tvdb
:
search type must be specified as a keyword argument uponsearch
. - Removed
RequestError
exception: all API-related errors now raise an
APIError
exception.