lib/hedgelog/scrubber.rb in hedgelog-0.1.4 vs lib/hedgelog/scrubber.rb in hedgelog-0.1.5

- old
+ new

@@ -2,10 +2,10 @@ class Hedgelog class Scrubber def initialize(replacements = nil) @replacements = replacements || [ - ScrubReplacement.new('pasword', '**********') + ScrubReplacement.new('password', '**********') ] end def scrub(data) # Need to Marshal.dump/Marshal.load to deep copy the input so that scrubbing doesn't change global state