Commit Graph
54 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 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 3ea21cd371 Identified class added. tracks identified state 2023-08-11 22:05:01 +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 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 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 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 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 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 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 72e09d5278 minor version bump 2023-07-26 14:38:12 +01:00
onyx_online 82c6ced760 logger module added 2023-07-26 14:37:35 +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 15dcaeedda remove unnecessary assignment. 2023-07-21 06:04:09 +01:00
onyx_online af85d8b9ab minor version bump 2023-07-19 15:14:46 +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 955b00571a whitespace fix 2023-07-19 15:11:05 +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 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
norm 0bac7eaf3a added missing response classes
patch bump
2022-11-03 04:11:59 +00:00
norm 5b0ce79e46 fix bug in get_group_list
patch bump
2022-11-03 03:36:56 +00:00
norm f1a1c970e0 add low, high, all constants to SUBS 2022-10-27 06:45:21 +01:00
onyx-and-iris da5ef76c81 minor bump 2022-10-25 00:06:10 +01:00
onyx-and-iris b33fe94cee moved logger auth success to req,event classes
override to_s for req,event classes

rename authenticate to identify in base class
2022-10-25 00:03:43 +01:00
onyx-and-iris 2ed1368dcb Merge branch 'main' into dev 2022-10-23 23:38:03 +01:00
onyx-and-iris 64539291a1 patch bump 2022-10-23 23:33:48 +01:00
onyx-and-iris 60b87205c0 don't pass auth token if authentication disabled 2022-10-23 23:33:30 +01:00