lib/mail/jdec/detector.rb in mail-jdec-1.1.2 vs lib/mail/jdec/detector.rb in mail-jdec-1.2.0

- old
+ new

@@ -20,11 +20,11 @@ end def trusty?(detected) detected.key?(:type) && detected.key?(:encoding) && - detected[:confidence].to_i >= Jdec.autodetect_confidence && - !Jdec.autodetect_skip_charsets.include?(detected[:encoding].downcase) + detected[:confidence].to_i >= Jdec.config.autodetect_confidence && + !Jdec.config.autodetect_skip_charsets.include?(detected[:encoding].downcase) end end end end end