lib/john_stamos.rb in john_stamos-0.0.1 vs lib/john_stamos.rb in john_stamos-0.0.2

- old
+ new

@@ -1,8 +1,9 @@ -require 'mechanize' +require 'faraday' +require 'typhoeus/adapters/faraday' +require 'nokogiri' require 'json' -require 'rest_client' require 'launchy' require 'john_stamos/version' require 'john_stamos/client' require 'john_stamos/pin_search' @@ -10,9 +11,11 @@ require 'john_stamos/pinner' module JohnStamos class MissingSearchText < Exception; end class MissingNextBookmark < Exception; end + + Faraday.default_adapter = :typhoeus private def self.uncle_jesse Launchy.open('http://www.youtube.com/watch?v=bLqAqIj8Rdc') end