Skip to content

Commit

Permalink
Don't include IdentityMap by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Nov 22, 2012
1 parent da3381e commit da38eec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions lib/twitter/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
end

require 'twitter'
require 'twitter/identity_map'
require 'rspec'
require 'stringio'
require 'tempfile'
Expand Down

0 comments on commit da38eec

Please sign in to comment.