Sha256: 832fa3ceec657b7928a4cb7c6b6d8a41425478bd141521cb7f7e8e145eb74894
Contents?: true
Size: 397 Bytes
Versions: 7
Compression:
Stored size: 397 Bytes
Contents
module Danger class DangerCommitLint < Plugin class SubjectPeriodCheck < CommitCheck # :nodoc: MESSAGE = 'Please remove period from end of commit subject line.'.freeze def self.type :subject_period end def initialize(message) @subject = message[:subject] end def fail? @subject.split('').last == '.' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems