sequent 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sequent/core/aggregate_repository.rb +94 -0
  3. data/lib/sequent/core/aggregate_root.rb +87 -0
  4. data/lib/sequent/core/base_command_handler.rb +39 -0
  5. data/lib/sequent/core/base_event_handler.rb +51 -0
  6. data/lib/sequent/core/command.rb +79 -0
  7. data/lib/sequent/core/command_record.rb +26 -0
  8. data/lib/sequent/core/command_service.rb +118 -0
  9. data/lib/sequent/core/core.rb +15 -0
  10. data/lib/sequent/core/event.rb +62 -0
  11. data/lib/sequent/core/event_record.rb +34 -0
  12. data/lib/sequent/core/event_store.rb +110 -0
  13. data/lib/sequent/core/helpers/association_validator.rb +39 -0
  14. data/lib/sequent/core/helpers/attribute_support.rb +207 -0
  15. data/lib/sequent/core/helpers/boolean_support.rb +36 -0
  16. data/lib/sequent/core/helpers/copyable.rb +25 -0
  17. data/lib/sequent/core/helpers/equal_support.rb +41 -0
  18. data/lib/sequent/core/helpers/helpers.rb +9 -0
  19. data/lib/sequent/core/helpers/mergable.rb +21 -0
  20. data/lib/sequent/core/helpers/param_support.rb +80 -0
  21. data/lib/sequent/core/helpers/self_applier.rb +45 -0
  22. data/lib/sequent/core/helpers/string_support.rb +22 -0
  23. data/lib/sequent/core/helpers/uuid_helper.rb +17 -0
  24. data/lib/sequent/core/record_sessions/active_record_session.rb +92 -0
  25. data/lib/sequent/core/record_sessions/record_sessions.rb +2 -0
  26. data/lib/sequent/core/record_sessions/replay_events_session.rb +306 -0
  27. data/lib/sequent/core/tenant_event_store.rb +18 -0
  28. data/lib/sequent/core/transactions/active_record_transaction_provider.rb +16 -0
  29. data/lib/sequent/core/transactions/no_transactions.rb +13 -0
  30. data/lib/sequent/core/transactions/transactions.rb +2 -0
  31. data/lib/sequent/core/value_object.rb +48 -0
  32. data/lib/sequent/migrations/migrate_events.rb +53 -0
  33. data/lib/sequent/migrations/migrations.rb +7 -0
  34. data/lib/sequent/sequent.rb +3 -0
  35. data/lib/sequent/test/command_handler_helpers.rb +101 -0
  36. data/lib/sequent/test/test.rb +1 -0
  37. data/lib/version.rb +3 -0
  38. metadata +38 -3
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: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Vonk
@@ -110,8 +110,7 @@ dependencies:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
112
  version: '1.1'
113
- description: Sequent is an event sourcing framework for Ruby. It supports multitentant
114
- Sinatra backed applications by default.
113
+ description: Sequent is a CQRS and event sourcing framework for Ruby.
115
114
  email:
116
115
  - lars.vonk@gmail.com
117
116
  - bforma@zilverline.com
@@ -121,6 +120,42 @@ extensions: []
121
120
  extra_rdoc_files: []
122
121
  files:
123
122
  - lib/sequent.rb
123
+ - lib/sequent/core/aggregate_repository.rb
124
+ - lib/sequent/core/aggregate_root.rb
125
+ - lib/sequent/core/base_command_handler.rb
126
+ - lib/sequent/core/base_event_handler.rb
127
+ - lib/sequent/core/command.rb
128
+ - lib/sequent/core/command_record.rb
129
+ - lib/sequent/core/command_service.rb
130
+ - lib/sequent/core/core.rb
131
+ - lib/sequent/core/event.rb
132
+ - lib/sequent/core/event_record.rb
133
+ - lib/sequent/core/event_store.rb
134
+ - lib/sequent/core/helpers/association_validator.rb
135
+ - lib/sequent/core/helpers/attribute_support.rb
136
+ - lib/sequent/core/helpers/boolean_support.rb
137
+ - lib/sequent/core/helpers/copyable.rb
138
+ - lib/sequent/core/helpers/equal_support.rb
139
+ - lib/sequent/core/helpers/helpers.rb
140
+ - lib/sequent/core/helpers/mergable.rb
141
+ - lib/sequent/core/helpers/param_support.rb
142
+ - lib/sequent/core/helpers/self_applier.rb
143
+ - lib/sequent/core/helpers/string_support.rb
144
+ - lib/sequent/core/helpers/uuid_helper.rb
145
+ - lib/sequent/core/record_sessions/active_record_session.rb
146
+ - lib/sequent/core/record_sessions/record_sessions.rb
147
+ - lib/sequent/core/record_sessions/replay_events_session.rb
148
+ - lib/sequent/core/tenant_event_store.rb
149
+ - lib/sequent/core/transactions/active_record_transaction_provider.rb
150
+ - lib/sequent/core/transactions/no_transactions.rb
151
+ - lib/sequent/core/transactions/transactions.rb
152
+ - lib/sequent/core/value_object.rb
153
+ - lib/sequent/migrations/migrate_events.rb
154
+ - lib/sequent/migrations/migrations.rb
155
+ - lib/sequent/sequent.rb
156
+ - lib/sequent/test/command_handler_helpers.rb
157
+ - lib/sequent/test/test.rb
158
+ - lib/version.rb
124
159
  homepage: https://github.com/zilverline/sequent
125
160
  licenses:
126
161
  - MIT