lib/gitlab_releases.rb in gitlab-releases-0.2.6 vs lib/gitlab_releases.rb in gitlab-releases-0.2.7
- old
+ new
@@ -2,10 +2,11 @@
require_relative 'gitlab_releases/version'
require_relative 'gitlab_releases/release_version'
require_relative 'gitlab_releases/release_versions'
require_relative 'gitlab_releases/release_calculator'
+require_relative 'gitlab_releases/patch_date_calculator'
module GitlabReleases
def self.upcoming_releases
ReleaseCalculator.new(
current_version: current_version,
@@ -41,9 +42,13 @@
ReleaseVersions.previous_minors(version)
end
def self.available_versions
ReleaseVersions.available_versions
+ end
+
+ def self.next_patch_release_date
+ PatchDateCalculator.new.execute
end
def self.release_date
ReleaseVersions.previous_release_date
end