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 +4 -4
- data/journaled_schemas/base_event.json +21 -0
- data/journaled_schemas/journaled/change.json +47 -0
- data/lib/journaled/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 878b6e83aa7e165d108ec09b1faca07c1576e9a8
|
4
|
+
data.tar.gz: f9ab27442fc7579393c5073a3bbe99792b304dc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
|
data/lib/journaled/version.rb
CHANGED
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.
|
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
|