diff --git a/Rakefile b/Rakefile index c53b639ea..0c4a59a94 100644 --- a/Rakefile +++ b/Rakefile @@ -16,8 +16,7 @@ def name end def version - line = File.read("lib/#{name}.rb")[/^\s*VERSION\s*=\s*.*/] - line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1] + Fog::VERSION end def date