kennel 2.8.1 → 2.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a67807cb9e789ba415f9565e05fab28af7ce219c48d71bf8046d399e53d36c83
4
- data.tar.gz: e6af7566700e27dde1c0a91e925b7b6a3c0c9eed871bb973f7f58f1196485c7e
3
+ metadata.gz: ec30baa34fa9cd6ea5ada65125548347ec92fa0b97a3c1e58ea4bb590850bf48
4
+ data.tar.gz: 650ffef2c083b084a71e7c04083a2405be8d03da974e4c45374a56cfd5c3ac0b
5
5
  SHA512:
6
- metadata.gz: 1f555aeb930ba4fd91b5a33adbe1a2740b354f69397e9aca608a5a01ea4d7103b82bf1fd1e5569a3f1f240badc6b3ac837392fdcad67c9135b691d750c940160
7
- data.tar.gz: 7a87ee3300fe0c194018332727d3ab66a4dd41883198537e2b3f38302ccb7a1528d4db02db1c4d9d8fc0bdd1a9e4d557a211ee964461a4a76c82e1ecf0cdad98
6
+ metadata.gz: 0053b7f8135a408f04db94cb055640c5dc5a928381e70736f41a5d79581fadd3071a1cdc1e7d3f8f6c867c972b18843204474d103b81377b5ed6b15183999aaa
7
+ data.tar.gz: e32878d2a099fb1067f5af7f06c7f09bf69b41f82b1f407ceb5edce8d3ab5a3c50da97d7ce8df1b86ae1b225cef7c9d23fb038bf1c09c9fd698d254b93bff480
@@ -50,6 +50,7 @@ module Kennel
50
50
  data[:target_threshold] = threshold[:target]
51
51
  end
52
52
 
53
+ # TODO: if user set sli_specification but we don't use it we should raise, but sadly we can't detect that easily
53
54
  if type == "time_slice"
54
55
  data[:sli_specification] = sli_specification
55
56
  elsif (v = query)
@@ -101,6 +102,11 @@ module Kennel
101
102
  [:timeframe, :warning_threshold, :target_threshold].each { |k| actual.delete k }
102
103
  end
103
104
 
105
+ # datadog always sets this, but we only set it for time_slice, so discard it for everything else to avoid diff
106
+ if expected[:type] != "time_slice"
107
+ actual.delete :sli_specification
108
+ end
109
+
104
110
  ignore_default(expected, actual, DEFAULTS)
105
111
  end
106
112
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "2.8.1"
3
+ VERSION = "2.8.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-18 00:00:00.000000000 Z
11
+ date: 2025-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs