FIX: Bunch of Onebox issues

This commit is contained in:
Robin Ward 2014-02-25 13:28:50 -05:00
parent 0e6325d172
commit ccbe671e4a
2 changed files with 1 additions and 7 deletions

View file

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

View file

@ -1,11 +1,5 @@
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