ruby_event_store 2.13.0 → 2.14.0

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: 73f43b0e4a063400ef20694abb7eb89adbd7742cba5b8c363fed8b8920f3d43b
4
- data.tar.gz: f0e7ad5c67950d8111aea122204ab10c638a3bf4a44bcd39ec311d511ed420b7
3
+ metadata.gz: 836f9dd4bd390c40e4f72228c7822f0d2ade9db127aa3d44fbed71919b525a17
4
+ data.tar.gz: 1c0f3710b3eca02dc42ccbcc0a6bb4f45eb8ee9a7b3c4153a3ba6a9a432b5d41
5
5
  SHA512:
6
- metadata.gz: 80d69bf0eb026d2d4d8842cea5c26c04a0c46f4651b58800ab1a456cbb9a725df76d004bcbc69a291d0ee117ab939d74f5ba6458a8d029a970f87088db4cbac1
7
- data.tar.gz: 3aee127d839698b67bd0602973f15d54f9cd0eb3b036fb2ae7da04394229683f959e6905d5da54dfe0d2ae34f839d70bf25f9bf8e3ca7d34475a2131f4117789
6
+ metadata.gz: 95a79f1da0ef05ea69a7135010c8644c57460c0d0f0a1d85de5938ebf4106d6d845bdd30f69edf3aafcfe40f2e33b1d223642443b79b52ef31d62640d33b7ff8
7
+ data.tar.gz: b1aa7340b68619f9ae6c7df941e28edf2d41a87a660f89455c67ad65eb6553535b3426277a80cbe4f2e435753ada09686f26ba8dc1c569063e2d16e705b3cc9c
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.shared_examples :broker do |broker_klass|
2
4
  let(:event) { instance_double(::RubyEventStore::Event, event_type: "EventType") }
3
5
  let(:record) { instance_double(::RubyEventStore::Record) }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.shared_examples :dispatcher do |dispatcher|
2
4
  specify "#call" do
3
5
  expect(dispatcher).to respond_to(:call).with(3).arguments
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.shared_examples :event do |event_class, data, metadata|
2
4
  it "allows initialization" do
3
5
  expect {
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RubyEventStore
2
4
  # @private
3
5
  class SRecord
@@ -909,10 +911,7 @@ module RubyEventStore
909
911
 
910
912
  specify "can store arbitrary binary data" do
911
913
  skip unless helper.supports_binary?
912
- binary = "\xB0"
913
- expect(binary.valid_encoding?).to eq(false)
914
- binary.force_encoding("binary")
915
- expect(binary.valid_encoding?).to eq(true)
914
+ binary = String.new("\xB0").force_encoding("binary")
916
915
 
917
916
  repository.append_to_stream([event = SRecord.new(data: binary, metadata: binary)], stream, version_none)
918
917
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RubyEventStore
2
4
  ::RSpec.shared_examples :mapper do |mapper, event|
3
5
  specify "event_to_record returns instance of Record" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.shared_examples :scheduler do |scheduler|
2
4
  specify "#call" do
3
5
  expect(scheduler).to respond_to(:call).with(2).arguments
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.shared_examples :subscriptions do |subscriptions_class|
2
4
  Test1DomainEvent = Class.new(RubyEventStore::Event)
3
5
  Test2DomainEvent = Class.new(RubyEventStore::Event)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyEventStore
4
- VERSION = "2.13.0"
4
+ VERSION = "2.14.0"
5
5
  end
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.13.0
4
+ version: 2.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.3.7
122
+ rubygems_version: 3.5.5
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Implementation of an event store in Ruby