dynamoid_advanced_where 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/lib/dynamoid_advanced_where/filter_builder.rb +3 -1
- data/lib/dynamoid_advanced_where/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: ca5af3b66602bc1a123044bd91797fefc1417d08e2ebf8c8103f0540aa68f0af
|
4
|
+
data.tar.gz: 167687a1a39ec4b088445dda5bbb15ad3463b03ee1cf9bf6d4ddff7359812185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 164d8e1236c19769ecdeb29370aa5d0c0305a0070eb00477e7871d573a364e1288d1be77a1cb1fd2fa2ed3eea2885e887cb20fab1a7846613dbd8eb64b426576
|
7
|
+
data.tar.gz: 735bc10d7925ae510f8154e0a3bffa0e6e77c76c5de700fa15b39b96fa6b2aebceb75607da860676ad5478cc34148a141ca8cf686457aed23b95de45247d9c42
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dynamoid_advanced_where (1.5.
|
4
|
+
dynamoid_advanced_where (1.5.1)
|
5
5
|
dynamoid (>= 3.2, < 4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (7.0.4)
|
11
|
-
activesupport (= 7.0.4)
|
12
|
-
activesupport (7.0.4)
|
10
|
+
activemodel (7.0.4.2)
|
11
|
+
activesupport (= 7.0.4.2)
|
12
|
+
activesupport (7.0.4.2)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 1.6, < 2)
|
15
15
|
minitest (>= 5.1)
|
@@ -22,13 +22,13 @@ GEM
|
|
22
22
|
thor (>= 0.14.0)
|
23
23
|
ast (2.4.2)
|
24
24
|
aws-eventstream (1.2.0)
|
25
|
-
aws-partitions (1.
|
26
|
-
aws-sdk-core (3.
|
25
|
+
aws-partitions (1.725.0)
|
26
|
+
aws-sdk-core (3.170.0)
|
27
27
|
aws-eventstream (~> 1, >= 1.0.2)
|
28
28
|
aws-partitions (~> 1, >= 1.651.0)
|
29
29
|
aws-sigv4 (~> 1.5)
|
30
30
|
jmespath (~> 1, >= 1.6.1)
|
31
|
-
aws-sdk-dynamodb (1.
|
31
|
+
aws-sdk-dynamodb (1.83.0)
|
32
32
|
aws-sdk-core (~> 3, >= 3.165.0)
|
33
33
|
aws-sigv4 (~> 1.1)
|
34
34
|
aws-sigv4 (1.5.2)
|
@@ -39,11 +39,11 @@ GEM
|
|
39
39
|
childprocess (4.1.0)
|
40
40
|
coderay (1.1.3)
|
41
41
|
colorize (0.8.1)
|
42
|
-
concurrent-ruby (1.
|
42
|
+
concurrent-ruby (1.2.2)
|
43
43
|
crack (0.4.5)
|
44
44
|
rexml
|
45
45
|
diff-lcs (1.5.0)
|
46
|
-
dynamoid (3.
|
46
|
+
dynamoid (3.8.0)
|
47
47
|
activemodel (>= 4)
|
48
48
|
aws-sdk-dynamodb (~> 1.0)
|
49
49
|
concurrent-ruby (>= 1.0)
|
@@ -54,10 +54,10 @@ GEM
|
|
54
54
|
i18n (1.12.0)
|
55
55
|
concurrent-ruby (~> 1.0)
|
56
56
|
iniparse (1.5.0)
|
57
|
-
jmespath (1.6.
|
57
|
+
jmespath (1.6.2)
|
58
58
|
json (2.6.2)
|
59
59
|
method_source (1.0.0)
|
60
|
-
minitest (5.
|
60
|
+
minitest (5.18.0)
|
61
61
|
overcommit (0.59.1)
|
62
62
|
childprocess (>= 0.6.3, < 5)
|
63
63
|
iniparse (~> 1.4)
|
@@ -103,7 +103,7 @@ GEM
|
|
103
103
|
sexp_processor (~> 4.16)
|
104
104
|
sexp_processor (4.16.1)
|
105
105
|
thor (1.2.1)
|
106
|
-
tzinfo (2.0.
|
106
|
+
tzinfo (2.0.6)
|
107
107
|
concurrent-ruby (~> 1.0)
|
108
108
|
unicode-display_width (2.3.0)
|
109
109
|
webmock (3.18.1)
|
@@ -93,6 +93,7 @@ module DynamoidAdvancedWhere
|
|
93
93
|
|
94
94
|
def field_node_valid_for_key_filter(node)
|
95
95
|
node.is_a?(Nodes::EqualityNode) &&
|
96
|
+
node.respond_to?(:lh_operation) &&
|
96
97
|
node.lh_operation.is_a?(Nodes::FieldNode) &&
|
97
98
|
node.lh_operation.field_path.length == 1 &&
|
98
99
|
node.lh_operation.field_path[0].to_s == hash_key
|
@@ -119,7 +120,8 @@ module DynamoidAdvancedWhere
|
|
119
120
|
end
|
120
121
|
|
121
122
|
def field_node_valid_for_range_filter(node)
|
122
|
-
node.
|
123
|
+
node.respond_to?(:lh_operation) &&
|
124
|
+
node.lh_operation.is_a?(Nodes::FieldNode) &&
|
123
125
|
node.lh_operation.field_path.length == 1 &&
|
124
126
|
node.lh_operation.field_path[0].to_s == range_key &&
|
125
127
|
VALID_COMPARETORS_FOR_RANGE_FILTER.any? { |type| node.is_a?(type) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamoid_advanced_where
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Malinconico
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dynamoid
|