lib/ddr/antivirus.rb in ddr-antivirus-1.2.1 vs lib/ddr/antivirus.rb in ddr-antivirus-1.3.0

- old
+ new

@@ -1,10 +1,11 @@ -require "ddr/antivirus/version" -require "ddr/antivirus/scanner" -require "ddr/antivirus/scan_result" -require "ddr/antivirus/adapters" +require "logger" +require_relative "antivirus/version" +require_relative "antivirus/scanner" +require_relative "antivirus/adapters" + require "active_support/core_ext/module/attribute_accessors" module Ddr module Antivirus @@ -21,10 +22,9 @@ # mattr_accessor :logger do if defined?(Rails) && Rails.logger Rails.logger else - require "logger" Logger.new(STDERR) end end #