journaled 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: 067a7a010e80a13c5a9204e8e761e949af52243e
4
- data.tar.gz: e5e072be8c838c63dfbbc082b51d709ed11eef6a
3
+ metadata.gz: 878b6e83aa7e165d108ec09b1faca07c1576e9a8
4
+ data.tar.gz: f9ab27442fc7579393c5073a3bbe99792b304dc5
5
5
  SHA512:
6
- metadata.gz: 93726fa7a7c41e57cb7c7a73c6d5bee57d83562e7d52e51306cb1fc0bc25760ca959c5ba256c5415be8df0c45084486eea809372d701d33b5386e3d0dbba5b2c
7
- data.tar.gz: 9c8aea433e5c9ffbdd5039036ea860a9c8cd464ed29fa9330bbbb936ac725b97e3b1c98eb20ea4e612ea33bddf926b80bceb02c412e55f2d0dca78ac3472d666
6
+ metadata.gz: 20fddb8c7405abcfb51c84254940a97e99e8f10d710042c479f75db57d0e681e86762bdc6d12bfa63940de79458748373c2060b2cb7f739e66ea579d15703c34
7
+ data.tar.gz: 22a24cb455b41e770851638a88ef487bdace075399927f3e377866e32541e1cf8b8df01335032fa6248433719cbe4b65d71af3b6ee797f76779c56e9639eae50
@@ -0,0 +1,21 @@
1
+ {
2
+ "type": "object",
3
+ "title": "base_event",
4
+ "additionalProperties": true,
5
+ "required": [
6
+ "id",
7
+ "event_type",
8
+ "created_at"
9
+ ],
10
+ "properties": {
11
+ "id": {
12
+ "type": "string"
13
+ },
14
+ "event_type": {
15
+ "type": "string"
16
+ },
17
+ "created_at": {
18
+ "type": "string"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "type": "object",
3
+ "title": "journaled/change",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "id",
7
+ "event_type",
8
+ "created_at",
9
+ "table_name",
10
+ "record_id",
11
+ "database_operation",
12
+ "logical_operation",
13
+ "changes",
14
+ "actor"
15
+ ],
16
+ "properties": {
17
+ "id": {
18
+ "type": "string"
19
+ },
20
+ "event_type": {
21
+ "type": "string"
22
+ },
23
+ "created_at": {
24
+ "type": "string"
25
+ },
26
+ "table_name": {
27
+ "type": "string"
28
+ },
29
+ "record_id": {
30
+ "type": "string"
31
+ },
32
+ "database_operation": {
33
+ "type": "string",
34
+ "enum": ["create", "update", "delete"]
35
+ },
36
+ "logical_operation": {
37
+ "type": "string"
38
+ },
39
+ "changes": {
40
+ "type": "string"
41
+ },
42
+ "actor": {
43
+ "type": ["string", null]
44
+ }
45
+ }
46
+ }
47
+
@@ -1,3 +1,3 @@
1
1
  module Journaled
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: journaled
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Lipson
@@ -207,6 +207,8 @@ files:
207
207
  - app/models/journaled/not_truly_exceptional_error.rb
208
208
  - app/models/journaled/writer.rb
209
209
  - config/routes.rb
210
+ - journaled_schemas/base_event.json
211
+ - journaled_schemas/journaled/change.json
210
212
  - lib/journaled.rb
211
213
  - lib/journaled/engine.rb
212
214
  - lib/journaled/version.rb