Sha256: cb21fef8383db64fbb4796507485acf0c2a64aa75968bbc95c8af62b002e6cfb

Contents?: true

Size: 314 Bytes

Versions: 4

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true
require 'forwardable'

module Gistory
  class VersionChange
    extend Forwardable
    def_delegators :@commit, :short_hash, :date

    attr_reader :commit, :version

    def initialize(commit:, version:)
      @commit = commit
      @version = version
      freeze
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gistory-0.1.3 lib/gistory/version_change.rb
gistory-0.1.2 lib/gistory/version_change.rb
gistory-0.1.1 lib/gistory/version_change.rb
gistory-0.1.0 lib/gistory/version_change.rb