From 0bac7eaf3adf1b47f0d8c30c696d3a4a9dbcdcfe Mon Sep 17 00:00:00 2001 From: norm Date: Thu, 3 Nov 2022 04:11:59 +0000 Subject: [PATCH] added missing response classes patch bump --- Gemfile.lock | 2 +- lib/obsws/req.rb | 3 +++ lib/obsws/version.rb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 430e868..e259bc6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - obsws (0.1.0) + obsws (0.1.2) observer (~> 0.1.1) waitutil (~> 0.2.1) websocket-driver (~> 0.7.5) diff --git a/lib/obsws/req.rb b/lib/obsws/req.rb index fe68fe9..c97602b 100644 --- a/lib/obsws/req.rb +++ b/lib/obsws/req.rb @@ -329,6 +329,7 @@ module OBSWS def get_special_inputs resp = call("GetSpecialInputs") + Mixin::Response.new(resp, resp.keys) end def create_input( @@ -346,6 +347,7 @@ module OBSWS sceneItemEnabled: scene_item_enabled } resp = call("CreateInput", payload) + Mixin::Response.new(resp, resp.keys) end def remove_input(name) @@ -828,6 +830,7 @@ module OBSWS def stop_record resp = call("StopRecord") + Mixin::Response.new(resp, resp.keys) end def toggle_record_pause diff --git a/lib/obsws/version.rb b/lib/obsws/version.rb index fe2dfa7..9cd2216 100644 --- a/lib/obsws/version.rb +++ b/lib/obsws/version.rb @@ -11,7 +11,7 @@ module OBSWS end def patch - 1 + 2 end def to_a