sequent 7.1.0 → 7.2.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: 31a7eb29122b5706014155cacea33cc9064991eca03762d6c9eb0a300e4d3fe5
4
- data.tar.gz: 4724c03d49b69fd01d111a53961936c3b1a6adba91bacb9af0abd97c4337d49a
3
+ metadata.gz: 516eaa30164cf31340f225e671c48614fa5201fcd8af4da43082ec8fa594fdbe
4
+ data.tar.gz: b744ba69e6f339d77343d0a52fa42453545c0ac3056a3c85ab51dae2d6aa6332
5
5
  SHA512:
6
- metadata.gz: 6c13866f01dde089ae6cd95ca17fbbfd594209751300f429b0ef4f3680d19f1a468bf2675b24536b6e09150f80471afdab5a663be79fd45692fe758c47dd8f26
7
- data.tar.gz: 96d19ae22452eb86ed09fda426e6cb56aad6b47be5589004a8ba0e24623bd8316297d8b29829210fafb57e75b251797007bb9b610d27850809ce4b1c661adcde
6
+ metadata.gz: c9030ef57d0369dcb184609394f88ca165907a7b0cade5fb8b53109d71be8627c0c01270360ac1b84da5018056aafd13162d6363de42a74082ac2ce38b5a9e58
7
+ data.tar.gz: 78b6528040a273ae3fb2cd13c962bc9874157330b9bdb8dafa9997634f27e7861ba3db4871f1065aea45301396f156225b66de33ac0a25b69024b46903ceb676
@@ -1,9 +1,8 @@
1
1
  source "https://rubygems.org"
2
- ruby "3.0.0"
2
+ ruby file: ".ruby-version"
3
3
 
4
4
  gem 'rake'
5
- # let's use the latest and greatest
6
- gem 'sequent', git: 'https://github.com/zilverline/sequent'
5
+ gem 'sequent'
7
6
 
8
7
  group :test do
9
8
  gem 'rspec'
@@ -2,12 +2,5 @@ require './db/migrations'
2
2
 
3
3
  Sequent.configure do |config|
4
4
  config.migrations_class_name = 'Migrations'
5
-
6
- config.command_handlers = [
7
- PostCommandHandler.new
8
- ]
9
-
10
- config.event_handlers = [
11
- PostProjector.new
12
- ]
5
+ config.enable_autoregistration = true
13
6
  end
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.3.5
@@ -8,12 +8,7 @@ require 'database_cleaner'
8
8
 
9
9
  require_relative '../my_app'
10
10
 
11
- db_config = Sequent::Support::Database.read_config('test')
12
- Sequent::Support::Database.establish_connection(db_config)
13
-
14
- Sequent::Support::Database.drop_schema!(Sequent.configuration.view_schema_name)
15
-
16
- Sequent::Migrations::ViewSchema.new(db_config: db_config).create_view_tables
11
+ Sequent::Test::DatabaseHelpers.maintain_test_database_schema(env: 'test')
17
12
 
18
13
  module DomainTests
19
14
  def self.included(base)
@@ -186,8 +186,8 @@ module Sequent
186
186
  #
187
187
  # @raise ConcurrentMigrationError if migration is already running
188
188
  def migrate_online
189
- ensure_valid_plan!
190
189
  migrate_metadata_tables
190
+ ensure_valid_plan!
191
191
 
192
192
  return if Sequent.new_version == current_version
193
193
 
@@ -294,6 +294,7 @@ module Sequent
294
294
  exec_sql([Versions.migration_sql].join("\n"))
295
295
  end
296
296
  end
297
+ Versions.reset_column_information
297
298
  end
298
299
 
299
300
  def ensure_version_correct!
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sequent
4
- VERSION = '7.1.0'
4
+ VERSION = '7.2.0'
5
5
  end
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: 7.1.0
4
+ version: 7.2.0
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: 2024-09-26 00:00:00.000000000 Z
15
+ date: 2024-12-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activemodel
@@ -56,6 +56,20 @@ dependencies:
56
56
  - - "~>"
57
57
  - !ruby/object:Gem::Version
58
58
  version: '3.1'
59
+ - !ruby/object:Gem::Dependency
60
+ name: csv
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - "~>"
64
+ - !ruby/object:Gem::Version
65
+ version: '3.3'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.3'
59
73
  - !ruby/object:Gem::Dependency
60
74
  name: i18n
61
75
  requirement: !ruby/object:Gem::Requirement
@@ -70,20 +84,34 @@ dependencies:
70
84
  - - ">="
71
85
  - !ruby/object:Gem::Version
72
86
  version: '0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: logger
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '1.6'
94
+ type: :runtime
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '1.6'
73
101
  - !ruby/object:Gem::Dependency
74
102
  name: oj
75
103
  requirement: !ruby/object:Gem::Requirement
76
104
  requirements:
77
105
  - - "~>"
78
106
  - !ruby/object:Gem::Version
79
- version: '3'
107
+ version: '3.3'
80
108
  type: :runtime
81
109
  prerelease: false
82
110
  version_requirements: !ruby/object:Gem::Requirement
83
111
  requirements:
84
112
  - - "~>"
85
113
  - !ruby/object:Gem::Version
86
- version: '3'
114
+ version: '3.3'
87
115
  - !ruby/object:Gem::Dependency
88
116
  name: parallel
89
117
  requirement: !ruby/object:Gem::Requirement