add VERSION constant

This commit is contained in:
onyx-and-iris 2023-07-18 19:36:14 +01:00
parent a87e626ff1
commit 3f54eb0ad7
2 changed files with 3 additions and 1 deletions

View File

@ -22,4 +22,6 @@ module Voicemeeter
to_a.join(".") to_a.join(".")
end end
end end
VERSION = Version.to_s
end end

View File

@ -4,7 +4,7 @@ require File.expand_path("lib/voicemeeter/version", __dir__)
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "voicemeeter" spec.name = "voicemeeter"
spec.version = Voicemeeter::Version spec.version = Voicemeeter::VERSION
spec.summary = "Voicemeeter API wrapper for Ruby" spec.summary = "Voicemeeter API wrapper for Ruby"
spec.description = "A Ruby wrapper around Voicemeeter Remote API" spec.description = "A Ruby wrapper around Voicemeeter Remote API"
spec.authors = ["onyx_online"] spec.authors = ["onyx_online"]