README.md in pupil-0.1.3 vs README.md in pupil-0.1.4

- old
+ new

@@ -43,14 +43,14 @@ # Get timeline statuses without replies pupil.home_timeline :count => 50, :exclude => :replies # Follow User - pupil.follow :screen_name => :twitterapi + pupil.follow :screen_name => :twitterapi # Update URL on profile - pupil.update_profile :url => "http://oameya.com" + pupil.update_profile :url => "http://oameya.com" Using Streaming API require "pupil/stream" @@ -69,18 +69,18 @@ stream = Pupil::Stream.new pupil_key # Userstream stream.start :userstream do |status| - puts status.event #=> Show type of status + puts status.event #=> Show type of event if status.event == :retweeted - puts "#{status.user.screen_name} : #{status.text}" + puts "#{status.user.screen_name}: #{status.text}" end end # Search stream - stream.start :filter, :track => "#MerryChristmas" do |status| - puts "#{status['user']['screen_name']: #{status['text']}" + stream.start :search, :track => "#MerryChristmas" do |status| + puts "#{status.user.screen_name}: #{status.text}" end Making `pupil_key` require "pupil/keygen"