lib/card/codename.rb in card-1.21.0 vs lib/card/codename.rb in card-1.91
- old
+ new
@@ -50,11 +50,10 @@
end
# @todo remove duplicate checks here; should be caught upon creation
def check_duplicates codehash, codename, card_id
return unless codehash.key?(codename) || codehash.key?(card_id)
- warn "dup code ID:#{card_id} (#{codehash[codename]}), " \
- "CD:#{codename} (#{codehash[card_id]})"
+ warn "dup codename: #{codename}, ID:#{card_id} (#{codehash[codename]})"
end
# generate Hash for @codehash and put it in the cache
def load_codehash
Card.cache.fetch("CODEHASH") do