statelydb 0.31.0 → 0.32.0

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: 27ff426cc92aa94367beb63a0c568cec999cdf69c1e77385742e589b933f1162
4
- data.tar.gz: 9244139c26ba6f3000f70966e11fba71b3188300b30632f84c31df2a5760effb
3
+ metadata.gz: 35e3251c32e9dd82dcb0d6e0d8da8b43f276d1756c0650027e8b12216760d663
4
+ data.tar.gz: c724f83a7fb1a78d347ee476231ec05d9511710222c051c988ca65af955bda71
5
5
  SHA512:
6
- metadata.gz: a806985ceb7c1a5a186343a155f2e8536823a371b8c3aea4bd682f3fe7b2a0ca4197a16117bb0d0ca42656946b7c6b3de77f243adcc02bfd8a2edc6e620eb8dc
7
- data.tar.gz: 6f35612802f0189f14356515132277cfa7d3825fed0a5b6ff70c5dfa9071040a4e01d025d944fb5618c6171c604774e68821c24e3f76fb86ea5edab33248d16c
6
+ metadata.gz: f79157f6c53116af46845a1e2bd965f6a9f3c9b954b8064e6b9d70cf2ae8ef5700e0233a2fc4f25b66acc45df3ecb1345a0053dd73ea98329a72bddb7121bcb0
7
+ data.tar.gz: 851156f5b067b1ca34efaf4a44a78184018892fb8a60f120dfec13b66e8f6695ab31ef1d99032494111ad03c5be6c7e5b5c697223c2a96d1181fd43f25d2ffc6
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'api/db/list_filters_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\rdb/scan.proto\x12\nstately.db\x1a\x15\x64\x62/list_filters.proto\"\xa5\x02\n\x10\x42\x65ginScanRequest\x12\x19\n\x08store_id\x18\x01 \x01(\x04R\x07storeId\x12\x46\n\x10\x66ilter_condition\x18\x02 \x03(\x0b\x32\x1b.stately.db.FilterConditionR\x0f\x66ilterCondition\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12O\n\x13segmentation_params\x18\x04 \x01(\x0b\x32\x1e.stately.db.SegmentationParamsR\x12segmentationParams\x12*\n\x11schema_version_id\x18\x05 \x01(\rR\x0fschemaVersionId\x12\x1b\n\tschema_id\x18\x06 \x01(\x04R\x08schemaId\"`\n\x12SegmentationParams\x12%\n\x0etotal_segments\x18\x05 \x01(\rR\rtotalSegments\x12#\n\rsegment_index\x18\x06 \x01(\rR\x0csegmentIndexBd\n\x0e\x63om.stately.dbB\tScanProtoP\x01\xa2\x02\x03SDX\xaa\x02\nStately.Db\xca\x02\nStately\\Db\xe2\x02\x16Stately\\Db\\GPBMetadata\xea\x02\x0bStately::Dbb\x06proto3"
10
+ descriptor_data = "\n\rdb/scan.proto\x12\nstately.db\x1a\x15\x64\x62/list_filters.proto\"\xa7\x02\n\x10\x42\x65ginScanRequest\x12\x19\n\x08store_id\x18\x01 \x01(\x04R\x07storeId\x12H\n\x11\x66ilter_conditions\x18\x02 \x03(\x0b\x32\x1b.stately.db.FilterConditionR\x10\x66ilterConditions\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12O\n\x13segmentation_params\x18\x04 \x01(\x0b\x32\x1e.stately.db.SegmentationParamsR\x12segmentationParams\x12*\n\x11schema_version_id\x18\x05 \x01(\rR\x0fschemaVersionId\x12\x1b\n\tschema_id\x18\x06 \x01(\x04R\x08schemaId\"`\n\x12SegmentationParams\x12%\n\x0etotal_segments\x18\x05 \x01(\rR\rtotalSegments\x12#\n\rsegment_index\x18\x06 \x01(\rR\x0csegmentIndexBd\n\x0e\x63om.stately.dbB\tScanProtoP\x01\xa2\x02\x03SDX\xaa\x02\nStately.Db\xca\x02\nStately\\Db\xe2\x02\x16Stately\\Db\\GPBMetadata\xea\x02\x0bStately::Dbb\x06proto3"
11
11
 
