From c3bd3bfc6e1990f4774bcd678deef1eb202a2680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Wed, 14 Nov 2018 18:55:38 +0100 Subject: Improve variables support This ensures that variables accept only string, alongside also improves kubernetes_namespace, improving validation and default value being set. --- lib/gitlab.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/gitlab.rb') diff --git a/lib/gitlab.rb b/lib/gitlab.rb index 2bb09684441..2ef54658a11 100644 --- a/lib/gitlab.rb +++ b/lib/gitlab.rb @@ -53,4 +53,8 @@ module Gitlab def self.pre_release? VERSION.include?('pre') end + + def self.version_info + Gitlab::VersionInfo.parse(Gitlab::VERSION) + end end -- cgit v1.2.3