# frozen_string_literal: true require_relative 'releases/version' require_relative 'releases/release_version' require_relative 'releases/release_versions' require_relative 'releases/release_calculator' module Releases def self.upcoming_releases ReleaseCalculator.new( current_version: current_version, release_date: release_date ).execute end def self.current_version ReleaseVersions.current_version end def self.active_version ReleaseVersions.active_version end def self.next_versions ReleaseVersions.next_versions end def self.release_date ReleaseVersions.previous_release_date end private_class_method :release_date end