lib/paperweight.rb in paperweight-0.2.0 vs lib/paperweight.rb in paperweight-1.0.0

- old
+ new

@@ -7,10 +7,11 @@ require 'active_job' require 'paperweight/configuration' require 'paperweight/download' -require 'paperweight/hook' +require 'paperweight/hooks' require 'paperweight/post_process_job' require 'paperweight/version' -Paperclip::ClassMethods.prepend(Paperweight::Hook) +Paperclip::ClassMethods.prepend(Paperweight::Hooks::RecordHook) +Paperclip::Attachment.prepend(Paperweight::Hooks::AttachmentHook)