freeze those versions

This commit is contained in:
Dominik Richter 2016-01-15 21:41:20 +01:00
parent e9b94d55d1
commit b0ffe684ab
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ def inspec_version(target = nil)
unless target.nil?
raw = File.read(path)
nu = raw.sub(/VERSION.*/, "VERSION = '#{target}'")
nu = raw.sub(/VERSION.*/, "VERSION = '#{target}'.freeze")
File.write(path, nu)
load(path)
end

View file

@ -3,5 +3,5 @@
# author: Christoph Hartmann
module Inspec
VERSION = '0.9.9'
VERSION = '0.9.9'.freeze
end