mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
freeze those versions
This commit is contained in:
parent
e9b94d55d1
commit
b0ffe684ab
2 changed files with 2 additions and 2 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
# author: Christoph Hartmann
|
||||
|
||||
module Inspec
|
||||
VERSION = '0.9.9'
|
||||
VERSION = '0.9.9'.freeze
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue