kennel 1.88.0 → 1.88.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kennel/importer.rb +1 -1
- data/lib/kennel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1091fcd44daba6435e7a9321610a27b8ac2510451cf97e8183d6ab744e080288
|
4
|
+
data.tar.gz: f137076ec36e4018eaa1c1d60dd2da187f33bdb41fc3fe5c384be4787ddd9c77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52cd265a23705e8a8afca55f819c9fed1c2ae467e8de1cba5e696cd6191619458168fd649f26f5c00da33702e4002490e13f804335dad10e2204a96d16cf12a8
|
7
|
+
data.tar.gz: d2cc461399929023573e22f55bc89699d952c9338f5e415cea9328af00d212b5e87fe2061837327ec88c4b60a2a277e1f272a511e85a9de0014142c51073f60e
|
data/lib/kennel/importer.rb
CHANGED
@@ -110,7 +110,7 @@ module Kennel
|
|
110
110
|
def convert_widget_to_compact_format!(widget)
|
111
111
|
(widget.dig(:definition, :requests) || []).each do |request|
|
112
112
|
next unless request.is_a?(Hash)
|
113
|
-
next if request[:formulas]
|
113
|
+
next if request[:formulas] && request[:formulas] != [{ formula: "query1" }]
|
114
114
|
next if request[:queries]&.size != 1
|
115
115
|
next if request[:queries].any? { |q| q[:data_source] != "metrics" }
|
116
116
|
request.delete(:formulas)
|
data/lib/kennel/version.rb
CHANGED
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.88.
|
4
|
+
version: 1.88.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|