All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
- Update RuboCop gem and Hound version to v0.80 (#24).
- 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).
- Fix typos and code style here and there.
- Bump RuboCop development dependency minimum version to
0.71
and update Hound linter version (#12). - Allow any Bundler version equal or greater than
1.15
(#9) but lesser than3.0
(#10).
- 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).
- Add
token!
public method for standalone token generation (#3).
- Reduce Faraday connection timeout to 30 seconds.
- Fixed gemspec to not include HTML documentation files.
- Fixed code style and typos.
- Added rubocop as development dependency to enforce code style.
- Added GitHub templates for issues and pull requests.
- Added CONTRIBUTING document with contribution guidelines.
- Bumped all dependencies to stricter minor version constraint.
- Rate limit is now stubbed to 0.1 seconds in RSpec to speed up tests.
- Self-host documentation on GitHub pages.
list
andsearch
methods are now available from top level namespace.RARBG::CATEGORIES
now returns name/id pairs of all RARBG categories.- Faraday now uses the
APP_ID
as User agent.
- Fixed code styling and some documentation errors.
- Fixed IMDb id autocorrect in
search
.
- Faraday now logs requests to stdout if in verbose mode (
-w
or-v
).
- 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
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 anAPIError
exception.
- Set Faraday middleware before adapter to suppress warning.
- Move
app_id
andtoken
params tocall
method to prevent override.
- Sleep for 2 seconds after
get_token
to avoid request limit error.
- Fix invalid gemspec.
Initial release. Yanked from RubyGems.