Revert "FIX: Bunch of Onebox issues"

This reverts commit ccbe671e4a.
This commit is contained in:
Robin Ward 2014-02-25 13:35:08 -05:00
parent ccbe671e4a
commit cd7ef6b49a
2 changed files with 7 additions and 1 deletions

View File

@ -204,7 +204,7 @@ GEM
omniauth-twitter (1.0.1)
multi_json (~> 1.3)
omniauth-oauth (~> 1.0)
onebox (1.2.4)
onebox (1.2.3)
hexpress (~> 1.2)
moneta (~> 0.7)
multi_json (~> 1.7)

View File

@ -1,5 +1,11 @@
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].each {|f|
require_dependency(f.split('/')[-3..-1].join('/'))
}
module Oneboxer
# keep reloaders happy
unless defined? Oneboxer::Result
Result = Struct.new(:doc, :changed) do