tmdb_party
tmdb_party copied to clipboard
Simple ruby wrapper to themoviedb.org (http://api.themoviedb.org/2.0/docs/) using HTTParty
On httparty 0.8.1 tmdb with the file-backed icebox works just fine. After upgrading to 0.9.0, the cache set fails: ``` no _dump_data is defined for class Proc /home/$USER/deploy/$APP/shared/bundle/ruby/1.9.1/gems/tmdb_party-0.9.0/lib/tmdb_party/extras/httparty_icebox.rb:210:in `dump' /home/$USER/deploy/$APP/shared/bundle/ruby/1.9.1/gems/tmdb_party-0.9.0/lib/tmdb_party/extras/httparty_icebox.rb:210:in...
I keep getting an exception when I first `require tmdb_party`: ``` NoMethodError: undefined method `blank?' for :id:Symbol from /Users/ningj/.rvm/gems/ruby-1.9.2-p0@moty/gems/tmdb_party-0.9.0/lib/tmdb_party/extras/attributes.rb:18:in `block in attributes' ``` I thought maybe requiring active_support would do...
Also, rake should be included in the Gemfile. ``` tmdb_party/spec/../lib/tmdb_party/extras/attributes.rb:18:in `attributes': undefined method `blank?' for :id:Symbol (NoMethodError) ```
Hi John, I've updated your gem so the specs run, blank? doesn't complain anymore and updated httparty which solves the "couldn't parse YAML" error. Thanks, Ash.