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: 128a7c5f9091b8007c311817f08d6bc4644a76c1dcf1bb1d9191be83e07b3585
4
- data.tar.gz: 365e17071a095bca5cab3e93ad0f5320176cca3f7e9e8b99ff94147b82f5f499
3
+ metadata.gz: 011044e63b26d0441bee48450391c72c56c585ec73271ed634e879575383a3cc
4
+ data.tar.gz: 6eda08569df134241383d6319e006d97d21fa2181878b709524933023821aa9f
5
5
  SHA512:
6
- metadata.gz: ee3111c976ab077606fa16ba65713ea07c6c91b3120272637f4189dec3c1632f71f0f8caeb9ff63d63ae75e9fc5d8923b3ce7114a3f0e7bf1b5be711a490e55d
7
- data.tar.gz: 7b83e652fd638225d291e5272e779617174239d8fc64ff9821c72e6f2ae76ed2caeadff24c014604f2f3e567d2744af5674541ed609297e95d4742bcfbe07880
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 entry is one of `{\"status\": \"none\"}`, `{\"status\": \"agrees\", \"level\": \"<LEVEL>\"}`, or `{\"status\": \"varies\"}`. `agrees` means every observed source in that environment reports the same resolved level; `varies` means at least two sources disagree.
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, Object>',
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smplkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.34
4
+ version: 3.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC