Sha256: 6aab642f768c3dda6c8faa8674747087762f35a5b6f38a1990b11adc19b0a682
Contents?: true
Size: 418 Bytes
Versions: 11
Compression:
Stored size: 418 Bytes
Contents
require 'structured_changelog/release_filters/base' require 'structured_changelog/version_pattern' class StructuredChangelog module ReleaseFilters class MatchesSingleVersion < Base def self.pattern /^#{VersionPattern}$/ end def filter_releases(releases) releases.select do |release| release.version == Gem::Version.new(query) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems