forest_liana 9.3.6 → 9.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/query_stat_getter.rb +2 -2
- data/lib/forest_liana/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: 0fa0601f889d02cbdc81c73031621ae62ed6517e6a606e1d5b177f4d0315e357
|
4
|
+
data.tar.gz: 8972e07871d08cf8a4254608d2ebfdd40a05612c031972e1b6b51f6f751a664a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ae6c97585ecb0d68caee75c6196ef344455b4d88d26f2d1a9777439bd245a3bf17e1101b5d5879578cea6941da2c4113e50f72e2e302d59a464aae893d04b4
|
7
|
+
data.tar.gz: 2d3d66dea8726e2351ab0f79290990b4ae6bec5b18ea6cc9e00f1a98b247eed3a21c25cf94d2ac8d9dac9ee05e3a1bcaff9d1536b1505ada8bfcf8c1df8843ff
|
@@ -13,14 +13,14 @@ module ForestLiana
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def perform
|
16
|
-
|
16
|
+
context_variables = Utils::ContextVariables.new(nil, nil, @params['contextVariables'])
|
17
|
+
raw_query = Utils::ContextVariablesInjector.inject_context_in_value(@params['query'].strip, context_variables)
|
17
18
|
|
18
19
|
LiveQueryChecker.new(raw_query, 'Live Query Chart').validate()
|
19
20
|
|
20
21
|
if @params['record_id']
|
21
22
|
raw_query.gsub!('?', @params['record_id'].to_s)
|
22
23
|
end
|
23
|
-
|
24
24
|
result = ActiveRecord::Base.connection.execute(raw_query)
|
25
25
|
|
26
26
|
case @params['type']
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.3.
|
4
|
+
version: 9.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|