12
12
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
data/lib/statelydb.rb CHANGED
@@ -267,7 +267,7 @@ module StatelyDB
267
267
  req = Stately::Db::BeginScanRequest.new(
268
268
  store_id: @store_id,
269
269
  limit:,
270
- filter_condition: build_filters(item_types: item_types, cel_filters: cel_filters),
270
+ filter_conditions: build_filters(item_types: item_types, cel_filters: cel_filters),
271
271
  schema_id: @schema::SCHEMA_ID,
272
272
  schema_version_id: @schema::SCHEMA_VERSION_ID
273
273
  )
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StatelyDB
4
- VERSION = "0.31.0"
4
+ VERSION = "0.32.0"
5
5
  end
data/rbi/db/scan_pb.rbi CHANGED
@@ -9,7 +9,7 @@ class Stately::Db::BeginScanRequest
9
9
  sig do
10
10
  params(
11
11
  store_id: T.nilable(Integer),
12
- filter_condition: T.nilable(T::Array[T.nilable(Stately::Db::FilterCondition)]),
12
+ filter_conditions: T.nilable(T::Array[T.nilable(Stately::Db::FilterCondition)]),
13
13
  limit: T.nilable(Integer),
14
14
  segmentation_params: T.nilable(Stately::Db::SegmentationParams),
15
15
  schema_version_id: T.nilable(Integer),
@@ -18,7 +18,7 @@ class Stately::Db::BeginScanRequest
18
18
  end
19
19
  def initialize(
20
20
  store_id: 0,
21
- filter_condition: [],
21
+ filter_conditions: [],
22
22
  limit: 0,
23
23
  segmentation_params: nil,
24
24
  schema_version_id: 0,
@@ -44,25 +44,25 @@ class Stately::Db::BeginScanRequest
44
44
  def clear_store_id
45
45
  end
46
46
 
47
- # filter_condition is a set of conditions to filter the scan result by.
47
+ # filter_conditions is a set of conditions to filter the scan result by.
48
48
  # If no conditions are provided, all items in the store will be returned.
49
49
  # Filter conditions are combined with OR.
50
50
  sig { returns(T::Array[T.nilable(Stately::Db::FilterCondition)]) }
51
- def filter_condition
51
+ def filter_conditions
52
52
  end
53
53
 
54
- # filter_condition is a set of conditions to filter the scan result by.
54
+ # filter_conditions is a set of conditions to filter the scan result by.
55
55
  # If no conditions are provided, all items in the store will be returned.
56
56
  # Filter conditions are combined with OR.
57
57
  sig { params(value: ::Google::Protobuf::RepeatedField).void }
58
- def filter_condition=(value)
58
+ def filter_conditions=(value)
59
59
  end
60
60
 
61
- # filter_condition is a set of conditions to filter the scan result by.
61
+ # filter_conditions is a set of conditions to filter the scan result by.
62
62
  # If no conditions are provided, all items in the store will be returned.
63
63
  # Filter conditions are combined with OR.
64
64
  sig { void }
65
- def clear_filter_condition
65
+ def clear_filter_conditions
66
66
  end
67
67
 
68
68
  # limit is the maximum number of items to return. If this is not specified or
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statelydb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stately Cloud, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-27 00:00:00.000000000 Z
11
+ date: 2025-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -58,14 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.64.3
61
+ version: 1.73.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.64.3
68
+ version: 1.73.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 13.3.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 13.3.0
69
83
  description: Client for StatelyDB, a document database built on top of DynamoDB with
70
84
  Elastic Schema that allows you to change your data model any time with automatic
71
85
  backwards compatibility.