Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't include IdentityMap by default

  • Loading branch information...
commit da38eec199222ae2292650313ce153e2b3986369 1 parent da3381e
@sferik authored
Showing with 2 additions and 4 deletions.
  1. +1 −4 lib/twitter/default.rb
  2. +1 −0  spec/helper.rb
View
5 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
View
1  spec/helper.rb
@@ -6,6 +6,7 @@
end
require 'twitter'
+require 'twitter/identity_map'
require 'rspec'
require 'stringio'
require 'tempfile'
Please sign in to comment.
Something went wrong with that request. Please try again.