# openwsman/version.rb

module Openwsman
  require 'rbconfig'
  OPENWSMAN_RUBY_VERSION = "4.0"
  SYSTEM_RUBY_VERSION = "#{RbConfig::CONFIG['MAJOR']}.#{RbConfig::CONFIG['MINOR']}"
  if SYSTEM_RUBY_VERSION != OPENWSMAN_RUBY_VERSION
    STDERR.puts "** Warning: Ruby version mismatch: Openwsman Ruby #{OPENWSMAN_RUBY_VERSION}, Runtime Ruby #{SYSTEM_RUBY_VERSION}"
  end
end
