Commit Graph

20 Commits

Author SHA1 Message Date
330a1507c9 make docstrings rdoc compatible 2023-08-29 11:21:05 +01:00
e989e72e51 move all require statements into top level file 2023-08-11 00:49:59 +01:00
4381ed37ff quote operative in error messages 2023-08-09 17:45:50 +01:00
f32bfd5a4d rename TOMLStrBuilder to TOMLConfBuilder 2023-08-03 12:13:46 +01:00
76320565f5 pass result of method(:register) to each block
filename and file data are yielded as arguments to register
2023-08-03 11:07:45 +01:00
8a4ddee37d glob both yml and yaml files 2023-08-02 14:15:21 +01:00
bb62f01b11 no need to pass loader reference to FileReader 2023-08-02 13:01:46 +01:00
fdfadaafac FileReader each method added
yields, identifier and data read for each configfile

register moved into Loader
2023-08-02 12:35:18 +01:00
e06b4eaf2b if invalid yml, log as error but let loader continue 2023-08-01 23:43:55 +01:00
1a3192324d refactor loaders.
run now returns reference to self
2023-07-30 14:33:59 +01:00
917a591956 use unless over if ! 2023-07-22 16:44:24 +01:00
ce8c82a2ca add init_event_threads, end_event_threads
to Worker module.

run now handles init/end event threads
2023-07-21 14:37:17 +01:00
2e69321aca make register a private method 2023-07-16 22:33:50 +01:00
f14a549c03 now using standard Ruby logger module
easy_logging removed from dependencies

@configs now raises error on invalid key
2023-07-16 11:08:24 +01:00
4b311520d4 add FileReader class to configs.rb
handles reading from yml and storing into configs hash
2023-07-14 14:37:49 +01:00
6ccdfafc27 run through standard 2023-07-14 12:01:41 +01:00
3e6fe5c443 bug in read_from_yml fixed 2023-07-14 01:48:11 +01:00
ca66af7d84 check configpath only if configpath exists
override Loader to_s
2023-07-09 21:05:47 +01:00
e91d8dbd37 read_from_yaml implemented 2023-07-09 19:44:43 +01:00
80f76c36b7 reset profile (mostly) implemented 2023-07-09 05:47:37 +01:00