buntine/discogs — Issue #3: Please push to rubygems
Author: bassnode
Created: 2011-10-17 23:08:48+00:00
State: open

...and likely bump the version number. Your latest implementation of Discogs::Wrapper#query_api which takes a params hash is on Github, but not in the version on Rubygems.

This means that your usage example in the Readme doesn't work, e.g.

```
artist = wrapper.get_artist("Master's Hammer")
release = wrapper.get_release("611973") # Supply an ID.
label = wrapper.get_label("Monitor Records")
search_results = wrapper.search("Necrovore")

artist.name # => "Master's Hammer"
artist.releases[0].title # => NoMethodError: undefined method `[]' for nil:NilClass
```

...since the Discogs API requests 'releases=1' to get that data and the pushed gem doesn't include the aforementioned params support.

Thanks!