event_sourcery 0.24.0 → 1.0.1

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: f837642276b30c8fae75c9314c2adc4854e5b46105b520870f4960cf2b13b461
4
- data.tar.gz: 3622196388903fcf3b4f9b98fb0f5317cbffd71c6cd8b8ccc3cf571d63a773d2
3
+ metadata.gz: 101a542737fe302d06e518887e0663fc1855c331f17199cb00f8e43dbe5a16c5
4
+ data.tar.gz: ffe47fc0617d3ad85978324d56e971226fab0269ed1d95c3bb8212567aa64415
5
5
  SHA512:
6
- metadata.gz: 110dde9b74656dffc1838f5855c203bbd3e74b593a81f5d8a876c2629f99a032b8c577bcd3e59c35f96945032504051d9a7dd1103daa3e44a282b91660f01ac7
7
- data.tar.gz: cf26df2449e5db4a83ae3ce336e382b13c81bd3e6a7381dccab52bcc37d0928c2fa1e44f30d0d351475b520ab739e36b7f9438d2afca6f606d0e091a56725b30
6
+ metadata.gz: 3c0cfeb363bdfd8ed50d8ecbb73f974fc03aba6f802bd4f70a09f4465e1b27a7217d3c64e517e25af81fc32df531be2cdadc713c517825dc45b3e89f83cb4d16
7
+ data.tar.gz: f375efcb3c9d3f09b31e0d01036747db045eb41e74b0feabb87dff069d0a90a52005f6d3829fe8ded28decf32078966c59214dfad2e168aa14759ff7625ef6de
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ 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
+
10
+ ## [1.0.0] - 2023-11-29
11
+
12
+ ### Removed
13
+ - Removed Event.persisted? as it was potentially misleading ([#235])
14
+
15
+ [#235]: https://github.com/envato/event_sourcery/pull/235
16
+
9
17
  ## [0.24.0] - 2021-11-18
10
18
 
11
19
  ### Added
@@ -254,6 +262,7 @@ moving all Postgres related code into a separate gem.
254
262
  - `Command` and `CommandHandler` have been removed.
255
263
 
256
264
  [Unreleased]: https://github.com/envato/event_sourcery/compare/v0.24.0...HEAD
265
+ [1.0.0]: https://github.com/envato/event_sourcery/compare/v0.24.0...v1.0.0
257
266
  [0.24.0]: https://github.com/envato/event_sourcery/compare/v0.23.1...v0.24.0
258
267
  [0.23.1]: https://github.com/envato/event_sourcery/compare/v0.23.0...v0.23.1
259
268
  [0.23.0]: https://github.com/envato/event_sourcery/compare/v0.22.0...v0.23.0
data/README.md CHANGED
@@ -34,9 +34,9 @@ A framework for building event sourced, CQRS applications.
34
34
 
35
35
  ## Development Status
36
36
 
37
- EventSourcery is currently being used in production by multiple apps but we
38
- haven't finalized the API yet and things are still moving rapidly. Until we
39
- release a 1.0 things may change without first being deprecated.
37
+ [![Build Status](https://github.com/envato/event_sourcery/workflows/tests/badge.svg?branch=main)](https://github.com/envato/event_sourcery/actions?query=branch%3Amain)
38
+
39
+ Event Sourcery is in production use at [Envato](http://envato.com).
40
40
 
41
41
  ## Goals
42
42
 
@@ -25,6 +25,8 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.required_ruby_version = '>= 2.2.0'
27
27
 
28
+ spec.add_runtime_dependency 'logger'
29
+
28
30
  spec.add_development_dependency 'bundler'
29
31
  spec.add_development_dependency 'rake', '~> 13'
30
32
  spec.add_development_dependency 'rspec'
@@ -95,11 +95,6 @@ module EventSourcery
95
95
  @causation_id = causation_id
96
96
  end
97
97
 
98
- # Is this event persisted?
99
- def persisted?
100
- !id.nil?
101
- end
102
-
103
98
  def hash
104
99
  [self.class, uuid].hash
105
100
  end
@@ -1,4 +1,4 @@
1
1
  module EventSourcery
2
2
  # Defines the version
3
- VERSION = '0.24.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,15 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_sourcery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envato
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-11-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: logger
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
13
26
  - !ruby/object:Gem::Dependency
14
27
  name: bundler
15
28
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +142,6 @@ metadata:
129
142
  bug_tracker_uri: https://github.com/envato/event_sourcery/issues
130
143
  changelog_uri: https://github.com/envato/event_sourcery/blob/HEAD/CHANGELOG.md
131
144
  source_code_uri: https://github.com/envato/event_sourcery
132
- post_install_message:
133
145
  rdoc_options: []
134
146
  require_paths:
135
147
  - lib
@@ -144,8 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
156
  - !ruby/object:Gem::Version
145
157
  version: '0'
146
158
  requirements: []
147
- rubygems_version: 3.0.3
148
- signing_key:
159
+ rubygems_version: 4.0.3
149
160
  specification_version: 4
150
161
  summary: Event Sourcing Library
151
162
  test_files: []