From f852626ce8ccca1c916f9ba4faf7469449b72529 Mon Sep 17 00:00:00 2001 From: Kirill Leonov Date: Sat, 4 Nov 2023 18:07:19 +0300 Subject: [PATCH] fix xdotool initialize command --- lib/boaw/version.rb | 2 +- lib/xdotool/adapter.rb | 2 +- test/lib/boaw/version_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/boaw/version.rb b/lib/boaw/version.rb index 9b3cc87..abb8735 100644 --- a/lib/boaw/version.rb +++ b/lib/boaw/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class Boaw - VERSION = '0.1.1' + VERSION = '0.1.2' end diff --git a/lib/xdotool/adapter.rb b/lib/xdotool/adapter.rb index b3ad108..48e75db 100644 --- a/lib/xdotool/adapter.rb +++ b/lib/xdotool/adapter.rb @@ -7,7 +7,7 @@ module Xdotool # Xdotool adapter for mouse control class Adapter def initialize - result = Kernel.system('xdotool') + result = Kernel.system('xdotool version') raise BaseError if result.nil? end diff --git a/test/lib/boaw/version_test.rb b/test/lib/boaw/version_test.rb index 3e00080..1151b6d 100644 --- a/test/lib/boaw/version_test.rb +++ b/test/lib/boaw/version_test.rb @@ -5,6 +5,6 @@ class VersionTest < Minitest::Test def test_version - assert_equal '0.1.1', Boaw::VERSION + assert_equal '0.1.2', Boaw::VERSION end end