airview 0.2.1 → 0.2.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7703ebdcc5553ec2ebed486a307dd30f0cb271251c4b5b100a99cf8c968a1462
|
|
4
|
+
data.tar.gz: 5a84034f2e8957bf224fb82c9a696675e7b409b4e290ac373f726101c5fd3e70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e674b9ed044f0002aca19f06db3adcc2984f59f63ad50c258825c03a6b051bb4ae810719ba0b94e1d6fc3d234c7f6db1be1586e425b191501549f0be6d1815b8
|
|
7
|
+
data.tar.gz: 172cc4030c3aea3b131fe4b432d8a9c91ed00040c4f6a97eeafa4df7e6d930e12c5661c13c3a69bdd374a5c51eacd4073835c0ab3ecb611536c01b0fc3535b43
|
|
@@ -194,11 +194,11 @@
|
|
|
194
194
|
function operatorOptionsForFieldType(fieldType) {
|
|
195
195
|
if (fieldType === "boolean") return [["is checked", "is_true"], ["is unchecked", "is_false"]];
|
|
196
196
|
if (["integer", "float", "decimal"].includes(fieldType)) {
|
|
197
|
-
return [["=", "equals"], [">", "gt"], ["<", "lt"], [">=", "gte"], ["<=", "lte"], ["is empty", "is_empty"]];
|
|
197
|
+
return [["=", "equals"], [">", "gt"], ["<", "lt"], [">=", "gte"], ["<=", "lte"], ["is empty", "is_empty"], ["is not empty", "is_not_empty"]];
|
|
198
198
|
}
|
|
199
|
-
if (["date", "datetime"].includes(fieldType)) return [["is", "equals"], ["before", "before"], ["after", "after"], ["is empty", "is_empty"]];
|
|
199
|
+
if (["date", "datetime"].includes(fieldType)) return [["is", "equals"], ["before", "before"], ["after", "after"], ["is empty", "is_empty"], ["is not empty", "is_not_empty"]];
|
|
200
200
|
|
|
201
|
-
return [["contains", "contains"], ["equals", "equals"], ["starts with", "starts_with"], ["is empty", "is_empty"]];
|
|
201
|
+
return [["contains", "contains"], ["equals", "equals"], ["starts with", "starts_with"], ["is empty", "is_empty"], ["is not empty", "is_not_empty"]];
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
function updateFilterOperator(row, fieldType) {
|
|
@@ -135,15 +135,16 @@ module Airview
|
|
|
135
135
|
when :boolean
|
|
136
136
|
[["is checked", "is_true"], ["is unchecked", "is_false"]]
|
|
137
137
|
when :integer, :float, :decimal
|
|
138
|
-
[["=", "equals"], [">", "gt"], ["<", "lt"], [">=", "gte"], ["<=", "lte"], ["is empty", "is_empty"]]
|
|
138
|
+
[["=", "equals"], [">", "gt"], ["<", "lt"], [">=", "gte"], ["<=", "lte"], ["is empty", "is_empty"], ["is not empty", "is_not_empty"]]
|
|
139
139
|
when :date, :datetime
|
|
140
|
-
[["is", "equals"], ["before", "before"], ["after", "after"], ["is empty", "is_empty"]]
|
|
140
|
+
[["is", "equals"], ["before", "before"], ["after", "after"], ["is empty", "is_empty"], ["is not empty", "is_not_empty"]]
|
|
141
141
|
else
|
|
142
142
|
[
|
|
143
143
|
["contains", "contains"],
|
|
144
144
|
["equals", "equals"],
|
|
145
145
|
["starts with", "starts_with"],
|
|
146
|
-
["is empty", "is_empty"]
|
|
146
|
+
["is empty", "is_empty"],
|
|
147
|
+
["is not empty", "is_not_empty"]
|
|
147
148
|
]
|
|
148
149
|
end
|
|
149
150
|
|
data/lib/airview/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: airview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jacksonriso
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|