Sha256: 65491c80f64186f34f2b7aa1aa7a7e64c05dff0850bcc274cab92d7579d67efc
Contents?: true
Size: 732 Bytes
Versions: 6
Compression:
Stored size: 732 Bytes
Contents
module Artifactory module GemImport module Bookkeeper class Publisher < Base private # Maintain the contract def init_store end def on_message(message) subject, action, msg = message case action when :processing puts "Processing #{subject.name} (#{subject.version})" when :status if msg == :ok puts msg else puts [msg, subject.errors.full_messages].join("\t") end when :count puts "#{subject}: #{msg} gems" else print " --> #{action.to_s.capitalize}".ljust(20) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems