lib/gitlab_releases.rb in gitlab-releases-0.2.4 vs lib/gitlab_releases.rb in gitlab-releases-0.2.5
- old
+ new
@@ -31,9 +31,17 @@
def self.previous_version
ReleaseVersions.previous_version
end
+ def self.current_minor_for_date(date)
+ ReleaseVersions.current_minor_for_date(date)
+ end
+
+ def self.previous_minors(version)
+ ReleaseVersions.previous_minors(version)
+ end
+
def self.release_date
ReleaseVersions.previous_release_date
end
private_class_method :release_date