lib/paperweight.rb in paperweight-0.0.5 vs lib/paperweight.rb in paperweight-0.1.0
- old
+ new
@@ -1,19 +1,15 @@
# frozen_string_literal: true
-require 'aws-sdk-s3'
require 'open-uri'
require 'net/http'
require 'paperclip'
require 'rails'
require 'active_job'
-require 'paperweight/config'
require 'paperweight/download'
-require 'paperweight/image'
-require 'paperweight/location'
-require 'paperweight/purge_job'
-require 'paperweight/railtie'
-require 'paperweight/storage'
-require 'paperweight/thumbnails_job'
+require 'paperweight/hook'
+require 'paperweight/post_process_job'
require 'paperweight/version'
+
+Paperclip::ClassMethods.prepend(Paperweight::Hook)