Sha256: f2cb2983426c254f1a81ab1bb661d90e6411e8297701bd661f48b57f2c6b95eb
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true module PrChangelog class Releases attr_reader :git_proxy def initialize(git_proxy = GitProxy.new) @git_proxy = git_proxy end def last_release git_proxy.git_tags_list.last end def last_release_pair git_proxy.git_tags_list.last(2) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pr_changelog-0.3.0 | lib/pr_changelog/releases.rb |