terrier-engine 4.67.3 → 4.67.5
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.
- package/.DS_Store +0 -0
- package/Gemfile.lock +7 -7
- package/app/frontend/data-dive/queries/filters.ts +3 -3
- package/app/models/concerns/terrier/model.rb +3 -3
- package/lib/terrier/version.rb +1 -1
- package/package.json +1 -1
- package/tmp/dist/data-dive/queries/filters.ts +3 -3
- package/tmp/dist/package.json +1 -1
package/.DS_Store
CHANGED
|
Binary file
|
package/Gemfile.lock
CHANGED
|
@@ -20,7 +20,7 @@ GIT
|
|
|
20
20
|
PATH
|
|
21
21
|
remote: .
|
|
22
22
|
specs:
|
|
23
|
-
terrier-engine (4.67.
|
|
23
|
+
terrier-engine (4.67.5)
|
|
24
24
|
amazing_print
|
|
25
25
|
coderay
|
|
26
26
|
colorize
|
|
@@ -168,8 +168,8 @@ GEM
|
|
|
168
168
|
rake
|
|
169
169
|
globalid (1.3.0)
|
|
170
170
|
activesupport (>= 6.1)
|
|
171
|
-
hiredis-client (0.
|
|
172
|
-
redis-client (= 0.
|
|
171
|
+
hiredis-client (0.27.0)
|
|
172
|
+
redis-client (= 0.27.0)
|
|
173
173
|
http (5.2.0)
|
|
174
174
|
addressable (~> 2.8)
|
|
175
175
|
base64 (~> 0.1)
|
|
@@ -304,7 +304,7 @@ GEM
|
|
|
304
304
|
psych (>= 4.0.0)
|
|
305
305
|
redis (5.4.1)
|
|
306
306
|
redis-client (>= 0.22.0)
|
|
307
|
-
redis-client (0.
|
|
307
|
+
redis-client (0.27.0)
|
|
308
308
|
connection_pool
|
|
309
309
|
regexp_parser (2.10.0)
|
|
310
310
|
reline (0.5.10)
|
|
@@ -367,7 +367,7 @@ GEM
|
|
|
367
367
|
climate_control (>= 0.0.3, < 1.0)
|
|
368
368
|
thor (1.3.2)
|
|
369
369
|
tilt (2.3.0)
|
|
370
|
-
timeout (0.6.
|
|
370
|
+
timeout (0.6.1)
|
|
371
371
|
turbolinks (5.2.1)
|
|
372
372
|
turbolinks-source (~> 5.2)
|
|
373
373
|
turbolinks-source (5.2.0)
|
|
@@ -379,7 +379,7 @@ GEM
|
|
|
379
379
|
vite_rails (3.0.20)
|
|
380
380
|
railties (>= 5.1, < 9)
|
|
381
381
|
vite_ruby (~> 3.0, >= 3.2.2)
|
|
382
|
-
vite_ruby (3.9.
|
|
382
|
+
vite_ruby (3.9.3)
|
|
383
383
|
dry-cli (>= 0.7, < 2)
|
|
384
384
|
logger (~> 1.6)
|
|
385
385
|
mutex_m
|
|
@@ -390,7 +390,7 @@ GEM
|
|
|
390
390
|
base64
|
|
391
391
|
websocket-extensions (>= 0.1.0)
|
|
392
392
|
websocket-extensions (0.1.5)
|
|
393
|
-
write_xlsx (1.
|
|
393
|
+
write_xlsx (1.13.0)
|
|
394
394
|
nkf
|
|
395
395
|
rubyzip (>= 2.4.0, < 4.0)
|
|
396
396
|
xlsxtream (3.1.0)
|
|
@@ -898,7 +898,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
898
898
|
}
|
|
899
899
|
const period = Dates.serializePeriod(range)
|
|
900
900
|
filter.input_value = period
|
|
901
|
-
|
|
901
|
+
break
|
|
902
902
|
case 'direct':
|
|
903
903
|
switch (filter.column_type) {
|
|
904
904
|
case 'cents':
|
|
@@ -908,7 +908,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
908
908
|
default:
|
|
909
909
|
filter.input_value = data[filter.id]
|
|
910
910
|
}
|
|
911
|
-
|
|
911
|
+
break
|
|
912
912
|
case 'inclusion':
|
|
913
913
|
const values: string[] = []
|
|
914
914
|
for (const value of filter.possible_values || []) {
|
|
@@ -917,7 +917,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
filter.input_value = values.join(',')
|
|
920
|
-
|
|
920
|
+
break
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
}
|
|
@@ -56,9 +56,9 @@ module Terrier::Model
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# Automatically include virtual attributes in JSON
|
|
59
|
-
def
|
|
60
|
-
options = options.dup
|
|
61
|
-
options[:methods]
|
|
59
|
+
def serializable_hash(options = nil)
|
|
60
|
+
options = (options || {}).dup
|
|
61
|
+
options[:methods] = Array(options[:methods])
|
|
62
62
|
options[:methods] |= self.class.virtual_attributes_list.keys
|
|
63
63
|
super(options)
|
|
64
64
|
end
|
package/lib/terrier/version.rb
CHANGED
package/package.json
CHANGED
|
@@ -898,7 +898,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
898
898
|
}
|
|
899
899
|
const period = Dates.serializePeriod(range)
|
|
900
900
|
filter.input_value = period
|
|
901
|
-
|
|
901
|
+
break
|
|
902
902
|
case 'direct':
|
|
903
903
|
switch (filter.column_type) {
|
|
904
904
|
case 'cents':
|
|
@@ -908,7 +908,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
908
908
|
default:
|
|
909
909
|
filter.input_value = data[filter.id]
|
|
910
910
|
}
|
|
911
|
-
|
|
911
|
+
break
|
|
912
912
|
case 'inclusion':
|
|
913
913
|
const values: string[] = []
|
|
914
914
|
for (const value of filter.possible_values || []) {
|
|
@@ -917,7 +917,7 @@ function serializeRawInputData(filters: FilterInput[], data: Record<string, stri
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
filter.input_value = values.join(',')
|
|
920
|
-
|
|
920
|
+
break
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
}
|