README.md in pupil-0.2.2 vs README.md in pupil-0.3.0

- old
+ new

@@ -26,19 +26,20 @@ gem install pupil Examples ------------- + require "pupil" oauth_key = { - :consumer_key => "something", # Required - :consumer_secret => "something", # Required - :access_token => "something", # Required - :access_token_secret => "something" # Required + :consumer_key => "something", + :consumer_secret => "something", + :access_token => "something", + :access_token_secret => "something" } - + pupil = Pupil.new oauth_key # Get timeline statuses without replies pupil.timeline :count => 50, :exclude => :replies @@ -71,10 +72,10 @@ # Search stream stream.start :search, :track => "#MerryChristmas" do |status| puts "Merry christmas, #{status.user.screen_name}!" end -Making `pupil_key` +Making `oauth_key` require "pupil/keygen" keygen = Pupil::Keygen.new keygen.interactive #=> Generate pupil_key interactively