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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b7427e4321a6c8c50704320ff3912868bd50d3471dae090a26059c107f25210
4
- data.tar.gz: e87fbb9ac716caefdc16bf3190b2cbd0075263dae6aff9e88154271717055691
3
+ metadata.gz: ca5af3b66602bc1a123044bd91797fefc1417d08e2ebf8c8103f0540aa68f0af
4
+ data.tar.gz: 167687a1a39ec4b088445dda5bbb15ad3463b03ee1cf9bf6d4ddff7359812185
5
5
  SHA512:
6
- metadata.gz: 33c0c156eef5278bc77f7679bf56762f23937e2dc949da35a4dd16b8c4d0e3fa4e4f20d864faaac9b0e4ec99a9befe56994d87287c96452570582b93921e649f
7
- data.tar.gz: 1b0eab5b78254e4352d72d2930daf2aa1645b27e2759e87024387dd6efeaa9ed9bc70536e3fc0fd1c0fe0cdafcf4c2b22f8548672d0d3496ebb1c64687efe0ec
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.0)
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.654.0)
26
- aws-sdk-core (3.166.0)
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.78.0)
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.1.10)
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.7.1)
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.1)
57
+ jmespath (1.6.2)
58
58
  json (2.6.2)
59
59
  method_source (1.0.0)
60
- minitest (5.16.3)
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.5)
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.lh_operation.is_a?(Nodes::FieldNode) &&
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) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamoidAdvancedWhere
4
- VERSION = '1.5.0'
4
+ VERSION = '1.5.1'
5
5
  end
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.0
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: 2022-11-01 00:00:00.000000000 Z
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynamoid