pantheios-ruby 0.22.0.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/AUTHORS.md +21 -0
  3. data/CHANGES.md +311 -0
  4. data/CONTRIBUTING.md +36 -0
  5. data/EXAMPLES.md +11 -0
  6. data/FAQ.md +28 -0
  7. data/INSTALL.md +43 -0
  8. data/LICENSE +21 -20
  9. data/NEWS.md +64 -0
  10. data/README.md +134 -2
  11. data/Rakefile +21 -0
  12. data/SECURITY.md +23 -0
  13. data/TODO.md +26 -0
  14. data/examples/multiple_modules.md +1 -1
  15. data/examples/simple_logging.md +1 -1
  16. data/examples/threshold_front_end.rb +48 -0
  17. data/lib/pantheios/api.rb +3 -3
  18. data/lib/pantheios/application_layer/param_name_list.rb +1 -0
  19. data/lib/pantheios/application_layer/stock_severity_levels.rb +6 -7
  20. data/lib/pantheios/application_layer.rb +1 -0
  21. data/lib/pantheios/core.rb +3 -3
  22. data/lib/pantheios/front_ends/threshold_front_end.rb +3 -3
  23. data/lib/pantheios/globals.rb +3 -3
  24. data/lib/pantheios/services/coloured_console_log_service.rb +3 -3
  25. data/lib/pantheios/services/common/console.rb +1 -0
  26. data/lib/pantheios/services/multiplexing_log_service.rb +3 -3
  27. data/lib/pantheios/services/null_log_service.rb +3 -3
  28. data/lib/pantheios/services/simple_console_log_service.rb +3 -3
  29. data/lib/pantheios/services/simple_file_log_service.rb +3 -3
  30. data/lib/pantheios/services/standard_log_service_adapter.rb +3 -3
  31. data/lib/pantheios/services.rb +1 -0
  32. data/lib/pantheios/util/process_util.rb +1 -0
  33. data/lib/pantheios/util/reflection_util.rb +1 -0
  34. data/lib/pantheios/util/thread_util.rb +1 -0
  35. data/lib/pantheios/util/version_util.rb +1 -0
  36. data/lib/pantheios/util.rb +1 -0
  37. data/lib/pantheios/version.rb +9 -9
  38. data/lib/pantheios.rb +1 -1
  39. metadata +34 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ad32385bd72202625243bd53a0bb8016939ccc38
4
- data.tar.gz: a96bedc8fa2604cf562ce2daa376ceaf929414c4
2
+ SHA256:
3
+ metadata.gz: 7a43cf69af6fd33a71ff2dea48bdfee1bb24f92983677044247e934bb90e4d58
4
+ data.tar.gz: a8c48c5c8f60f3d796f37f3835af865e98ac0501c869cf71b6fdbb353c8a7ef7
5
5
  SHA512:
