pantheios-ruby 0.22.0.2 → 0.22.3
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.
- checksums.yaml +5 -5
- data/AUTHORS.md +21 -0
- data/CHANGES.md +337 -0
- data/CONTRIBUTING.md +36 -0
- data/EXAMPLES.md +11 -0
- data/FAQ.md +28 -0
- data/INSTALL.md +43 -0
- data/LICENSE +21 -20
- data/NEWS.md +65 -0
- data/README.md +134 -2
- data/Rakefile +21 -0
- data/SECURITY.md +23 -0
- data/TODO.md +29 -0
- data/examples/coloured_console_log_service.rb +1 -1
- data/examples/multiple_modules.md +1 -1
- data/examples/multiple_modules.rb +36 -36
- data/examples/simple_logging.md +1 -1
- data/examples/simple_logging.rb +1 -1
- data/examples/threshold_front_end.rb +1 -1
- data/lib/pantheios/api.rb +156 -155
- data/lib/pantheios/application_layer/param_name_list.rb +1 -0
- data/lib/pantheios/application_layer/stock_severity_levels.rb +110 -111
- data/lib/pantheios/application_layer.rb +6 -5
- data/lib/pantheios/core.rb +416 -415
- data/lib/pantheios/front_ends/threshold_front_end.rb +81 -81
- data/lib/pantheios/globals.rb +45 -45
- data/lib/pantheios/services/coloured_console_log_service.rb +96 -96
- data/lib/pantheios/services/common/console.rb +58 -57
- data/lib/pantheios/services/multiplexing_log_service.rb +151 -150
- data/lib/pantheios/services/null_log_service.rb +11 -11
- data/lib/pantheios/services/simple_console_log_service.rb +20 -20
- data/lib/pantheios/services/simple_file_log_service.rb +112 -113
- data/lib/pantheios/services/standard_log_service_adapter.rb +119 -119
- data/lib/pantheios/services.rb +1 -0
- data/lib/pantheios/util/process_util.rb +25 -24
- data/lib/pantheios/util/reflection_util.rb +14 -13
- data/lib/pantheios/util/thread_util.rb +50 -49
- data/lib/pantheios/util/version_util.rb +34 -33
- data/lib/pantheios/util.rb +1 -0
- data/lib/pantheios/version.rb +19 -19
- data/lib/pantheios.rb +12 -12
- data/test/performance/test_perf_simple_statements.rb +58 -58
- data/test/performance/test_perf_trace_variants.rb +43 -57
- data/test/scratch/log_rolling_by_period_daily.rb +3 -3
- data/test/scratch/log_rolling_by_size_and_depth.rb +3 -3
- data/test/scratch/log_using_blocks.rb +12 -12
- data/test/scratch/multiplexing_log_service.rb +32 -32
- data/test/unit/application_layer/tc_param_name_list.rb +13 -13
- data/test/unit/application_layer/tc_stock_severity_levels.rb +102 -102
- data/test/unit/core/tc_core_1.rb +24 -24
- data/test/unit/front_ends/tc_threshold_front_end.rb +65 -65
- data/test/unit/services/tc_multiplexing_log_service.rb +79 -79
- data/test/unit/services/tc_null_log_service.rb +42 -42
- data/test/unit/services/tc_simple_console_log_service.rb +70 -70
- data/test/unit/services/tc_simple_file_log_service.rb +146 -146
- data/test/unit/services/tc_standard_log_service_adapter.rb +94 -96
- data/test/unit/util/tc_process_util.rb +6 -6
- data/test/unit/util/tc_reflection_util.rb +20 -20
- data/test/unit/util/tc_thread_util.rb +46 -46
- data/test/unit/util/tc_version_util.rb +47 -47
- metadata +33 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4f62d11f02c39c77ce9378fae3b113e7df74da2a52c6e553af21f815a863bd3e
|
|
4
|
+
data.tar.gz: e11f1eb6fbf8f8744bb1009fc01afffb69d62398e6a0fee0b3e72e6a701af506
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8239a901cef7fe82e5f9ed464bd05bf39e03281e22213ea1a120446742071b23c7925ae0dd0ce574397d551692bf366d23589fddbef8fd3421f2f48071cad1d
|
|
7
|
+
data.tar.gz: 94656ef30b7dadcec2d02119cf44383935baf7875d5b0a43fa9ef14e923f7e2a2ebaf743d641f012399ed78a6395f9047f3521f29e1d6c1285e81c12e84f8392
|
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,337 @@
|
|
|
1
|
+
# Pantheios.Ruby - Changes <!-- omit in toc -->
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## 0.22.3 - 30th August 2026
|
|
5
|
+
|
|
6
|
+
* updated `Updated:` metadata and copyright year ranges in all touched files
|
|
7
|
+
carrying those header fields;
|
|
8
|
+
* preserved the 2019 transfer of copyright from **Synesis Software** to
|
|
9
|
+
**Synesis Information Systems**, adding missing current-owner lines where
|
|
10
|
+
required;
|
|
11
|
+
* converted all **Ruby** source, example, and test files from tabs to
|
|
12
|
+
two-space indentation;
|
|
13
|
+
* added the `warnings` branch to the **Ruby** workflow trigger;
|
|
14
|
+
* updated **pantheios-ruby.gemspec** to centralise the project URL for
|
|
15
|
+
homepage and metadata URIs, and raised the **xqsr3** development dependency
|
|
16
|
+
floor;
|
|
17
|
+
* updated **lib/pantheios/version.rb** for release 0.22.3;
|
|
18
|
+
* removed unused local-variable assignments from **simple_file_log_service.rb** and
|
|
19
|
+
**standard_log_service_adapter.rb**;
|
|
20
|
+
* corrected ambiguous regular-expression syntax in **tc_simple_file_log_service.rb**
|
|
21
|
+
and **tc_standard_log_service_adapter.rb**;
|
|
22
|
+
* removed an unused process-ID assignment from **tc_standard_log_service_adapter.rb**;
|
|
23
|
+
* removed unused loop and instance assignments from example and performance
|
|
24
|
+
programs;
|
|
25
|
+
* warning-mode unit tests now complete without warnings;
|
|
26
|
+
* guarded and initialised lazily accessed instance variables to eliminate
|
|
27
|
+
Ruby 2.7 warnings;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 0.22.2 - 27th August 2026
|
|
31
|
+
|
|
32
|
+
* renamed **Pantheios.Ruby.gemspec** to **pantheios-ruby.gemspec** so the filename stem matches `spec.name`;
|
|
33
|
+
* **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`;
|
|
34
|
+
* **Gemfile** sets `lockfile false` when Bundler supports it; stop tracking **Gemfile.lock**;
|
|
35
|
+
* CI uses `bundler-cache: false` and explicit `bundle install`; **Warnings** job on Ruby **3.4**; `gem build pantheios-ruby.gemspec`;
|
|
36
|
+
* 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;
|
|
37
|
+
* **README.md**: dropped GitHub-release badge; Dependencies (Efferent / Afferent); related-project list trailing `;`;
|
|
38
|
+
* **EXAMPLES.md** example links are repo-relative (`./examples/…`);
|
|
39
|
+
* library source **Home:** URLs now use `https`;
|
|
40
|
+
* **StockSeverityLevels** attaches `:severity` to a `dup` of each stock level string so frozen string literals still work on Ruby **3.4**;
|
|
41
|
+
* **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**);
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## 0.22.1 - 15th August 2026
|
|
45
|
+
|
|
46
|
+
* added `# frozen_string_literal: true` to all **lib/** sources;
|
|
47
|
+
* modernised gemspec (**metadata** URIs, HTTPS homepage);
|
|
48
|
+
* added Synesis documentation scaffolding (**AUTHORS.md**, **CHANGES.md**, **EXAMPLES.md**, **FAQ.md**, **NEWS.md**, **README.md**, **TODO.md**);
|
|
49
|
+
* added **Rakefile**;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## 0.22.0.2 - 5th June 2020
|
|
53
|
+
|
|
54
|
+
* added **examples/threshold_front_end.rb**;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## 0.22.0.1 - 4th June 2020
|
|
58
|
+
|
|
59
|
+
* tidied up the documentation markup;
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## 0.22.0 - 4th June 2020
|
|
63
|
+
|
|
64
|
+
* added `Pantheios::Services::ColouredConsoleLogService` (UNIX bash colours; fixed palette for now);
|
|
65
|
+
* added `Pantheios::API#prefix_parts` method, which assembles the prefix parts into an array;
|
|
66
|
+
* 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);
|
|
67
|
+
* adds the `severity` attribute to each string in the `Pantheios::ApplicationLayer::StockSeverityLevels::STOCK_SEVERITY_LEVEL_STRINGS` array;
|
|
68
|
+
* fixed defect in core's `set_back_end`;
|
|
69
|
+
* added **examples/coloured_console_log_service.rb**;
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## 0.21.0 - 3rd June 2020
|
|
73
|
+
|
|
74
|
+
* added `Pantheios::FrontEnds::ThresholdFrontEnd`, which provides severity filtering based on a threshold;
|
|
75
|
+
* 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;
|
|
76
|
+
* 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;
|
|
77
|
+
* added `:debug5` severity level;
|
|
78
|
+
* now dependent on **xqsr3** v0.36+ (development-only);
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.20.3.2 - 3rd June 2020
|
|
82
|
+
|
|
83
|
+
* more-complete tests for stock severity levels;
|
|
84
|
+
* minor documentation improvements;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## 0.20.3.1 - 5th June 2019
|
|
88
|
+
|
|
89
|
+
* added example/simple_logging(.rb);
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## 0.20.3 - 5th June 2019
|
|
93
|
+
|
|
94
|
+
* fix to trace() implementation;
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## 0.20.2.1 - 19th October 2018
|
|
98
|
+
|
|
99
|
+
* dependencies;
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## 0.20.2 - 11th April 2019
|
|
103
|
+
|
|
104
|
+
* merge (=> 0.18.2);
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
## 0.20.1 - 13th July 2018
|
|
108
|
+
|
|
109
|
+
* run_all_unit_tests(.sh) : ~ improving variable names (to avoid clashes);
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## 0.19.2 - 8th February 2018
|
|
113
|
+
|
|
114
|
+
* Pantheios::Services::MultiplexingLogService : ~ fixed multiplexing output defect;
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## 0.19.1 - 8th February 2018
|
|
118
|
+
|
|
119
|
+
* added Pantheios::Services::MultiplexingLogService class;
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## 0.18.1 - 5th February 2018
|
|
123
|
+
|
|
124
|
+
* added Pantheios::Globals::MAIN_THREAD_NAME;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## 0.17.1 - 5th February 2018
|
|
128
|
+
|
|
129
|
+
* added Pantheios::Globals.PROCESS_NAME;
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## 0.16.1 - 4th February 2018
|
|
133
|
+
|
|
134
|
+
* fix;
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## 0.15.1 - 4th February 2018
|
|
138
|
+
|
|
139
|
+
* added more tests of postfix severity_logged? performance;
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## 0.14.1 - 27th January 2018
|
|
143
|
+
|
|
144
|
+
* added ReflectionUtil and improved policing of specific service instance;
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## 0.13.4 - 27th January 2018
|
|
148
|
+
|
|
149
|
+
* fixed defect;
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
## 0.13.2 - 27th January 2018
|
|
153
|
+
|
|
154
|
+
* tidying;
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
## 0.13.1 - 23rd January 2018
|
|
158
|
+
|
|
159
|
+
* added StandardLogServiceAdapter class, which provides instance adaptation of Ruby's ::Logger;
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## 0.12.2 - 23rd January 2018
|
|
163
|
+
|
|
164
|
+
* documentation;
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## 0.12.1 - 22nd January 2018
|
|
168
|
+
|
|
169
|
+
* added block support; + added SYNCHRONISED_SEVERITY_LOGGED global; ~ refactoring for improved performance;
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
## 0.11.2 - 8th January 2018
|
|
173
|
+
|
|
174
|
+
* SimpleConsoleLogService : ~ corrected handling of symbol as severity;
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## 0.11.1 - 6th January 2018
|
|
178
|
+
|
|
179
|
+
* renamed SimpleConsoleService => SimpleConsoleLogService; + added NullLogService class; + added log service class tests;
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
## 0.10.1 - 6th January 2018
|
|
183
|
+
|
|
184
|
+
* added :benchmark severity level;
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
## 0.9.4 - 6th January 2018
|
|
188
|
+
|
|
189
|
+
* added unit-tests for stock severity levels;
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
## 0.9.3 - 6th January 2018
|
|
193
|
+
|
|
194
|
+
* tagged release;
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
## 0.9.2 - 2nd January 2018
|
|
198
|
+
|
|
199
|
+
* prefix now in [ ];
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
## 0.9.1 - 24th December 2017
|
|
203
|
+
|
|
204
|
+
* fixing;
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
## 0.8.2 - 24th December 2017
|
|
208
|
+
|
|
209
|
+
* tag;
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
## 0.8.1 - 24th December 2017
|
|
213
|
+
|
|
214
|
+
* tag;
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
## 0.8.0 - 23rd December 2017
|
|
218
|
+
|
|
219
|
+
* starting to break out impl. into Pantheios::Core;
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
## 0.7.4 - 1st March 2018
|
|
223
|
+
|
|
224
|
+
* updated dependencies;
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
## 0.7.3 - 5th February 2018
|
|
228
|
+
|
|
229
|
+
* LibCLImate::Climate::set_program_name(), which uses Colcon if available;
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## 0.7.2 - 3rd January 2018
|
|
233
|
+
|
|
234
|
+
* merge version update;
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
## 0.7.1 - 22nd December 2017
|
|
238
|
+
|
|
239
|
+
* Api into Pantheios::Api; nested inclusion when 'include ::Pantheios'; Core.register_include();
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## 0.6.5 - 1st January 2018
|
|
243
|
+
|
|
244
|
+
* preparatory mods;
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
## 0.6.4 - 1st January 2018
|
|
248
|
+
|
|
249
|
+
* fixed the version inference;
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## 0.6.3 - 22nd June 2017
|
|
253
|
+
|
|
254
|
+
* tagged release;
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
## 0.6.2 - 15th December 2017
|
|
258
|
+
|
|
259
|
+
* tagged release;
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## 0.6.1 - 16th March 2017
|
|
263
|
+
|
|
264
|
+
* added inference of version;
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
## 0.5.8 - 17th October 2016
|
|
268
|
+
|
|
269
|
+
* tidying up contract enforcements;
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
## 0.5.7 - 17th October 2016
|
|
273
|
+
|
|
274
|
+
* simplified unit test;
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
## 0.5.6 - 17th October 2016
|
|
278
|
+
|
|
279
|
+
* updated documentation;
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
## 0.5.5 - 26th June 2016
|
|
283
|
+
|
|
284
|
+
* changed hash-bangs;
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
## 0.5.4 - 18th June 2016
|
|
288
|
+
|
|
289
|
+
* fixed lacking blocks in new add_*() methods;
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
## 0.5.3 - 17th June 2016
|
|
293
|
+
|
|
294
|
+
* fix;
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
## 0.4.1 - 14th June 2016
|
|
298
|
+
|
|
299
|
+
* tidying;
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
## 0.3.1 - 13th June 2016
|
|
303
|
+
|
|
304
|
+
* merge;
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
## 0.2.4 - 13th June 2016
|
|
308
|
+
|
|
309
|
+
* 0.2.4 changes;
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
## 0.2.3 - 12th June 2016
|
|
313
|
+
|
|
314
|
+
* fixed extras handling for flags;
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
## 0.2.2 - 11th June 2016
|
|
318
|
+
|
|
319
|
+
* merge;
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
## 0.2.1 - 6th June 2016
|
|
323
|
+
|
|
324
|
+
* specified ranges for dependent libraries;
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## 0.1.2 - 14th May 2016
|
|
328
|
+
|
|
329
|
+
* added Climate class, and basics of API;
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
## 0.1.1 - 14th July 2015
|
|
333
|
+
|
|
334
|
+
* added basic skeleton (0.1.1);
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<!-- ########################### 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
|
-
|
|
10
|
-
|
|
10
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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"
|
|
22
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
23
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
24
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
25
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
26
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
27
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
28
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
29
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
30
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
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,65 @@
|
|
|
1
|
+
# Pantheios.Ruby - News <!-- omit in toc -->
|
|
2
|
+
|
|
3
|
+
| Date | News Item |
|
|
4
|
+
| ------------------ | ----------------------------------------------------------------------------------------------- |
|
|
5
|
+
| 30th August 2026 | [**Pantheios.Ruby** 0.22.3](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.3) |
|
|
6
|
+
| 27th August 2026 | [**Pantheios.Ruby** 0.22.2](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.2) |
|
|
7
|
+
| 15th August 2026 | [**Pantheios.Ruby** 0.22.1](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.1) |
|
|
8
|
+
| 5th June 2020 | [**Pantheios.Ruby** 0.22.0.2](https://github.com/synesissoftware/Pantheios.Ruby/releases/tag/0.22.0.2) |
|
|
9
|
+
| 4th June 2020 | Pantheios.Ruby 0.22.0.1 released |
|
|
10
|
+
| 4th June 2020 | Pantheios.Ruby 0.22.0 released |
|
|
11
|
+
| 3rd June 2020 | Pantheios.Ruby 0.21.0 released |
|
|
12
|
+
| 3rd June 2020 | Pantheios.Ruby 0.20.3.2 released |
|
|
13
|
+
| 5th June 2019 | **Pantheios.Ruby** 0.20.3.1 released |
|
|
14
|
+
| 5th June 2019 | **Pantheios.Ruby** 0.20.3 released |
|
|
15
|
+
| 11th April 2019 | **Pantheios.Ruby** 0.20.2 released |
|
|
16
|
+
| 19th October 2018 | **Pantheios.Ruby** 0.20.2.1 released |
|
|
17
|
+
| 13th July 2018 | **Pantheios.Ruby** 0.20.1 released |
|
|
18
|
+
| 1st March 2018 | **Pantheios.Ruby** 0.7.4 released |
|
|
19
|
+
| 8th February 2018 | **Pantheios.Ruby** 0.19.2 released |
|
|
20
|
+
| 8th February 2018 | **Pantheios.Ruby** 0.19.1 released |
|
|
21
|
+
| 5th February 2018 | **Pantheios.Ruby** 0.18.1 released |
|
|
22
|
+
| 5th February 2018 | **Pantheios.Ruby** 0.17.1 released |
|
|
23
|
+
| 5th February 2018 | **Pantheios.Ruby** 0.7.3 released |
|
|
24
|
+
| 4th February 2018 | **Pantheios.Ruby** 0.16.1 released |
|
|
25
|
+
| 4th February 2018 | **Pantheios.Ruby** 0.15.1 released |
|
|
26
|
+
| 27th January 2018 | **Pantheios.Ruby** 0.14.1 released |
|
|
27
|
+
| 27th January 2018 | **Pantheios.Ruby** 0.13.4 released |
|
|
28
|
+
| 27th January 2018 | **Pantheios.Ruby** 0.13.2 released |
|
|
29
|
+
| 23rd January 2018 | **Pantheios.Ruby** 0.13.1 released |
|
|
30
|
+
| 23rd January 2018 | **Pantheios.Ruby** 0.12.2 released |
|
|
31
|
+
| 22nd January 2018 | **Pantheios.Ruby** 0.12.1 released |
|
|
32
|
+
| 8th January 2018 | **Pantheios.Ruby** 0.11.2 released |
|
|
33
|
+
| 6th January 2018 | **Pantheios.Ruby** 0.11.1 released |
|
|
34
|
+
| 6th January 2018 | **Pantheios.Ruby** 0.10.1 released |
|
|
35
|
+
| 6th January 2018 | **Pantheios.Ruby** 0.9.4 released |
|
|
36
|
+
| 6th January 2018 | **Pantheios.Ruby** 0.9.3 released |
|
|
37
|
+
| 3rd January 2018 | **Pantheios.Ruby** 0.7.2 released |
|
|
38
|
+
| 2nd January 2018 | **Pantheios.Ruby** 0.9.2 released |
|
|
39
|
+
| 1st January 2018 | **Pantheios.Ruby** 0.6.5 released |
|
|
40
|
+
| 1st January 2018 | **Pantheios.Ruby** 0.6.4 released |
|
|
41
|
+
| 24th December 2017 | **Pantheios.Ruby** 0.9.1 released |
|
|
42
|
+
| 24th December 2017 | **Pantheios.Ruby** 0.8.2 released |
|
|
43
|
+
| 24th December 2017 | **Pantheios.Ruby** 0.8.1 released |
|
|
44
|
+
| 23rd December 2017 | **Pantheios.Ruby** 0.8.0 released |
|
|
45
|
+
| 22nd December 2017 | **Pantheios.Ruby** 0.7.1 released |
|
|
46
|
+
| 15th December 2017 | **Pantheios.Ruby** 0.6.2 released |
|
|
47
|
+
| 22nd June 2017 | **Pantheios.Ruby** 0.6.3 released |
|
|
48
|
+
| 16th March 2017 | **Pantheios.Ruby** 0.6.1 released |
|
|
49
|
+
| 17th October 2016 | **Pantheios.Ruby** 0.5.8 released |
|
|
50
|
+
| 17th October 2016 | **Pantheios.Ruby** 0.5.7 released |
|
|
51
|
+
| 17th October 2016 | **Pantheios.Ruby** 0.5.6 released |
|
|
52
|
+
| 26th June 2016 | **Pantheios.Ruby** 0.5.5 released |
|
|
53
|
+
| 18th June 2016 | **Pantheios.Ruby** 0.5.4 released |
|
|
54
|
+
| 17th June 2016 | **Pantheios.Ruby** 0.5.3 released |
|
|
55
|
+
| 14th June 2016 | **Pantheios.Ruby** 0.4.1 released |
|
|
56
|
+
| 13th June 2016 | **Pantheios.Ruby** 0.3.1 released |
|
|
57
|
+
| 13th June 2016 | **Pantheios.Ruby** 0.2.4 released |
|
|
58
|
+
| 12th June 2016 | **Pantheios.Ruby** 0.2.3 released |
|
|
59
|
+
| 11th June 2016 | **Pantheios.Ruby** 0.2.2 released |
|
|
60
|
+
| 6th June 2016 | **Pantheios.Ruby** 0.2.1 released |
|
|
61
|
+
| 14th May 2016 | **Pantheios.Ruby** 0.1.2 released |
|
|
62
|
+
| 14th July 2015 | **Pantheios.Ruby** 0.1.1 released |
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<!-- ########################### end of file ########################### -->
|