table_sync 0.0.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +3 -0
- data/.travis.yml +10 -0
- data/README.md +3 -1
- data/Rakefile +2 -0
- data/docs/synopsis.md +246 -0
- data/lib/table_sync/base_publisher.rb +103 -0
- data/lib/table_sync/batch_publisher.rb +102 -0
- data/lib/table_sync/config/callback_registry.rb +53 -0
- data/lib/table_sync/config.rb +84 -0
- data/lib/table_sync/config_decorator.rb +35 -0
- data/lib/table_sync/dsl.rb +25 -0
- data/lib/table_sync/errors.rb +30 -0
- data/lib/table_sync/event_actions.rb +60 -0
- data/lib/table_sync/model/active_record.rb +110 -0
- data/lib/table_sync/model/sequel.rb +76 -0
- data/lib/table_sync/orm_adapter/active_record.rb +29 -0
- data/lib/table_sync/orm_adapter/sequel.rb +50 -0
- data/lib/table_sync/publisher.rb +123 -0
- data/lib/table_sync/receiving_handler.rb +76 -0
- data/lib/table_sync/version.rb +1 -1
- data/lib/table_sync.rb +51 -1
- data/table_sync.gemspec +15 -2
- metadata +148 -4
metadata
CHANGED
@@ -1,15 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: table_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umbrellio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: memery
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rabbit_messaging
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
13
55
|
- !ruby/object:Gem::Dependency
|
14
56
|
name: coveralls
|
15
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +108,76 @@ dependencies:
|
|
66
108
|
- - "~>"
|
67
109
|
- !ruby/object:Gem::Version
|
68
110
|
version: '0.16'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: activejob
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activerecord
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pg
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.18'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.18'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: sequel
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: timecop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
69
181
|
- !ruby/object:Gem::Dependency
|
70
182
|
name: bundler
|
71
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +192,20 @@ dependencies:
|
|
80
192
|
- - ">="
|
81
193
|
- !ruby/object:Gem::Version
|
82
194
|
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: bundler-audit
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
83
209
|
- !ruby/object:Gem::Dependency
|
84
210
|
name: pry
|
85
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +234,8 @@ dependencies:
|
|
108
234
|
- - ">="
|
109
235
|
- !ruby/object:Gem::Version
|
110
236
|
version: '0'
|
111
|
-
description:
|
237
|
+
description: DB Table synchronization between microservices based on Model's event
|
238
|
+
system and RabbitMQ messaging
|
112
239
|
email:
|
113
240
|
- oss@umbrellio.biz
|
114
241
|
executables: []
|
@@ -116,6 +243,7 @@ extensions: []
|
|
116
243
|
extra_rdoc_files: []
|
117
244
|
files:
|
118
245
|
- ".gitignore"
|
246
|
+
- ".rspec"
|
119
247
|
- ".rubocop.yml"
|
120
248
|
- ".travis.yml"
|
121
249
|
- Gemfile
|
@@ -124,7 +252,22 @@ files:
|
|
124
252
|
- Rakefile
|
125
253
|
- bin/console
|
126
254
|
- bin/setup
|
255
|
+
- docs/synopsis.md
|
127
256
|
- lib/table_sync.rb
|
257
|
+
- lib/table_sync/base_publisher.rb
|
258
|
+
- lib/table_sync/batch_publisher.rb
|
259
|
+
- lib/table_sync/config.rb
|
260
|
+
- lib/table_sync/config/callback_registry.rb
|
261
|
+
- lib/table_sync/config_decorator.rb
|
262
|
+
- lib/table_sync/dsl.rb
|
263
|
+
- lib/table_sync/errors.rb
|
264
|
+
- lib/table_sync/event_actions.rb
|
265
|
+
- lib/table_sync/model/active_record.rb
|
266
|
+
- lib/table_sync/model/sequel.rb
|
267
|
+
- lib/table_sync/orm_adapter/active_record.rb
|
268
|
+
- lib/table_sync/orm_adapter/sequel.rb
|
269
|
+
- lib/table_sync/publisher.rb
|
270
|
+
- lib/table_sync/receiving_handler.rb
|
128
271
|
- lib/table_sync/version.rb
|
129
272
|
- table_sync.gemspec
|
130
273
|
homepage: https://github.com/umbrellio/table_sync
|
@@ -149,5 +292,6 @@ requirements: []
|
|
149
292
|
rubygems_version: 3.0.3
|
150
293
|
signing_key:
|
151
294
|
specification_version: 4
|
152
|
-
summary:
|
295
|
+
summary: DB Table synchronization between microservices based on Model's event system
|
296
|
+
and RabbitMQ messaging
|
153
297
|
test_files: []
|