Sha256: 8f735988d1bd1f5dbd8a38b584de2f5b9e5c64b03821fdedb70d73d4aaa4965d
Contents?: true
Size: 817 Bytes
Versions: 1
Compression:
Stored size: 817 Bytes
Contents
# frozen_string_literal: true require "containable" module Milestoner module Commits module Enrichers # Registers all enrichers for injection. module Container extend Containable register(:author) { Author.new } register(:body) { Body.new } register(:collaborators) { Colleague.new key: "Co-authored-by" } register(:created_at) { Time.new key: :authored_at } register(:format) { Format.new } register(:issue) { Issue.new } register(:milestone) { Milestone.new } register(:notes) { Note.new } register(:review) { Review.new } register(:signers) { Colleague.new key: "Signed-off-by" } register(:updated_at) { Time.new key: :committed_at } register(:uri) { URI.new } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
milestoner-18.12.0 | lib/milestoner/commits/enrichers/container.rb |