diff --git a/lib/twitter/default.rb b/lib/twitter/default.rb index c20ff23cc..9106f16f2 100644 --- a/lib/twitter/default.rb +++ b/lib/twitter/default.rb @@ -2,7 +2,6 @@ require 'twitter/configurable' require 'twitter/error/client_error' require 'twitter/error/server_error' -require 'twitter/identity_map' require 'twitter/request/multipart_with_file' require 'twitter/response/parse_json' require 'twitter/response/raise_error' @@ -66,7 +65,7 @@ def oauth_token_secret ENV['TWITTER_OAUTH_TOKEN_SECRET'] end - # @note This is configurable in case you want to use HTTP instead of HTTPS or use a Twitter-compatible endpoint. + # @note This is configurable in case you want to use a Twitter-compatible endpoint. # @see http://status.net/wiki/Twitter-compatible_API # @see http://en.blog.wordpress.com/2009/12/12/twitter-api/ # @see http://staff.tumblr.com/post/287703110/api @@ -76,12 +75,10 @@ def endpoint ENDPOINT end - # @return [Hash] def connection_options CONNECTION_OPTIONS end - # @return [Twitter::IdentityMap] def identity_map IDENTITY_MAP end diff --git a/spec/helper.rb b/spec/helper.rb index 7ae785a6b..f315c9d3e 100644 --- a/spec/helper.rb +++ b/spec/helper.rb @@ -6,6 +6,7 @@ end require 'twitter' +require 'twitter/identity_map' require 'rspec' require 'stringio' require 'tempfile'