kennel 1.66.2 → 1.66.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d5c7df715aecb3223069ef066f070a0b78dd699c46feae0052e90facc2ef0f5
4
- data.tar.gz: d88d4f7b8ff2ec7458490fd79cf269bc319abf589c17ace29a4d368a29626b2d
3
+ metadata.gz: 65bf9625be169156f491cb4e987dba3cd1ffa7c4ed4c9875e8a91c6e4ac87c7d
4
+ data.tar.gz: 3d95cd55b82d4b34c52239509ccd6c0ed57f0147d5494df60b3756df4ad07569
5
5
  SHA512:
6
- metadata.gz: f7a603b340355a6be34c57d7843729dbdf9d27f910d94511ab4dc6c5a71c32a477160ebfe188fc03675bc28261dc9beb82f27faaceb4be355aceba343bbf5c54
7
- data.tar.gz: e320fdfb09fc4f2400cdcad2f16297e6715dbb9094959e8fd50784bc7b1a4b880e65de806caaaa1b3e016ce90a4d8217e1c3e174b757cf6d83895273e5652b80
6
+ metadata.gz: 0c6b78a86ddbf6f9c4d320545f779566270e5f878081c77a5de842e0f10a9821fdf415b6b959c1bef849f27e7fe47901cecac096f972284357b3e5ae49d36b30
7
+ data.tar.gz: c79b6fbf9adda3958c9d5626e8c7073bcfb0e8b4c3f2d2a29c6931a4d21f205fd4a8609be9236afda97cfe9c5fa0fe4c22b82acbbbf35cf69a3fa294ada59662
@@ -34,14 +34,6 @@ module Kennel
34
34
  super
35
35
 
36
36
  widgets_pairs(expected, actual).each do |pair|
37
- # datadog always adds 2 to slo widget height
38
- # need to check fir layout since some monitors have height/width in their definition
39
- pair[1].each do |widget|
40
- if widget.dig(:definition, :type) == "slo" && widget.dig(:layout, :height)
41
- widget[:layout][:height] -= 2
42
- end
43
- end
44
-
45
37
  # conditional_formats ordering is randomly changed by datadog, compare a stable ordering
46
38
  pair.each do |widgets|
47
39
  widgets.each do |widget|
@@ -25,8 +25,7 @@ module Kennel
25
25
  names.each do |name|
26
26
  next if method_defined?(name)
27
27
  define_method name do
28
- message = "Trying to call #{name} for #{self.class} but it was never set or passed as option"
29
- raise_with_location ArgumentError, message
28
+ raise_with_location ArgumentError, "'#{name}' on #{self.class} was not set or passed as option"
30
29
  end
31
30
  end
32
31
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.66.2"
3
+ VERSION = "1.66.3"
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: 1.66.2
4
+ version: 1.66.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-26 00:00:00.000000000 Z
11
+ date: 2020-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday