sequent 8.0.0 → 8.0.2
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: 286e0bad8fae90e0442b711406e06744dd9b11bd761961886349368131fed005
|
4
|
+
data.tar.gz: 805cfede0b646d5aa0da4c4ccbb7a0e34af147bb43a60086c1829d2418a2e97c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3966ba588ecb08107d2608a44af378e8698830a9f0001cb06bb001ed3536c17006911544ab6e3a7be520c9577ba0e5083ea17adc917c932ab58ab0cc9cb3ff03
|
7
|
+
data.tar.gz: 0f9fa0804ee084dfb0b3ab7144c52f53846019cdccbf95926a2be6b7f4b2d8e46b44e387c7a5084c09d49dfc48f7f550cd92aac8e5feb93c1a4de32268d299b8
|
data/bin/sequent
CHANGED
data/lib/sequent/cli/app.rb
CHANGED
@@ -10,8 +10,6 @@ require 'database_cleaner'
|
|
10
10
|
|
11
11
|
require_relative '../my_app'
|
12
12
|
|
13
|
-
Sequent::Test::DatabaseHelpers.maintain_test_database_schema(env: 'test')
|
14
|
-
|
15
13
|
module DomainTests
|
16
14
|
def self.included(base)
|
17
15
|
base.metadata[:domain_tests] = true
|
@@ -22,6 +20,14 @@ RSpec.configure do |config|
|
|
22
20
|
config.include Sequent::Test::CommandHandlerHelpers
|
23
21
|
config.include DomainTests, file_path: %r{/spec\/lib/}
|
24
22
|
|
23
|
+
config.before :suite do
|
24
|
+
Sequent::Support::Database.connect!('test')
|
25
|
+
Sequent::Support::Database.drop_schema!(Sequent.configuration.view_schema_name)
|
26
|
+
Sequent::Support::Database.drop_schema!(Sequent.configuration.event_store_schema_name)
|
27
|
+
|
28
|
+
Sequent::Test::DatabaseHelpers.maintain_test_database_schema(env: 'test')
|
29
|
+
end
|
30
|
+
|
25
31
|
# Domain tests run with a clean sequent configuration and the in memory FakeEventStore
|
26
32
|
config.around :each, :domain_tests do |example|
|
27
33
|
old_config = Sequent.configuration
|
@@ -49,9 +49,6 @@ module Sequent
|
|
49
49
|
db_config = db_config.deep_merge(
|
50
50
|
Sequent.configuration.primary_database_key => db_config_overrides,
|
51
51
|
).stringify_keys
|
52
|
-
if ActiveRecord::VERSION::MAJOR >= 7 && ActiveRecord::VERSION::MINOR < 1
|
53
|
-
ActiveRecord.legacy_connection_handling = false
|
54
|
-
end
|
55
52
|
ActiveRecord::Base.configurations = db_config.stringify_keys
|
56
53
|
ActiveRecord::Base.connects_to database: {
|
57
54
|
Sequent.configuration.primary_database_role => Sequent.configuration.primary_database_key,
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Vonk
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2025-01-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activemodel
|
@@ -545,7 +545,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
545
545
|
- !ruby/object:Gem::Version
|
546
546
|
version: '0'
|
547
547
|
requirements: []
|
548
|
-
rubygems_version: 3.
|
548
|
+
rubygems_version: 3.5.16
|
549
549
|
signing_key:
|
550
550
|
specification_version: 4
|
551
551
|
summary: Event sourcing framework for Ruby
|