lib/duck_puncher.rb in duck_puncher-2.8.0 vs lib/duck_puncher.rb in duck_puncher-2.9.0

- old
+ new

@@ -29,16 +29,12 @@ def punch!(*names) options = names.last.is_a?(Hash) ? names.pop : {} names.each do |name| duck = Ducks[name] - if duck.punched? - log.info %Q(Already punched #{name}) - else - log.warn %Q(Punching #{name} ducky) - unless duck.punch(options) - log.error %Q(Failed to punch #{name}!) - end + log.warn %Q(Punching #{name} ducky) + unless duck.punch(options) + log.error %Q(Failed to punch #{name}!) end end nil end