lib/mutils/version.rb in mutils-1.1.6 vs lib/mutils/version.rb in mutils-1.1.7
- old
+ new
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+# Version
module Mutils
- VERSION = File.read('Version').split("\n").first.gsub('v', '')
+ version_file_path = File.join(File.dirname(__FILE__), '../../Version')
+ VERSION = File.read(version_file_path).split("\n").first.gsub('v', '')
end