lib/imap/backup/serializer/directory.rb in imap-backup-1.0.9 vs lib/imap/backup/serializer/directory.rb in imap-backup-1.0.10

- old
+ new

@@ -1,12 +1,14 @@ # encoding: utf-8 require 'fileutils' -module Imap::Backup::Serializer - class Directory < Base +module Imap::Backup + module Serializer; end + + class Serializer::Directory < Serializer::Base def initialize(path, folder) super - Imap::Backup::Utils.make_folder(@path, @folder, DIRECTORY_PERMISSIONS) + Utils.make_folder(@path, @folder, Serializer::DIRECTORY_PERMISSIONS) end def uids return [] if ! File.exist?(directory)