Commit Graph
69 Commits
Author SHA1 Message Date
onyx_online daa8c6ada1 adds Events::Client.on method
allows registering blocks to be called back later

examples, readme updated

minor bump
2023-08-17 23:09:32 +01:00
onyx_online 662f14282f move identified before start_driver 2023-08-17 16:28:43 +01:00
onyx_online 2e0e584d3a refactor 2023-08-17 16:18:50 +01:00
onyx_online a8425cf7cd refactor 2023-08-17 16:13:57 +01:00
onyx_online 7e580dc91a check identified state in Event::Client
add passwordless test for event client

patch bump
2023-08-11 22:12:28 +01:00
onyx_online 92174219a7 patch bump 2023-08-11 22:05:28 +01:00
onyx_online 0c71eb2398 added no password error test 2023-08-11 22:05:14 +01:00
onyx_online 3ea21cd371 Identified class added. tracks identified state 2023-08-11 22:05:01 +01:00
onyx_online 70b60b3cac reword 2023-08-11 18:23:42 +01:00
onyx_online c97d14abe2 move logger back into rescue block 2023-08-11 17:10:17 +01:00
onyx_online 123b9c55ca patch bump 2023-08-11 17:05:47 +01:00
onyx_online 299351cac0 refactor tests 2023-08-11 17:05:33 +01:00
onyx_online 3ef4396885 request ids are now UUID's. 2023-08-11 17:04:38 +01:00
onyx_online c6bb8d07ff patch bump 2023-08-11 16:15:42 +01:00
onyx_online 48b94a2682 remove running reader method 2023-08-11 16:15:27 +01:00
onyx_online 210d13ba1e update main example to print mute state 2023-08-11 16:15:17 +01:00
onyx_online 59bcf2a338 assign timeout_sec directly 2023-08-11 16:14:53 +01:00
onyx_online dc8ac155ec patch bump 2023-08-11 14:45:02 +01:00
onyx_online 23d64ef9d8 test files renamed with test_ prefix
error tests added

Rakefile updated with new test file names

event tasks moved into :e namespace
2023-08-11 14:44:51 +01:00
onyx_online 9be9dc80a2 adds connect_timeout kwarg for base class 2023-08-11 14:41:35 +01:00
onyx_online a40ab77be9 cleanup error messages 2023-08-11 14:41:09 +01:00
onyx_online b440ace20c fix req_name
patch bump
2023-08-11 13:18:28 +01:00
onyx_online f5a817ab4e fix req_name
patch bump
2023-08-11 13:16:27 +01:00
onyx_online 13f57f79f6 rename name to req_name in OBSWSRequestError
patch bump
2023-08-11 13:10:44 +01:00
onyx_online 976c8f19a8 new error classes
OBSWSConnectionError, OBSWSRequestError added

they subclass OBSWSError

readme updated with new error classes
2023-08-11 02:22:14 +01:00
onyx_online 515fa565d4 use conditional assignment
patch bump
2023-08-06 11:33:15 +01:00
onyx_online 46bfb53db8 add docstring 2023-08-03 14:39:44 +01:00
onyx_online f669498c69 remove_observers now accepts array of callbacks
callbacks aliases observers

patch bump
2023-08-03 14:15:46 +01:00
onyx_online aeec0635ca add and control flow operator 2023-07-30 00:06:39 +01:00
onyx_online 86b84aeef9 minor syntax changes 2023-07-28 19:05:28 +01:00
onyx_online e4f4961c56 upd Gemfile.lock 2023-07-27 15:08:33 +01:00
onyx_online 4fdebc8178 Callbacks module extended
Now supports callback methods as well observer classes

levels example now uses callback methods

register,deregister now alias add/remove observer methods

