Sha256: aaea03562d0b7ec9ecd700b391261c9513167bb880830e8c7651a3bcb19c80fc
Contents?: true
Size: 478 Bytes
Versions: 13
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true require 'git' module GFSM module Tools class CommitsSubdivider def self.subdivide_commits(configuration, commits) subdivisions = {} commits.each do |commit| change_type = configuration.get_change_type_from_category(commit.category) if change_type (subdivisions[change_type] ||= []) << commit end end return subdivisions end end end end
Version data entries
13 entries across 13 versions & 1 rubygems