From 2da6c47b17660c83a1f78858a746b1ed48a32ba7 Mon Sep 17 00:00:00 2001 From: Wynn Netherland Date: Tue, 25 May 2010 23:12:01 -0500 Subject: [PATCH] fixed spelling error --- lib/twitter/httpauth.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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