Permalink
Browse files

Replace URI with Addressable

Closes #487.
  • Loading branch information...
1 parent 8860b97 commit 7ea2f5390dc7456950f55c90aa4e48f29dcd4604 @sferik committed Nov 28, 2013
Showing with 5 additions and 4 deletions.
  1. +1 −1 lib/twitter.rb
  2. +1 −1 lib/twitter/base.rb
  3. +1 −1 lib/twitter/client.rb
  4. +1 −1 lib/twitter/rest/api/utils.rb
  5. +1 −0 twitter.gemspec
View
@@ -1,3 +1,4 @@
+require 'addressable/uri'
require 'twitter/configuration'
require 'twitter/cursor'
require 'twitter/direct_message'
@@ -28,4 +29,3 @@
require 'twitter/trend'
require 'twitter/tweet'
require 'twitter/user'
-require 'uri'
View
@@ -1,7 +1,7 @@
+require 'addressable/uri'
require 'forwardable'
require 'memoizable'
require 'twitter/null_object'
-require 'uri'
module Twitter
class Base
View
@@ -1,6 +1,6 @@
+require 'addressable/uri'
require 'simple_oauth'
require 'twitter/version'
-require 'uri'
module Twitter
class Client
@@ -1,7 +1,7 @@
+require 'addressable/uri'
require 'twitter/arguments'
require 'twitter/cursor'
require 'twitter/user'
-require 'uri'
module Twitter
module REST
View
@@ -3,6 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'twitter/version'
Gem::Specification.new do |spec|
+ spec.add_dependency 'addressable', '~> 2.3'
spec.add_dependency 'buftok', '~> 0.2.0'
spec.add_dependency 'descendants_tracker', '~> 0.0.1'
spec.add_dependency 'equalizer', '~> 0.0.7'

0 comments on commit 7ea2f53

Please sign in to comment.