6
- metadata.gz: da221cb043bf8a6639497a913e219328e4c68abc53fc73cd76b1e80b0483a07dbecc11c5a36bb8bb2cccd5cbc5c6407c3fc3161e81a12651c46f2e6b9270aa74
7
- data.tar.gz: 31182596ce8e65269a7ac3d64ca510d7430874208de1c81e94fce4db8722f30f52dcc0fabfe9792ee70194ab6ea2d7bea49cd739f68424be74fc5543d9eaa169
6
+ metadata.gz: d4b94023494b6c744a5f66d302f1600984124b246e09d1243b1ed6d65329641659e354934439e1f81534f276bba15253a96b4332d2e736100c7e3bafe97ed89b
7
+ data.tar.gz: 50efc569d726263b419439dcfdc83f9a64903c56e57786a1b5205880d257ee6cfa4cb79aed1523465999a2348e394fe00e52041db7fb054943f76e35a2f504f1
data/AUTHORS.md ADDED
@@ -0,0 +1,21 @@
1
+ # Pantheios.Ruby - Authors <!-- omit in toc -->
2
+
3
+
4
+ ## Major Contributors
5
+
6
+ | Name | GitHub |
7
+ | ----------- | --------------------------------- |
8
+ | Matt Wilson | [mwsis](https://github.com/mwsis) |
9
+
10
+
11
+ ## Defect reports, fixes and suggestions (for which we are very grateful)
12
+
13
+ | Name | GitHub |
14
+ | ----------- | --------------------------------- |
15
+ | \<none> | |
16
+
17
+
18
+ Contributions are welcomed.
19
+
20
+
21
+ <!-- ########################### end of file ########################### -->
data/CHANGES.md ADDED
@@ -0,0 +1,311 @@
1
+ # Pantheios.Ruby - Changes <!-- omit in toc -->
2
+
3
+
4
+ ## 0.22.2 - 27th August 2026
5
+
6
+ * renamed **Pantheios.Ruby.gemspec** to **pantheios-ruby.gemspec** so the filename stem matches `spec.name`;
7
+ * **pantheios-ruby.gemspec**: `spec.summary` matches the README tagline; packaged **AUTHORS**, **CHANGES**, **CONTRIBUTING**, **EXAMPLES**, **FAQ**, **INSTALL**, **NEWS**, **SECURITY**, **TODO**; **Gemfile.lock** and **.ruby-version** excluded from `spec.files`;
8
+ * **Gemfile** sets `lockfile false` when Bundler supports it; stop tracking **Gemfile.lock**;
9
+ * CI uses `bundler-cache: false` and explicit `bundle install`; **Warnings** job on Ruby **3.4**; `gem build pantheios-ruby.gemspec`;
10
+ * updated **run_all_unit_tests.sh** (from https://github.com/synesissoftware/misc-dev-scripts) to skip **tput** when **$TERM** is unset or stdout is not a TTY;
11
+ * **README.md**: dropped GitHub-release badge; Dependencies (Efferent / Afferent); related-project list trailing `;`;
12
+ * **EXAMPLES.md** example links are repo-relative (`./examples/…`);
13
+ * library source **Home:** URLs now use `https`;
14
+ * **StockSeverityLevels** attaches `:severity` to a `dup` of each stock level string so frozen string literals still work on Ruby **3.4**;
15
+ * **Gemfile** pulls in **logger** when `RUBY_VERSION >= '4'` (no longer a default gem; the **logger** gem requires Ruby **>= 2.5**, so it is not declared in **pantheios-ruby.gemspec**);
16
+
17
+
18
+ ## 0.22.1 - 15th August 2026
19
+
20
+ * added `# frozen_string_literal: true` to all **lib/** sources;
21
+ * modernised gemspec (**metadata** URIs, HTTPS homepage);
22
+ * added Synesis documentation scaffolding (**AUTHORS.md**, **CHANGES.md**, **EXAMPLES.md**, **FAQ.md**, **NEWS.md**, **README.md**, **TODO.md**);
23
+ * added **Rakefile**;
24
+
25
+
26
+ ## 0.22.0.2 - 5th June 2020
27
+
28
+ * added **examples/threshold_front_end.rb**;
29
+
30
+
31
+ ## 0.22.0.1 - 4th June 2020
32
+
33
+ * tidied up the documentation markup;
34
+
35
+
36
+ ## 0.22.0 - 4th June 2020
37
+
38
+ * added `Pantheios::Services::ColouredConsoleLogService` (UNIX bash colours; fixed palette for now);
39
+ * added `Pantheios::API#prefix_parts` method, which assembles the prefix parts into an array;
40
+ * changed core to work in terms of a back-end's `requires_prefix?` method, which may return `false` (no prefix), `true` (prefix-string), or `:parts` (prefix parts array);
41
+ * adds the `severity` attribute to each string in the `Pantheios::ApplicationLayer::StockSeverityLevels::STOCK_SEVERITY_LEVEL_STRINGS` array;
42
+ * fixed defect in core's `set_back_end`;
43
+ * added **examples/coloured_console_log_service.rb**;
44
+
45
+
46
+ ## 0.21.0 - 3rd June 2020
47
+
48
+ * added `Pantheios::FrontEnds::ThresholdFrontEnd`, which provides severity filtering based on a threshold;
49
+ * added `Pantheios::ApplicationLayer::StockSeverityLevels::STOCK_SEVERITY_LEVELS_RELATIVE`, which is a map containing only those levels that are relative, i.e. may participate meaningfully in a threshold-based filtering;
50
+ * added `Pantheios::ApplicationLayer::StockSeverityLevels::STOCK_SEVERITY_LEVEL_ALIASES`, which is a map that provides lookup of all recognised severity levels and aliases to the canonical severity level symbol;
51
+ * added `:debug5` severity level;
52
+ * now dependent on **xqsr3** v0.36+ (development-only);
53
+
54
+
55
+ ## 0.20.3.2 - 3rd June 2020
56
+
57
+ * more-complete tests for stock severity levels;
58
+ * minor documentation improvements;
59
+
60
+
61
+ ## 0.20.3.1 - 5th June 2019
62
+
63
+ * added example/simple_logging(.rb);
64
+
65
+
66
+ ## 0.20.3 - 5th June 2019
67
+
68
+ * fix to trace() implementation;
69
+
70
+
71
+ ## 0.20.2.1 - 19th October 2018
72
+
73
+ * dependencies;
74
+
75
+
76
+ ## 0.20.2 - 11th April 2019
77
+
78
+ * merge (=> 0.18.2);
79
+
80
+
81
+ ## 0.20.1 - 13th July 2018
82
+
83
+ * run_all_unit_tests(.sh) : ~ improving variable names (to avoid clashes);
84
+
85
+
86
+ ## 0.19.2 - 8th February 2018
87
+
88
+ * Pantheios::Services::MultiplexingLogService : ~ fixed multiplexing output defect;
89
+
90
+
91
+ ## 0.19.1 - 8th February 2018
92
+
93
+ * added Pantheios::Services::MultiplexingLogService class;
94
+
95
+
96
+ ## 0.18.1 - 5th February 2018
97
+
98
+ * added Pantheios::Globals::MAIN_THREAD_NAME;
99
+
100
+
101
+ ## 0.17.1 - 5th February 2018
102
+
103
+ * added Pantheios::Globals.PROCESS_NAME;
104
+
105
+
106
+ ## 0.16.1 - 4th February 2018
107
+
108
+ * fix;
109
+
110
+
111
+ ## 0.15.1 - 4th February 2018
112
+
113
+ * added more tests of postfix severity_logged? performance;
114
+
115
+
116
+ ## 0.14.1 - 27th January 2018
117
+
118
+ * added ReflectionUtil and improved policing of specific service instance;
119
+
120
+
121
+ ## 0.13.4 - 27th January 2018
122
+
123
+ * fixed defect;
124
+
125
+
126
+ ## 0.13.2 - 27th January 2018
127
+
128
+ * tidying;
129
+
130
+
131
+ ## 0.13.1 - 23rd January 2018
132
+
133
+ * added StandardLogServiceAdapter class, which provides instance adaptation of Ruby's ::Logger;
134
+
135
+
136
+ ## 0.12.2 - 23rd January 2018
137
+
138
+ * documentation;
139
+
140
+
141
+ ## 0.12.1 - 22nd January 2018
142
+
143
+ * added block support; + added SYNCHRONISED_SEVERITY_LOGGED global; ~ refactoring for improved performance;
144
+
145
+
146
+ ## 0.11.2 - 8th January 2018
147
+
148
+ * SimpleConsoleLogService : ~ corrected handling of symbol as severity;
149
+
150
+
151
+ ## 0.11.1 - 6th January 2018
152
+
153
+ * renamed SimpleConsoleService => SimpleConsoleLogService; + added NullLogService class; + added log service class tests;
154
+
155
+
156
+ ## 0.10.1 - 6th January 2018
157
+
158
+ * added :benchmark severity level;
159
+
160
+
161
+ ## 0.9.4 - 6th January 2018
162
+
163
+ * added unit-tests for stock severity levels;
164
+
165
+
166
+ ## 0.9.3 - 6th January 2018
167
+
168
+ * tagged release;
169
+
170
+
171
+ ## 0.9.2 - 2nd January 2018
172
+
173
+ * prefix now in [ ];
174
+
175
+
176
+ ## 0.9.1 - 24th December 2017
177
+
178
+ * fixing;
179
+
180
+
181
+ ## 0.8.2 - 24th December 2017
182
+
183
+ * tag;
184
+
185
+
186
+ ## 0.8.1 - 24th December 2017
187
+
188
+ * tag;
189
+
190
+
191
+ ## 0.8.0 - 23rd December 2017
192
+
193
+ * starting to break out impl. into Pantheios::Core;
194
+
195
+
196
+ ## 0.7.4 - 1st March 2018
197
+
198
+ * updated dependencies;
199
+
200
+
201
+ ## 0.7.3 - 5th February 2018
202
+
203
+ * LibCLImate::Climate::set_program_name(), which uses Colcon if available;
204
+
205
+
206
+ ## 0.7.2 - 3rd January 2018
207
+
208
+ * merge version update;
209
+
210
+
211
+ ## 0.7.1 - 22nd December 2017
212
+
213
+ * Api into Pantheios::Api; nested inclusion when 'include ::Pantheios'; Core.register_include();
214
+
215
+
216
+ ## 0.6.5 - 1st January 2018
217
+
218
+ * preparatory mods;
219
+
220
+
221
+ ## 0.6.4 - 1st January 2018
222
+
223
+ * fixed the version inference;
224
+
225
+
226
+ ## 0.6.3 - 22nd June 2017
227
+
228
+ * tagged release;
229
+
230
+
231
+ ## 0.6.2 - 15th December 2017
232
+
233
+ * tagged release;
234
+
235
+
236
+ ## 0.6.1 - 16th March 2017
237
+
238
+ * added inference of version;
239
+
240
+
241
+ ## 0.5.8 - 17th October 2016
242
+
243
+ * tidying up contract enforcements;
244
+
245
+
246
+ ## 0.5.7 - 17th October 2016
247
+
248
+ * simplified unit test;
249
+
250
+
251
+ ## 0.5.6 - 17th October 2016
252
+
253
+ * updated documentation;
254
+
255
+
256
+ ## 0.5.5 - 26th June 2016
257
+
258
+ * changed hash-bangs;
259
+
260
+
261
+ ## 0.5.4 - 18th June 2016
262
+
263
+ * fixed lacking blocks in new add_*() methods;
264
+
265
+
266
+ ## 0.5.3 - 17th June 2016
267
+
268
+ * fix;
269
+
270
+
271
+ ## 0.4.1 - 14th June 2016
272
+
273
+ * tidying;
274
+
275
+
276
+ ## 0.3.1 - 13th June 2016
277
+
278
+ * merge;
279
+
280
+
281
+ ## 0.2.4 - 13th June 2016
282
+
283
+ * 0.2.4 changes;
284
+
285
+
286
+ ## 0.2.3 - 12th June 2016
287
+
288
+ * fixed extras handling for flags;
289
+
290
+
291
+ ## 0.2.2 - 11th June 2016
292
+
293
+ * merge;
294
+
295
+
296
+ ## 0.2.1 - 6th June 2016
297
+
298
+ * specified ranges for dependent libraries;
299
+
300
+
301
+ ## 0.1.2 - 14th May 2016
302
+
303
+ * added Climate class, and basics of API;
304
+
305
+
306
+ ## 0.1.1 - 14th July 2015
307
+
308
+ * added basic skeleton (0.1.1);
309
+
310
+
311
+ <!-- ########################### end of file ########################### -->
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,36 @@
1
+ # Pantheios.Ruby - Contributing <!-- omit in toc -->
2
+
3
+
4
+ ## Table of Contents <!-- omit in toc -->
5
+
6
+ - [Defects and features](#defects-and-features)
7
+ - [Pull requests](#pull-requests)
8
+ - [Tests](#tests)
9
+ - [License](#license)
10
+
11
+
12
+ ## Defects and features
13
+
14
+ Open an issue on https://github.com/synesissoftware/Pantheios.Ruby/issues.
15
+
16
+
17
+ ## Pull requests
18
+
19
+ Pull requests are welcome on https://github.com/synesissoftware/Pantheios.Ruby. Keep diffs local to the change; match existing indentation (2 spaces in Ruby) and the Synesis markdown set (**README.md**, **CHANGES.md**, **NEWS.md**, **TODO.md**, **INSTALL.md**, **CONTRIBUTING.md**, **SECURITY.md**).
20
+
21
+
22
+ ## Tests
23
+
24
+ ```
25
+ bundle exec rake test
26
+ ```
27
+
28
+ or `./run_all_unit_tests.sh`.
29
+
30
+
31
+ ## License
32
+
33
+ Contributions are accepted under the 3-clause BSD license. See [LICENSE](./LICENSE).
34
+
35
+
36
+ <!-- ########################### end of file ########################### -->
data/EXAMPLES.md ADDED
@@ -0,0 +1,11 @@
1
+ # Pantheios.Ruby - Examples <!-- omit in toc -->
2
+
3
+ |Name|Source & Description|Summary|
4
+ |---|---|---|
5
+ |**coloured_console_log_service**|[examples/coloured_console_log_service.rb](./examples/coloured_console_log_service.rb)|Logs stock severity levels via **ColouredConsoleLogService**|
6
+ |**multiple_modules**|[examples/multiple_modules.rb](./examples/multiple_modules.rb)<br/>[examples/multiple_modules.md](./examples/multiple_modules.md)|Applies **Pantheios** across multiple modules|
7
+ |**simple_logging**|[examples/simple_logging.rb](./examples/simple_logging.rb)<br/>[examples/simple_logging.md](./examples/simple_logging.md)|Very simple example illustrating the various stock levels|
8
+ |**threshold_front_end**|[examples/threshold_front_end.rb](./examples/threshold_front_end.rb)|Severity filtering with **ThresholdFrontEnd** and coloured console|
9
+
10
+
11
+ <!-- ########################### end of file ########################### -->
data/FAQ.md ADDED
@@ -0,0 +1,28 @@
1
+ # Pantheios.Ruby - FAQ <!-- omit in toc -->
2
+
3
+ The FAQ list is under (constant) development. If you post a question on the
4
+ [Issues](https://github.com/synesissoftware/Pantheios.Ruby/issues) forum
5
+ it will be used to create one.
6
+
7
+
8
+ ## Table of Contents <!-- omit in toc -->
9
+
10
+ - [Q1: "How do I install this library?"](#q1-how-do-i-install-this-library)
11
+
12
+
13
+ # FAQs: <!-- omit in toc -->
14
+
15
+
16
+ ## Q1: "How do I install this library?"
17
+
18
+ Install via **gem**:
19
+
20
+ ```
21
+ gem install pantheios-ruby
22
+ ```
23
+
24
+ See [README.md](./README.md) for usage.
25
+
26
+
27
+
28
+ <!-- ########################### end of file ########################### -->
data/INSTALL.md ADDED
@@ -0,0 +1,43 @@
1
+ # Pantheios.Ruby - Installation and Use <!-- omit in toc -->
2
+
3
+
4
+ ## Table of Contents <!-- omit in toc -->
5
+
6
+ - [Install the gem](#install-the-gem)
7
+ - [From a source checkout](#from-a-source-checkout)
8
+ - [Using the library](#using-the-library)
9
+
10
+
11
+ ## Install the gem
12
+
13
+ ```
14
+ gem install pantheios-ruby
15
+ ```
16
+
17
+ or add to a **Gemfile**:
18
+
19
+ ```Ruby
20
+ gem 'pantheios-ruby'
21
+ ```
22
+
23
+ then `bundle install`.
24
+
25
+ On **Ruby 4+**, also add `gem 'logger'` (or `gem install logger`): **logger** left the default-gem set and is required by the file and standard-adapter log services.
26
+
27
+
28
+ ## From a source checkout
29
+
30
+ ```
31
+ bundle install
32
+ bundle exec rake test
33
+ ```
34
+
35
+
36
+ ## Using the library
37
+
38
+ ```Ruby
39
+ require 'pantheios'
40
+ ```
41
+
42
+
43
+ <!-- ########################### end of file ########################### -->
data/LICENSE CHANGED
@@ -1,31 +1,32 @@
1
- Pantheios.Ruby
1
+ Pantheios.Ruby - BSD 3-Clause License
2
2
 
3
+ Copyright (c) 2019-2026, Matthew Wilson and Synesis Information Systems
3
4
  Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
4
5
  All rights reserved.
5
6
 
6
7
  Redistribution and use in source and binary forms, with or without
7
8
  modification, are permitted provided that the following conditions are met:
8
9
 
9
- * Redistributions of source code must retain the above copyright notice, this
10
- list of conditions and the following disclaimer.
10
+ 1. Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
11
12
 
12
- * Redistributions in binary form must reproduce the above copyright notice,
13
- this list of conditions and the following disclaimer in the documentation
14
- and/or other materials provided with the distribution.
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
15
16
 
16
- * Neither the names of Pantheios or Pantheios.Ruby nor the names of the
17
- copyright holder nor the names of its contributors may be used to endorse
18
- or promote products derived from this software without specific prior written
19
- permission.
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
20
 
21
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31
+ POSSIBILITY OF SUCH DAMAGE.
31
32
 
data/NEWS.md ADDED
@@ -0,0 +1,64 @@
1
+ # Pantheios.Ruby - News <!-- omit in toc -->
2
+
3
+ | Date | News Item |
4
+ | ------------------ | ----------------------------------------------------------------------------------------------- |
5
+ | 27th August 2026 | [**Pantheios.Ruby** 0.22.2](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.2) |
6
+ | 15th August 2026 | [**Pantheios.Ruby** 0.22.1](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.1) |
7
+ | 5th June 2020 | [**Pantheios.Ruby** 0.22.0.2](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.0.2) |
8
+ | 4th June 2020 | Pantheios.Ruby 0.22.0.1 released |
9
+ | 4th June 2020 | Pantheios.Ruby 0.22.0 released |
10
+ | 3rd June 2020 | Pantheios.Ruby 0.21.0 released |
11
+ | 3rd June 2020 | Pantheios.Ruby 0.20.3.2 released |
12
+ | 5th June 2019 | **Pantheios.Ruby** 0.20.3.1 released |
13
+ | 5th June 2019 | **Pantheios.Ruby** 0.20.3 released |
14
+ | 11th April 2019 | **Pantheios.Ruby** 0.20.2 released |
15
+ | 19th October 2018 | **Pantheios.Ruby** 0.20.2.1 released |
16
+ | 13th July 2018 | **Pantheios.Ruby** 0.20.1 released |
17
+ | 1st March 2018 | **Pantheios.Ruby** 0.7.4 released |
18
+ | 8th February 2018 | **Pantheios.Ruby** 0.19.2 released |
19
+ | 8th February 2018 | **Pantheios.Ruby** 0.19.1 released |
20
+ | 5th February 2018 | **Pantheios.Ruby** 0.18.1 released |
21
+ | 5th February 2018 | **Pantheios.Ruby** 0.17.1 released |
22
+ | 5th February 2018 | **Pantheios.Ruby** 0.7.3 released |
23
+ | 4th February 2018 | **Pantheios.Ruby** 0.16.1 released |
24
+ | 4th February 2018 | **Pantheios.Ruby** 0.15.1 released |
25
+ | 27th January 2018 | **Pantheios.Ruby** 0.14.1 released |
26
+ | 27th January 2018 | **Pantheios.Ruby** 0.13.4 released |
27
+ | 27th January 2018 | **Pantheios.Ruby** 0.13.2 released |
28
+ | 23rd January 2018 | **Pantheios.Ruby** 0.13.1 released |
29
+ | 23rd January 2018 | **Pantheios.Ruby** 0.12.2 released |
30
+ | 22nd January 2018 | **Pantheios.Ruby** 0.12.1 released |
31
+ | 8th January 2018 | **Pantheios.Ruby** 0.11.2 released |
32
+ | 6th January 2018 | **Pantheios.Ruby** 0.11.1 released |
33
+ | 6th January 2018 | **Pantheios.Ruby** 0.10.1 released |
34
+ | 6th January 2018 | **Pantheios.Ruby** 0.9.4 released |
35
+ | 6th January 2018 | **Pantheios.Ruby** 0.9.3 released |
36
+ | 3rd January 2018 | **Pantheios.Ruby** 0.7.2 released |
37
+ | 2nd January 2018 | **Pantheios.Ruby** 0.9.2 released |
38
+ | 1st January 2018 | **Pantheios.Ruby** 0.6.5 released |
39
+ | 1st January 2018 | **Pantheios.Ruby** 0.6.4 released |
40
+ | 24th December 2017 | **Pantheios.Ruby** 0.9.1 released |
41
+ | 24th December 2017 | **Pantheios.Ruby** 0.8.2 released |
42
+ | 24th December 2017 | **Pantheios.Ruby** 0.8.1 released |
43
+ | 23rd December 2017 | **Pantheios.Ruby** 0.8.0 released |
44
+ | 22nd December 2017 | **Pantheios.Ruby** 0.7.1 released |
45
+ | 15th December 2017 | **Pantheios.Ruby** 0.6.2 released |
46
+ | 22nd June 2017 | **Pantheios.Ruby** 0.6.3 released |
47
+ | 16th March 2017 | **Pantheios.Ruby** 0.6.1 released |
48
+ | 17th October 2016 | **Pantheios.Ruby** 0.5.8 released |
49
+ | 17th October 2016 | **Pantheios.Ruby** 0.5.7 released |
50
+ | 17th October 2016 | **Pantheios.Ruby** 0.5.6 released |
51
+ | 26th June 2016 | **Pantheios.Ruby** 0.5.5 released |
52
+ | 18th June 2016 | **Pantheios.Ruby** 0.5.4 released |
53
+ | 17th June 2016 | **Pantheios.Ruby** 0.5.3 released |
54
+ | 14th June 2016 | **Pantheios.Ruby** 0.4.1 released |
55
+ | 13th June 2016 | **Pantheios.Ruby** 0.3.1 released |
56
+ | 13th June 2016 | **Pantheios.Ruby** 0.2.4 released |
57
+ | 12th June 2016 | **Pantheios.Ruby** 0.2.3 released |
58
+ | 11th June 2016 | **Pantheios.Ruby** 0.2.2 released |
59
+ | 6th June 2016 | **Pantheios.Ruby** 0.2.1 released |
60
+ | 14th May 2016 | **Pantheios.Ruby** 0.1.2 released |
61
+ | 14th July 2015 | **Pantheios.Ruby** 0.1.1 released |
62
+
63
+
64
+ <!-- ########################### end of file ########################### -->
data/README.md CHANGED
@@ -1,5 +1,137 @@
1
- # **Pantheios.Ruby**
1
+ # Pantheios.Ruby <!-- omit in toc -->
2
+
2
3
  Pantheios, for Ruby
3
4
 
4
- T.B.C.
5
+ ![Language](https://img.shields.io/badge/Ruby-CC342D?style=flat&logo=ruby&logoColor=white)
6
+ [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
7
+ [![Gem Version](https://badge.fury.io/rb/pantheios-ruby.svg)](https://badge.fury.io/rb/pantheios-ruby)
8
+ [![Last Commit](https://img.shields.io/github/last-commit/synesissoftware/Pantheios.Ruby)](https://github.com/synesissoftware/Pantheios.Ruby/commits/master)
9
+ [![Ruby](https://github.com/synesissoftware/Pantheios.Ruby/actions/workflows/ruby.yml/badge.svg)](https://github.com/synesissoftware/Pantheios.Ruby/actions/workflows/ruby.yml)
10
+
11
+
12
+ ## Table of Contents <!-- omit in toc -->
13
+
14
+ - [Introduction](#introduction)
15
+ - [Installation](#installation)
16
+ - [Components](#components)
17
+ - [Examples](#examples)
18
+ - [Project Information](#project-information)
19
+ - [Where to get help](#where-to-get-help)
20
+ - [Contribution guidelines](#contribution-guidelines)
21
+ - [Dependencies](#dependencies)
22
+ - [Efferent (fan-out)](#efferent-fan-out)
23
+ - [Runtime Dependencies (aka "Normal Dependencies")](#runtime-dependencies-aka-normal-dependencies)
24
+ - [Development Dependencies](#development-dependencies)
25
+ - [Afferent (fan-in)](#afferent-fan-in)
26
+ - [Runtime dependents](#runtime-dependents)
27
+ - [Development dependents](#development-dependents)
28
+ - [Related projects](#related-projects)
29
+ - [License](#license)
30
+
31
+
32
+ ## Introduction
33
+
34
+ **Pantheios** is a diagnostic logging API library, originally implemented for C/C++ and later for .NET. **Pantheios.Ruby** is the **Ruby** implementation.
35
+
36
+ It provides a layered logging model: application-facing severity levels and API helpers, optional front-ends (for example threshold filtering), and pluggable back-end log services (console, coloured console, file, null, multiplexing, and adapters).
37
+
38
+
39
+ ## Installation
40
+
41
+ Install via **gem** as in:
42
+
43
+ ```
44
+ gem install pantheios-ruby
45
+ ```
46
+
47
+ or add it to your `Gemfile`.
48
+
49
+ **Pantheios.Ruby** requires Ruby **2.0+**.
50
+
51
+ > **NOTE**: On **Ruby 4+**, also install [**logger**](https://rubygems.org/gems/logger) (`gem install logger`, or `gem 'logger'` in your Gemfile). See [Runtime Dependencies](#runtime-dependencies-aka-normal-dependencies).
52
+
53
+ Use via **require**, as in:
54
+
55
+ ```Ruby
56
+ require 'pantheios'
57
+ ```
58
+
59
+
60
+ ## Components
61
+
62
+ * **Pantheios::API** — primary logging API surface;
63
+ * **Pantheios::ApplicationLayer** — stock severity levels and related application helpers;
64
+ * **Pantheios::Core** — core registration and back-end wiring;
65
+ * **Pantheios::FrontEnds** — front-ends such as **ThresholdFrontEnd**;
66
+ * **Pantheios::Services** — back-end log services (console, coloured console, file, null, multiplexing, adapters);
67
+ * **Pantheios::Util** — process, reflection, thread, and version utilities;
68
+
69
+
70
+ ## Examples
71
+
72
+ Examples are provided in the ```examples``` directory, along with a markdown description where present. A detailed list TOC of them is provided in [EXAMPLES.md](./EXAMPLES.md).
73
+
74
+
75
+ ## Project Information
76
+
77
+
78
+ ### Where to get help
79
+
80
+ [GitHub Page](https://github.com/synesissoftware/Pantheios.Ruby "GitHub Page")
81
+
82
+
83
+ ### Contribution guidelines
84
+
85
+ Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/Pantheios.Ruby.
86
+
87
+
88
+ ### Dependencies
89
+
90
+
91
+ #### Efferent (fan-out)
92
+
93
+ Libraries upon which **Pantheios.Ruby** depends:
94
+
95
+
96
+ ##### Runtime Dependencies (aka "Normal Dependencies")
97
+
98
+ * \<none> declared in **pantheios-ruby.gemspec**;
99
+
100
+ > **NOTE**: On **Ruby 4+**, **logger** is required at runtime (`lib/pantheios/services/simple_file_log_service.rb`, `lib/pantheios/services/standard_log_service_adapter.rb`) but is no longer a default gem and is not listed in **pantheios-ruby.gemspec** (so older Rubies in the `[2.0, 4)` range still resolve). Install it explicitly, e.g. `gem install logger`, or add `gem 'logger'` to your Gemfile. This repository’s **Gemfile** pulls it in when `RUBY_VERSION >= '4'`.
101
+
102
+
103
+ ##### Development Dependencies
104
+
105
+ * [**rake**](https://rubygems.org/gems/rake);
106
+ * [**test-unit**](https://rubygems.org/gems/test-unit);
107
+ * [**xqsr3**](https://github.com/synesissoftware/xqsr3);
108
+
109
+
110
+ #### Afferent (fan-in)
111
+
112
+ Projects that depend on **Pantheios.Ruby**:
113
+
114
+
115
+ ##### Runtime dependents
116
+
117
+ * \<none>;
118
+
119
+
120
+ ##### Development dependents
121
+
122
+ * \<none>;
123
+
124
+
125
+ ### Related projects
126
+
127
+ * [**Pantheios**](https://github.com/synesissoftware/Pantheios/) (**C**/**C++**);
128
+ * [**Pantheios.NET**](https://github.com/synesissoftware/Pantheios.NET/);
129
+ * [**Pantheios.Rust**](https://github.com/synesissoftware/Pantheios.Rust/);
130
+
131
+
132
+ ### License
133
+
134
+ **Pantheios.Ruby** is released under the 3-clause BSD license. See [LICENSE](./LICENSE) for details.
135
+
5
136
 
137
+ <!-- ########################### end of file ########################### -->
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Rakefile for Pantheios.Ruby
4
+
5
+ require 'rake/testtask'
6
+
7
+
8
+ Rake::TestTask.new do |tt|
9
+
10
+ tt.libs << 'lib'
11
+ tt.libs << 'test'
12
+ tt.name = 'test'
13
+ tt.test_files = FileList['test/**/tc_*.rb']
14
+ tt.verbose = true
15
+ end
16
+
17
+
18
+ task :default => :test
19
+
20
+
21
+ # ############################## end of file ############################# #
data/SECURITY.md ADDED
@@ -0,0 +1,23 @@
1
+ # Pantheios.Ruby - Security <!-- omit in toc -->
2
+
3
+
4
+ ## Table of Contents <!-- omit in toc -->
5
+
6
+ - [Reporting a vulnerability](#reporting-a-vulnerability)
7
+ - [Supported versions](#supported-versions)
8
+
9
+
10
+ ## Reporting a vulnerability
11
+
12
+ Please report security issues privately via GitHub Security Advisories on https://github.com/synesissoftware/Pantheios.Ruby/security, or by opening an issue if an advisory cannot be filed. Do not attach exploit proofs of concept against third-party systems.
13
+
14
+
15
+ ## Supported versions
16
+
17
+ | Version | Supported |
18
+ | ------- | --------- |
19
+ | 0.22.x | ✅ |
20
+ | < 0.22 | ❌ |
21
+
22
+
23
+ <!-- ########################### end of file ########################### -->
data/TODO.md ADDED
@@ -0,0 +1,26 @@
1
+ # Pantheios.Ruby - TODO <!-- omit in toc -->
2
+
3
+
4
+ ## Functional improvements
5
+
6
+ * [ ] quiet unused-variable warnings in **simple_file_log_service.rb** (`logger_init_options`) and **standard_log_service_adapter.rb** (`sym`);
7
+ * [ ] quiet **Warnings** job noise in tests: unused `pid` in **tc_standard_log_service_adapter.rb**; ambiguous `/` in **tc_simple_file_log_service.rb** and **tc_standard_log_service_adapter.rb**;
8
+
9
+
10
+ ## Performance improvements
11
+
12
+ * \<none>
13
+
14
+
15
+ ## Packaging improvements
16
+
17
+ * [ ] catalogue known afferent dependents in **README.md** when any are identified;
18
+ * [x] ~~~handle Ruby **4** stdlib **logger** no longer being a default gem (**Gemfile** when `RUBY_VERSION >= '4'`; not in the gemspec because the **logger** gem requires Ruby **>= 2.5**)~~~;
19
+ * [x] ~~~rename gemspec so the filename stem matches `spec.name` (`Pantheios.Ruby.gemspec` → **pantheios-ruby.gemspec**)~~~;
20
+ * [x] ~~~obtain a **run_all_unit_tests.sh** (from **misc-dev-scripts**) that skips `tput` when `$TERM` is unset or stdout is not a TTY (CI: `tput: No value for $TERM and no -T specified`)~~~;
21
+ * [x] ~~~gemspec polish: README tagline as `spec.summary`, package docs, exclude **Gemfile.lock** / **.ruby-version**~~~;
22
+ * [x] ~~~stop tracking **Gemfile.lock**; **Gemfile** `lockfile false` when Bundler supports it; CI `bundler-cache: false`~~~;
23
+ * [x] ~~~after the packaging/boilerplate/CI baseline: bump **VERSION** and align **CHANGES**/**NEWS**~~~;
24
+
25
+
26
+ <!-- ########################### end of file ########################### -->
@@ -1,4 +1,4 @@
1
- # Pantheios.Ruby Example - **multiple_modules**
1
+ # Pantheios.Ruby - Example - **multiple_modules**
2
2
 
3
3
  ## Summary
4
4
 
@@ -1,4 +1,4 @@
1
- # Pantheios.Ruby Example - **simple_logging**
1
+ # Pantheios.Ruby - Example - **simple_logging**
2
2
 
3
3
  ## Summary
4
4
 
@@ -0,0 +1,48 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ $:.unshift File.join(File.dirname(__FILE__), *(['..'] * 1), 'lib')
4
+
5
+ # requires (0)
6
+
7
+ require 'pantheios/globals'
8
+ require 'pantheios/front_ends/threshold_front_end'
9
+ require 'pantheios/services/coloured_console_log_service'
10
+
11
+ # globals
12
+
13
+ Pantheios::Globals.INITIAL_SERVICE_CLASSES = [ Pantheios::Services::ColouredConsoleLogService ]
14
+ Pantheios::Globals.MAIN_THREAD_NAME = [ Thread.current, 'main' ]
15
+ Pantheios::Globals.PROCESS_NAME = :script_stem
16
+
17
+ # requires (1)
18
+
19
+ require 'pantheios'
20
+
21
+ # includes
22
+
23
+ include ::Pantheios
24
+
25
+ # constants
26
+
27
+ LEVELS = %i{ violation alert critical failure warning notice informational debug0 debug1 debug2 debug3 debug4 debug5 trace }
28
+
29
+ # command-line
30
+
31
+ abort "USAGE: #$0 <threshold>" unless 1 == ARGV.size
32
+
33
+ threshold = ARGV[0].to_sym
34
+
35
+ puts "threshold: :#{threshold}"
36
+
37
+ Pantheios::Core.set_front_end Pantheios::FrontEnds::ThresholdFrontEnd.new threshold
38
+
39
+ # main
40
+
41
+ LEVELS.each do |level|
42
+
43
+ log(level, "logging level #{level}")
44
+ end
45
+
46
+ # ############################## end of file ############################# #
47
+
48
+
data/lib/pantheios/api.rb CHANGED
@@ -1,13 +1,13 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/api.rb
4
4
  #
5
5
  # Purpose: The Pantheios.Ruby API (::Pantheios::API)
6
6
  #
7
7
  # Created: 2nd April 2011
8
- # Updated: 4th June 2020
8
+ # Updated: 15th August 2026
9
9
  #
10
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
10
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
11
11
  #
12
12
  # Author: Matthew Wilson
13
13
  #
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module ApplicationLayer
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/application_layer/stock_severity_levels.rb
4
4
  #
@@ -7,9 +7,9 @@
7
7
  # namespace module
8
8
  #
9
9
  # Created: 2nd April 2011
10
- # Updated: 4th June 2020
10
+ # Updated: 15th August 2026
11
11
  #
12
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
12
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
13
13
  #
14
14
  # Author: Matthew Wilson
15
15
  #
@@ -124,11 +124,10 @@ module StockSeverityLevels
124
124
  warn 'invalid start-up' unless ::Symbol === sev
125
125
  warn 'invalid start-up' unless ::Array === ar
126
126
 
127
- ([sev] + (ar[3] || [])).each do |al|
128
-
129
- s = ar[1]
127
+ s = ar[1].dup
128
+ s.define_singleton_method(:severity) { sev }
130
129
 
131
- s.define_singleton_method(:severity) { sev }
130
+ ([sev] + (ar[3] || [])).each do |al|
132
131
 
133
132
  r[al] = s
134
133
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  require 'pantheios/application_layer/param_name_list'
3
4
  require 'pantheios/application_layer/stock_severity_levels'
@@ -1,13 +1,13 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/core.rb
4
4
  #
5
5
  # Purpose: The Pantheios.Ruby core (::Pantheios::Core)
6
6
  #
7
7
  # Created: 2nd April 2011
8
- # Updated: 4th June 2020
8
+ # Updated: 15th August 2026
9
9
  #
10
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
10
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
11
11
  #
12
12
  # Author: Matthew Wilson
13
13
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/front_ends/threshold_front_end.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # class
7
7
  #
8
8
  # Created: 3rd June 2020
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,13 +1,13 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/globals.rb
4
4
  #
5
5
  # Purpose: The Pantheios.Ruby "globals" (::Pantheios::Globals)
6
6
  #
7
7
  # Created: 24th December 2017
8
- # Updated: 3rd June 2020
8
+ # Updated: 15th August 2026
9
9
  #
10
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
10
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
11
11
  #
12
12
  # Author: Matthew Wilson
13
13
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/coloured_console_log_service.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # ::Pantheios::Services::ColouredConsoleLogService class
7
7
  #
8
8
  # Created: 19th June 2019
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module Services
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/multiplexing_log_service.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # ::Pantheios::Services::MultiplexingLogService class
7
7
  #
8
8
  # Created: 14th June 2015
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/null_log_service.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # class
7
7
  #
8
8
  # Created: 14th June 2015
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/simple_console_log_service.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # ::Pantheios::Services::SimpleConsoleLogService class
7
7
  #
8
8
  # Created: 14th June 2015
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/simple_file_log_service.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # ::Pantheios::Services::SimpleFileLogService class
7
7
  #
8
8
  # Created: 17th June 2015
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
3
  # File: lib/pantheios/services/standard_log_service_adapter.rb
4
4
  #
@@ -6,9 +6,9 @@
6
6
  # ::Pantheios::Services::StandardLogServiceAdapter class
7
7
  #
8
8
  # Created: 18th June 2015
9
- # Updated: 4th June 2020
9
+ # Updated: 15th August 2026
10
10
  #
11
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
11
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
12
12
  #
13
13
  # Author: Matthew Wilson
14
14
  #
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  Dir[File.join(File.dirname(__FILE__), 'services', '*log_service.rb')].each { |f| require f }
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module Util
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module Util
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module Util
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  module Pantheios
3
4
  module Util
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  require 'pantheios/util/process_util'
3
4
  require 'pantheios/util/thread_util'
@@ -1,17 +1,17 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # ######################################################################## #
3
- # File: lib/pantheios/version.rb
3
+ # File: lib/pantheios/version.rb
4
4
  #
5
- # Purpose: Version for Pantheios.Ruby library
5
+ # Purpose: Version for Pantheios.Ruby library
6
6
  #
7
- # Created: 2nd April 2011
8
- # Updated: 4th June 2020
7
+ # Created: 2nd April 2011
8
+ # Updated: 27th August 2026
9
9
  #
10
- # Home: http://github.com/synesissoftware/Pantheios-Ruby
10
+ # Home: https://github.com/synesissoftware/Pantheios.Ruby
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
- # Copyright (c) 2019-2020, Matthew Wilson and Synesis Information Systems
14
+ # Copyright (c) 2019-2026, Matthew Wilson and Synesis Information Systems
15
15
  # Copyright (c) 2011-2019, Matthew Wilson and Synesis Software
16
16
  # All rights reserved.
17
17
  #
@@ -51,7 +51,7 @@
51
51
  module Pantheios
52
52
 
53
53
  # Current version of the Pantheios.Ruby library
54
- VERSION = '0.22.0.1'
54
+ VERSION = '0.22.2'
55
55
 
56
56
  private
57
57
  VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
data/lib/pantheios.rb CHANGED
@@ -1,4 +1,4 @@
1
-
1
+ # frozen_string_literal: true
2
2
  # The main module for Pantheios
3
3
  #
4
4
  # Pantheios is both a namespace module and an inclusion module. When
metadata CHANGED
@@ -1,44 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pantheios-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0.1
4
+ version: 0.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-04 00:00:00.000000000 Z
11
+ date: 2026-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xqsr3
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.36'
19
+ version: 0.39.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.39.5
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.36'
32
+ version: '1.0'
27
33
  description: 'A Ruby version of the popular C++ (and .NET) logging API library
28
34
 
29
35
  '
30
- email: matthew@synesis.com.au
36
+ email:
37
+ - matthew@synesis.com.au
31
38
  executables: []
32
39
  extensions: []
33
40
  extra_rdoc_files: []
34
41
  files:
42
+ - AUTHORS.md
43
+ - CHANGES.md
44
+ - CONTRIBUTING.md
45
+ - EXAMPLES.md
46
+ - FAQ.md
47
+ - INSTALL.md
35
48
  - LICENSE
49
+ - NEWS.md
36
50
  - README.md
51
+ - Rakefile
52
+ - SECURITY.md
53
+ - TODO.md
37
54
  - examples/coloured_console_log_service.rb
38
55
  - examples/multiple_modules.md
39
56
  - examples/multiple_modules.rb
40
57
  - examples/simple_logging.md
41
58
  - examples/simple_logging.rb
59
+ - examples/threshold_front_end.rb
42
60
  - lib/pantheios.rb
43
61
  - lib/pantheios/api.rb
44
62
  - lib/pantheios/application_layer.rb
@@ -87,10 +105,14 @@ files:
87
105
  - test/unit/util/tc_thread_util.rb
88
106
  - test/unit/util/tc_version_util.rb
89
107
  - test/unit/util/ts_all.rb
90
- homepage: http://github.com/synesissoftware/Pantheios.Ruby
108
+ homepage: https://github.com/synesissoftware/Pantheios.Ruby
91
109
  licenses:
92
110
  - BSD-3-Clause
93
- metadata: {}
111
+ metadata:
112
+ bug_tracker_uri: https://github.com/synesissoftware/Pantheios.Ruby/issues
113
+ changelog_uri: https://github.com/synesissoftware/Pantheios.Ruby/blob/master/CHANGES.md
114
+ homepage_uri: https://github.com/synesissoftware/Pantheios.Ruby
115
+ source_code_uri: https://github.com/synesissoftware/Pantheios.Ruby
94
116
  post_install_message:
95
117
  rdoc_options: []
96
118
  require_paths:
@@ -99,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
121
  requirements:
100
122
  - - ">="
101
123
  - !ruby/object:Gem::Version
102
- version: '2'
124
+ version: '2.0'
103
125
  required_rubygems_version: !ruby/object:Gem::Requirement
104
126
  requirements:
105
127
  - - ">="
@@ -107,8 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
129
  version: '0'
108
130
  requirements: []
109
131
  rubyforge_project:
110
- rubygems_version: 2.5.2.3
132
+ rubygems_version: 2.7.6.3
111
133
  signing_key:
112
134
  specification_version: 4
113
- summary: Pantheios.Ruby
135
+ summary: Pantheios, for Ruby
114
136
  test_files: []