Skip to content

Commit

Permalink
Replace URI with Addressable
Browse files Browse the repository at this point in the history
Closes #487.
  • Loading branch information
sferik committed Nov 28, 2013
1 parent 8860b97 commit 7ea2f53
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/twitter.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'addressable/uri'
require 'twitter/configuration'
require 'twitter/cursor'
require 'twitter/direct_message'
Expand Down Expand Up @@ -28,4 +29,3 @@
require 'twitter/trend'
require 'twitter/tweet'
require 'twitter/user'
require 'uri'
2 changes: 1 addition & 1 deletion lib/twitter/base.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'addressable/uri'
require 'forwardable'
require 'memoizable'
require 'twitter/null_object'
require 'uri'

module Twitter
class Base
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/client.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'addressable/uri'
require 'simple_oauth'
require 'twitter/version'
require 'uri'

module Twitter
class Client
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/rest/api/utils.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'addressable/uri'
require 'twitter/arguments'
require 'twitter/cursor'
require 'twitter/user'
require 'uri'

module Twitter
module REST
Expand Down
1 change: 1 addition & 0 deletions twitter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7ea2f53

Please sign in to comment.