Sha256: 57c30d2e954f9f5b766074e25c3366e2dfebc242867eb3b932af3c69c2d949ac
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true module Schmersion class Helpers class << self def print_commit_list(commits, prefix: '') commits.each do |commit| print prefix print '[' print commit.ref[0, 10].blue print ']' print ' ' print commit.message.type.green if commit.message.scope print '(' print commit.message.scope.magenta print ')' end if commit.message.breaking_change? print ' ! '.white.on_red end print ': ' puts commit.message.description end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems