diff options
author | Jonne Haß <me@mrzyx.de> | 2013-02-19 08:37:58 +0400 |
---|---|---|
committer | Jonne Haß <me@mrzyx.de> | 2013-03-22 02:37:53 +0400 |
commit | 3fc3b249e71f05a664a81d47d35f9b2815de5e97 (patch) | |
tree | eb665fde9e15307a9c68e7cdb9452ac39c2214ab /lib/stream/base.rb | |
parent | 13ee6129e5648c23ad415d01b675c121196c7157 (diff) |
End the require mess
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
Diffstat (limited to 'lib/stream/base.rb')
-rw-r--r-- | lib/stream/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/stream/base.rb b/lib/stream/base.rb index 47739a6be..61eba6f93 100644 --- a/lib/stream/base.rb +++ b/lib/stream/base.rb @@ -1,4 +1,3 @@ -require Rails.root.join("lib", "publisher") class Stream::Base TYPES_OF_POST_IN_STREAM = ['StatusMessage', 'Reshare', 'ActivityStreams::Photo'] |