minor version bump
2023-07-27 14:55:00 +01:00
onyx_online 155cbe019a upd Gemfile.lock 2023-07-26 19:53:04 +01:00
onyx_online 6293ae7b8c patch bump 2023-07-26 18:55:57 +01:00
onyx_online 57fca646b5 remove the monkey patching 2023-07-26 18:55:35 +01:00
onyx_online d12a1a5954 refactor Callbacks 2023-07-26 18:55:19 +01:00
onyx_online 438f3b1659 upd Gemfile.lock 2023-07-26 17:27:41 +01:00
onyx_online d15418a660 mixin only methods for directing the driver
patch bump
2023-07-26 16:55:59 +01:00
onyx_online 2883fd42cc Socket class and driver methods
moved into Driver module

patch bump
2023-07-26 16:38:36 +01:00
onyx_online 88b2eabc0c typo fix 2023-07-26 16:15:43 +01:00
onyx_online e15e17cc9f update readme title 2023-07-26 16:12:38 +01:00
onyx_online 72e09d5278 minor version bump 2023-07-26 14:38:12 +01:00
onyx_online 11d991b039 examples updated 2023-07-26 14:38:01 +01:00
onyx_online 3d3d8f3020 log level may now be set with environment variable 2023-07-26 14:37:49 +01:00
onyx_online 82c6ced760 logger module added 2023-07-26 14:37:35 +01:00
onyx_online 72ee539b96 upd gemfile.lock 2023-07-26 10:54:38 +01:00
onyx_online bbfaf486c3 observer dependency removed
patchbump
2023-07-26 10:52:23 +01:00
onyx_online 8534c59fa2 close now aliases stop_driver 2023-07-26 10:52:07 +01:00
onyx_online 9940fbbf9f assign client updater methods as base lambdas 2023-07-26 10:51:38 +01:00
onyx_online 18d291c6eb rename info to infostring, now returns a string 2023-07-26 10:18:32 +01:00
onyx_online 6dc21314e8 break instead of exit 2023-07-21 07:55:50 +01:00
onyx_online 15585c90e9 fix error in rakefile 2023-07-21 06:39:53 +01:00
onyx_online 15c4baf5d7 raekfile updated
rework examples
2023-07-21 06:37:14 +01:00
onyx_online 15dcaeedda remove unnecessary assignment. 2023-07-21 06:04:09 +01:00
onyx_online 856b7b5a5b add attr_reader r_client for OBSWSTest 2023-07-19 15:24:15 +01:00
onyx_online af85d8b9ab minor version bump 2023-07-19 15:14:46 +01:00
onyx_online 5f08b97759 example in readme and main.rb refactored
code style badge changed to standard
2023-07-19 15:14:28 +01:00
onyx_online 73ae24eb4b examples refactored 2023-07-19 15:13:26 +01:00
onyx_online 153f35e742 now using symbols when making api calls
in run, yield now passes a reference ot the client as an argument
2023-07-19 15:12:25 +01:00
onyx_online 17dcaa18d8 now using standard 2023-07-19 15:11:15 +01:00
onyx_online 955b00571a whitespace fix 2023-07-19 15:11:05 +01:00
onyx_online d9b054b108 whitespace fix
load obs.yml instead
2023-07-19 15:10:38 +01:00
onyx_online 799ae52b02 add prettier settings 2023-05-26 21:17:17 +01:00
onyx_online bc93654297 move identify payload out of auth block
patch bump
2022-11-25 18:05:10 +00:00
onyx_online aafcd185d0 patch bump
add full request payload to logger.

raise OBSWSError if auth enabled but no password provided

add example tasks to rake file

add logging section to README
2022-11-25 17:57:56 +00:00
onyx_online 43ecfb37f5 upd gemfile.lock 2022-11-18 15:00:34 +00:00
onyx_online 2e70c63ae7 fix patch ver 2022-11-18 14:54:29 +00:00
onyx_online c67ce47026 pass payload for call_vendor_request
patch bump
2022-11-18 14:52:28 +00:00
onyx_online f85489e358 Initial commit 2022-10-22 21:47:31 +01:00