smplkit 3.0.34 → 3.0.35
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 011044e63b26d0441bee48450391c72c56c585ec73271ed634e879575383a3cc
|
|
4
|
+
data.tar.gz: 6eda08569df134241383d6319e006d97d21fa2181878b709524933023821aa9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74de2ca12f45d060aa1fe9764af9bbf623a9981d44c5388ce023289835edeea40697e1349047bdc847da03b921bd5942576da842deac97a9a0e5e5b49c5eb03e
|
|
7
|
+
data.tar.gz: 36bd1c7a81fd917be1e226aa7cc04c494d61af991036f9fa1e503c762b3ed8ce0916cc4c2a6aaa293d740894cc13f399153d7eb599bf4e51245a59d27f8e1266
|
|
@@ -34,7 +34,7 @@ module SmplkitGeneratedClient::Logging
|
|
|
34
34
|
# Per-environment level overrides keyed by environment name. Each value is an object with an optional `level` field, e.g. `{\"production\": {\"level\": \"WARN\"}}`. An environment may be present with no `level` to record that the logger applies there without changing the resolved level.
|
|
35
35
|
attr_accessor :environments
|
|
36
36
|
|
|
37
|
-
# Per-environment summary of what runtimes are reporting for this logger. Keyed by environment name; each
|
|
37
|
+
# Per-environment summary of what runtimes are reporting for this logger. Keyed by environment name; each value is the list of distinct resolved levels observed across all source rows in that environment, ordered from most-verbose (`TRACE`) to least-verbose (`SILENT`). A single-element list means every source agrees; a multi-element list means sources disagree. Environments with no observed sources are omitted — cross-reference `environments` to find environments that are configured but have not yet been reported in.
|
|
38
38
|
attr_accessor :effective_levels
|
|
39
39
|
|
|
40
40
|
# When the logger was first created or discovered.
|
|
@@ -99,7 +99,7 @@ module SmplkitGeneratedClient::Logging
|
|
|
99
99
|
:'managed' => :'Boolean',
|
|
100
100
|
:'sources' => :'Array<Hash<String, Object>>',
|
|
101
101
|
:'environments' => :'Hash<String, Object>',
|
|
102
|
-
:'effective_levels' => :'Hash<String,
|
|
102
|
+
:'effective_levels' => :'Hash<String, Array<String>>',
|
|
103
103
|
:'created_at' => :'Time',
|
|
104
104
|
:'updated_at' => :'Time'
|
|
105
105
|
}
|
|
@@ -70,6 +70,10 @@ describe SmplkitGeneratedClient::Logging::Logger do
|
|
|
70
70
|
describe 'test attribute "effective_levels"' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Hash<String, Array<String>>', ["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "SILENT"])
|
|
74
|
+
# validator.allowable_values.each do |value|
|
|
75
|
+
# expect { instance.effective_levels = value }.not_to raise_error
|
|
76
|
+
# end
|
|
73
77
|
end
|
|
74
78
|
end
|
|
75
79
|
|