rails_event_store_active_record 2.4.0 → 2.4.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: b146f907eef70a988c0949381dbf897a4f93bd7aa9e1ccf8346559c2656feb80
4
- data.tar.gz: 46b6f4ce8d62b7386d72a1219a375e012bd3d15b33b16fe552cb8adee9f4f6e4
3
+ metadata.gz: 01f543e587aa7d0e80e4997d7816fbb5959cd201499b20d1bce9e10714f7230f
4
+ data.tar.gz: 61c6514fcb746888a8a9e4fc6f0ef09165c340df126c1529f826712e7c1f3626
5
5
  SHA512:
6
- metadata.gz: 0be237c7518c776a5ee19e8625f39966a20f255b0076839695957df0aa337c181bc7c85351afb2a1fbffdd6b0fd75fa50217482c30d1aa82437b242a32552e8d
7
- data.tar.gz: 32aa1160ba4de4081357319e25012330249b6e946d0e0b558452fe41e7a30aa25e70d65faf9897ba6b7afac841c6b2ea6011117a892a272179da58b38a96bbb4
6
+ metadata.gz: f18461e65333702092fef812d8084d7901d59c39fedbf7b01c7d3257d6341ca7429c47fe064299c009395e877293834d0da8eb7497b7fc3ce5d53b3e61fd4c2f
7
+ data.tar.gz: 613caa07c23ba7c72c13c3e88ef93a4ff09b2d501879dda2c67b6404544fc03ee1d5f4e5f0dfeaf24915e4cf153cd0e63520618ebf99fd8913104a0370ab2744
@@ -15,6 +15,8 @@ module RailsEventStoreActiveRecord
15
15
  end
16
16
 
17
17
  def append_to_stream(records, stream, expected_version)
18
+ return if records.empty?
19
+
18
20
  hashes = []
19
21
  event_ids = []
20
22
  records.each do |record|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStoreActiveRecord
4
- VERSION = "2.4.0"
4
+ VERSION = "2.4.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
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-27 00:00:00.000000000 Z
11
+ date: 2022-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.0
19
+ version: 2.4.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.4.0
26
+ version: 2.4.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement