Permalink
Browse files

Fix "loading in progress, circular require considered harmful" warning

  • Loading branch information...
1 parent 182e7f6 commit 0b7e9ccffe210179c9c0b600f4995ccf845c268d @sferik committed Dec 2, 2012
View
@@ -1,5 +1,34 @@
+require 'twitter/action_factory'
require 'twitter/client'
require 'twitter/configurable'
+require 'twitter/configuration'
+require 'twitter/cursor'
+require 'twitter/default'
+require 'twitter/direct_message'
+require 'twitter/entity'
+require 'twitter/entity/hashtag'
+require 'twitter/entity/url'
+require 'twitter/entity/user_mention'
+require 'twitter/geo_factory'
+require 'twitter/language'
+require 'twitter/list'
+require 'twitter/media_factory'
+require 'twitter/metadata'
+require 'twitter/oembed'
+require 'twitter/place'
+require 'twitter/profile_banner'
+require 'twitter/rate_limit'
+require 'twitter/relationship'
+require 'twitter/saved_search'
+require 'twitter/search_results'
+require 'twitter/settings'
+require 'twitter/size'
+require 'twitter/source_user'
+require 'twitter/suggestion'
+require 'twitter/target_user'
+require 'twitter/trend'
+require 'twitter/tweet'
+require 'twitter/user'
module Twitter
class << self
@@ -1,6 +1,5 @@
require 'twitter/base'
require 'twitter/creatable'
-require 'twitter/user'
module Twitter
module Action
@@ -1,7 +1,5 @@
require 'twitter/base'
require 'twitter/creatable'
-require 'twitter/list'
-require 'twitter/user'
module Twitter
module Action
@@ -1,7 +1,5 @@
require 'twitter/base'
require 'twitter/creatable'
-require 'twitter/tweet'
-require 'twitter/user'
module Twitter
module Action
@@ -1,7 +1,5 @@
require 'twitter/base'
require 'twitter/creatable'
-require 'twitter/tweet'
-require 'twitter/user'
module Twitter
module Action
@@ -1,5 +1,3 @@
-require 'twitter/default'
-
module Twitter
module Configurable
attr_writer :consumer_key, :consumer_secret, :oauth_token, :oauth_token_secret
@@ -1,5 +1,4 @@
require 'twitter/base'
-require 'twitter/size'
module Twitter
class Configuration < Twitter::Base
@@ -1,6 +1,5 @@
require 'twitter/creatable'
require 'twitter/identity'
-require 'twitter/user'
module Twitter
class DirectMessage < Twitter::Identity
View
@@ -1,5 +1,3 @@
-require 'twitter/rate_limit'
-
module Twitter
# Custom error class for rescuing from all Twitter errors
class Error < StandardError
View
@@ -1,6 +1,5 @@
require 'twitter/creatable'
require 'twitter/identity'
-require 'twitter/user'
module Twitter
class List < Twitter::Identity
@@ -1,5 +1,4 @@
require 'twitter/identity'
-require 'twitter/size'
module Twitter
module Media
View
@@ -1,4 +1,3 @@
-require 'twitter/geo_factory'
require 'twitter/identity'
module Twitter
@@ -1,5 +1,4 @@
require 'twitter/base'
-require 'twitter/size'
module Twitter
class ProfileBanner < Twitter::Base
@@ -1,6 +1,4 @@
require 'twitter/base'
-require 'twitter/source_user'
-require 'twitter/target_user'
module Twitter
class Relationship < Twitter::Base
@@ -1,5 +1,4 @@
require 'twitter/base'
-require 'twitter/tweet'
module Twitter
class SearchResults < Twitter::Base
View
@@ -1,5 +1,4 @@
require 'twitter/base'
-require 'twitter/place'
module Twitter
class Settings < Twitter::Base
@@ -1,5 +1,4 @@
require 'twitter/base'
-require 'twitter/user'
module Twitter
class Suggestion < Twitter::Base
View
@@ -1,14 +1,6 @@
require 'twitter/creatable'
-require 'twitter/entity/hashtag'
-require 'twitter/entity/url'
-require 'twitter/entity/user_mention'
require 'twitter/exceptable'
-require 'twitter/geo_factory'
require 'twitter/identity'
-require 'twitter/media_factory'
-require 'twitter/metadata'
-require 'twitter/place'
-require 'twitter/user'
module Twitter
class Tweet < Twitter::Identity
View
@@ -1,7 +1,6 @@
require 'twitter/basic_user'
require 'twitter/creatable'
require 'twitter/exceptable'
-require 'twitter/tweet'
module Twitter
class User < Twitter::BasicUser

0 comments on commit 0b7e9cc

Please sign in to comment.