event_sourcery-postgres 0.9.0 → 0.9.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: 1f48f164ba06d6ca1b51c7689644310bc107a37c9501db547a6c70214e41166d
4
- data.tar.gz: 9fa2c3bf874a0bc938c942c65c582c63ea02b48e7ae02fbd535928acc2d4b267
3
+ metadata.gz: 824d15b46de51809119f1adec5708cab3e6e252dabeedc5257cda2b1c934a7bf
4
+ data.tar.gz: deea46e08d13e42d46d37ac7379ccc9782a87e5137710004ce1c922ad283f40d
5
5
  SHA512:
6
- metadata.gz: a5136b5f830ee26b5c7899a3a44e7505c8752ba9ca02d9c739ba0a0eae59bd72c295f208c5a0743e36b53df77b55d4b9fe5126def654c128b3f7b92354871f05
7
- data.tar.gz: 1fc7ba4cbc1661b7b634e91b501adc5e136b6285a184c382f1915865c41a62c634179f035bd1e94734feba03b0a3307ab3951953b1de87f783a2ee726f630db0
6
+ metadata.gz: a9cf1a6d3aad1270378fa68855ca339a3a0bca8aa13c8c06c82da634b340a93822d73254da780fbc6ef7420f9901836ebd81d68cfe0c8c506584b1be3c50c028
7
+ data.tar.gz: 520be11bd4e97b6ecd07fcc995c613c4978dcb97509569d15fda3d28206acd41696db718d54bc54861f72a38e59bdaf61a18369aa09c60cc748991700cb5dc90
data/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
+ ## [0.9.1] - 2022-01-20
10
+
11
+ ### Changed
12
+
13
+ - Removed the use of `**` for the private `EventStore#build_event`
14
+ method signature and places that call it.
15
+
9
16
  ## [0.9.0] - 2021-11-18
10
17
 
11
18
  ### Added
@@ -110,7 +117,8 @@ or when the loop stops
110
117
  - Postgres related configuration is through `EventSourcery::Postgres.configure`
111
118
  instead of `EventSourcery.configure`.
112
119
 
113
- [Unreleased]: https://github.com/envato/event_sourcery-postgres/compare/v0.9.0...HEAD
120
+ [Unreleased]: https://github.com/envato/event_sourcery-postgres/compare/v0.9.1...HEAD
121
+ [0.9.1]: https://github.com/envato/event_sourcery-postgres/compare/v0.9.0...v0.9.1
114
122
  [0.9.0]: https://github.com/envato/event_sourcery-postgres/compare/v0.8.1...v0.9.0
115
123
  [0.8.1]: https://github.com/envato/event_sourcery-postgres/compare/v0.8.0...v0.8.1
116
124
  [0.8.0]: https://github.com/envato/event_sourcery-postgres/compare/v0.7.0...v0.8.0
@@ -60,7 +60,7 @@ module EventSourcery
60
60
  where(Sequel.lit('id >= ?', id)).
61
61
  limit(limit)
62
62
  query = query.where(type: event_types) if event_types
63
- query.map { |event_row| build_event(**event_row) }
63
+ query.map { |event_row| build_event(event_row) }
64
64
  end
65
65
 
66
66
  # Get last event id for a given event types.
@@ -86,7 +86,7 @@ module EventSourcery
86
86
  # @return [Array] of found events
87
87
  def get_events_for_aggregate_id(aggregate_id)
88
88
  events_table.where(aggregate_id: aggregate_id.to_str).order(:version).map do |event_hash|
89
- build_event(**event_hash)
89
+ build_event(event_hash)
90
90
  end
91
91
  end
92
92
 
@@ -118,7 +118,7 @@ module EventSourcery
118
118
  @db_connection[@events_table_name]
119
119
  end
120
120
 
121
- def build_event(**data)
121
+ def build_event(data)
122
122
  @event_builder.build(**data)
123
123
  end
124
124
 
@@ -1,5 +1,5 @@
1
1
  module EventSourcery
2
2
  module Postgres
3
- VERSION = '0.9.0'.freeze
3
+ VERSION = '0.9.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_sourcery-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envato
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - rubygems@envato.com
128
128
  executables: []
@@ -151,7 +151,7 @@ metadata:
151
151
  bug_tracker_uri: https://github.com/envato/event_sourcery-postgres/issues
152
152
  changelog_uri: https://github.com/envato/event_sourcery-postgres/blob/HEAD/CHANGELOG.md
153
153
  source_code_uri: https://github.com/envato/event_sourcery-postgres
154
- post_install_message:
154
+ post_install_message:
155
155
  rdoc_options: []
156
156
  require_paths:
157
157
  - lib
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  requirements: []
169
- rubygems_version: 3.0.3
170
- signing_key:
169
+ rubygems_version: 3.2.22
170
+ signing_key:
171
171
  specification_version: 4
172
172
  summary: Postgres event store for use with EventSourcery
173
173
  test_files: []