diff --git a/lib/doc_key.rb b/lib/doc_key.rb index f535e9b..0c1863d 100644 --- a/lib/doc_key.rb +++ b/lib/doc_key.rb @@ -1,4 +1,4 @@ -require 'digest' +require 'digest/md5' module Colore # This is the unique identifier for a document, a composite of diff --git a/lib/legacy_converter.rb b/lib/legacy_converter.rb index 8c7101d..6a42ba8 100644 --- a/lib/legacy_converter.rb +++ b/lib/legacy_converter.rb @@ -2,6 +2,7 @@ require 'filemagic/ext' require 'mime/types' require 'heathen' +require 'digest/sha2' module Colore # The Colore Legacy Converter provides the conversion functionality from diff --git a/lib/utils.rb b/lib/utils.rb index 15d44c5..85381b9 100644 --- a/lib/utils.rb +++ b/lib/utils.rb @@ -1,5 +1,3 @@ -require 'digest' - module Colore module Utils # Deep conversion of all hash keys to symbols.