ruby_event_store 2.4.0 → 2.4.1
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: 3960a57258392156fd3d8ee9811d2c23a2b0a348d7938a830ae51f5edec01bc7
|
4
|
+
data.tar.gz: e4c4ef6136891a68ed94609f1fbd58ac0ce6ec854a1a843f7b167573b2cc6070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 239185c1c4a70275d394c1c7e702b1afaa8c8cdd22b2ff0ba25a1b042ca036a1e3eddc26aeb9b8ce638c9f8e81b372cd4eccdd230238b74ffe28060e754707ad
|
7
|
+
data.tar.gz: 1dd1af400141ed99a0ccf31234f48311d935f23d7ac8367eb48f44e0f845193af973a6c4b00dc554c45ae07c25067d83828fba2a151df1d20082394541a24fd5
|
@@ -1398,6 +1398,15 @@ module RubyEventStore
|
|
1398
1398
|
expect(repository.read(specification.in_batches.as_of.result).to_a.flatten).to eq_ids([e3, e2, e1])
|
1399
1399
|
expect(repository.read(specification.in_batches.as_of.backward.result).to_a.flatten).to eq_ids([e1, e2, e3])
|
1400
1400
|
end
|
1401
|
+
|
1402
|
+
specify "appending empty list of commits should be a no-op" do
|
1403
|
+
repository.append_to_stream(
|
1404
|
+
[],
|
1405
|
+
RubyEventStore::Stream.new(RubyEventStore::GLOBAL_STREAM),
|
1406
|
+
RubyEventStore::ExpectedVersion.any
|
1407
|
+
)
|
1408
|
+
expect(repository.read(specification.result).count).to eq(0)
|
1409
|
+
end
|
1401
1410
|
end
|
1402
1411
|
|
1403
1412
|
::RSpec::Matchers.define :eq_ids do |expected_ids|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_event_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|