From 3f54eb0ad7868d3a687b528eb998d26a208a34e0 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 18 Jul 2023 19:36:14 +0100 Subject: [PATCH] add VERSION constant --- lib/voicemeeter/version.rb | 2 ++ voicemeeter.gemspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/voicemeeter/version.rb b/lib/voicemeeter/version.rb index 5e6af42..1f1151e 100644 --- a/lib/voicemeeter/version.rb +++ b/lib/voicemeeter/version.rb @@ -22,4 +22,6 @@ module Voicemeeter to_a.join(".") end end + + VERSION = Version.to_s end diff --git a/voicemeeter.gemspec b/voicemeeter.gemspec index 48ae205..4857f3a 100644 --- a/voicemeeter.gemspec +++ b/voicemeeter.gemspec @@ -4,7 +4,7 @@ require File.expand_path("lib/voicemeeter/version", __dir__) Gem::Specification.new do |spec| spec.name = "voicemeeter" - spec.version = Voicemeeter::Version + spec.version = Voicemeeter::VERSION spec.summary = "Voicemeeter API wrapper for Ruby" spec.description = "A Ruby wrapper around Voicemeeter Remote API" spec.authors = ["onyx_online"]