Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Spotify for Ruby v12.1.0 released!

2 views
Skip to first unread message

Kim Burgestrand

unread,
Jun 5, 2012, 6:57:20 PM6/5/12
to ruby-...@googlegroups.com
Hi!

Spotify for Ruby v12.1.0 was just released. This feature release brings in two of the most useful features from Hallon into the Spotify gem itself: Spotify::Pointer, an object that automatically manages the reference count of Spotify objects, and wrapped functions, functions that return Spotify::Pointers! Whenever there is a Spotify::Pointer, one does not need to add and remove references to it to keep it alive in libspotify, it’s done automatically via Ruby’s garbage collection mechanism!

For Hallon users, this is nothing new. But for anybody using the raw Spotify FFI API this should be a welcome feature.

See rubygems for the gem: https://rubygems.org/gems/spotify

— Kim

Kim Burgestrand

unread,
Jun 5, 2012, 8:02:39 PM6/5/12
to ruby-...@googlegroups.com
This version was released with an erroneous version tag. The patch version should not have been increased, as it only introduces backwards compatible feature additions. It has been yanked, and replaced with version v12.0.1.

v12.0.1 includes an addition to the previous features, which includes Spotify::Error along with error checking variants for all functions that return an error code. The error checking variants will raise if the error code is not :ok.
Reply all
Reply to author
Forward
0 new messages