Sha256: 369b771142383befd42890b64ecbca0d9934142aace282ef08be56aa9b0bda87

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 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

5 entries across 5 versions & 1 rubygems

Version Path
gistory-0.1.8 lib/gistory/version_change.rb
gistory-0.1.7 lib/gistory/version_change.rb
gistory-0.1.6 lib/gistory/version_change.rb
gistory-0.1.5 lib/gistory/version_change.rb
gistory-0.1.4 lib/gistory/version_change.rb