v0.7.0, Codename "Phoenix"
After 1K lines of code, here it is: a complete restructuring of the gem to be more OOP-focused (we're not PHP here). For example, client.submission_comments(submission)
is now a more intuitive submission.comments
. Although this requires that each object carries a reference to its client and removes batch methods (I intend to add them in later), hopefully it'll make you and me more productive. As usual, most methods are documented to the best of my ability.
Other major changes:
- Removal of cookie-based authentication in favour of OAuth2 (see why)
- Keyword arguments (thank god).
- A method named
Redd.it
for simpler authentication. - Hashie is now used for models.
- The new stream method now checks for duplicates and allows you to stream any method that returns a listing.
Unfortunately this release will probably come with its own bugs. Please do file any bug in the issues, no matter how tiny. By the way, it's called "Phoenix". Get it...?