Closed masterkain closed 12 years ago
Probably this is related to the multi_json upgrade to 1.1.0, not sure.
bundler decided to downgrade to 0.3.0 due to the multi_json dep:
itunes (0.3.0)
httparty
Enforcing itunes to the current version it's ok, but perhaps we should loosen the dep on multi_json with a '~> 1.0' like many gems do.
In version 0.3.0 the API was the following:
songs = ITunes.music('immortal blizzard beasts')
songs['results'].each do |song|
puts "#{song['trackName']} - #{song['artistName']} (#{song['collectionName']})"
end
Have you just started using the results
method on the results, or did you grab that from the current readme? As I am not sure that was ever supported through HTTParty. You may want to upgrade to 0.5.3 which would allow you to use what you have above. We will have to do a better job with version numbers for API changes like this.
Yeah, my previous comment states that it was bundler's 'fault' for downgrading itunes due to the multi_json dep :)
Ah shoot, you commented juuust before I did. I'll push up a new gem version in a few with the dependency change.
Awesome, thanks.
Hello, I started to see this:
Hints?