diff --git a/lib/twitter/httpauth.rb b/lib/twitter/httpauth.rb index 6447d44f1..72e6695d6 100644 --- a/lib/twitter/httpauth.rb +++ b/lib/twitter/httpauth.rb @@ -7,7 +7,7 @@ class HTTPAuth attr_reader :username, :password, :options def initialize(username, password, options={}) - warn "[DEPRECATION] Baic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." + warn "[DEPRECATION] Basic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." @username, @password = username, password @options = {:ssl => false}.merge(options) @@ -16,25 +16,25 @@ def initialize(username, password, options={}) end def get(uri, headers={}) - warn "[DEPRECATION] Baic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." + warn "[DEPRECATION] Basic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." self.class.get(uri, :headers => headers, :basic_auth => basic_auth) end def post(uri, body={}, headers={}) - warn "[DEPRECATION] Baic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." + warn "[DEPRECATION] Basic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." self.class.post(uri, :body => body, :headers => headers, :basic_auth => basic_auth) end def put(uri, body={}, headers={}) - warn "[DEPRECATION] Baic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." + warn "[DEPRECATION] Basic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." self.class.put(uri, :body => body, :headers => headers, :basic_auth => basic_auth) end def delete(uri, body={}, headers={}) - warn "[DEPRECATION] Baic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." + warn "[DEPRECATION] Basic auth is deprecated as Twitter is ending support in June 2010. Please migrate to OAuth." self.class.delete(uri, :body => body, :headers => headers, :basic_auth => basic_auth) end