pub_sub_model_sync 0.5.1 → 0.5.1.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/pub_sub_model_sync/message_publisher.rb +1 -1
- data/lib/pub_sub_model_sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2f51ef8b439385ed1ff19a342bcfb74571d8d02beb656bc85abb5406e213ee4
|
4
|
+
data.tar.gz: 47cfbad901cd469f91a137f53d2058d9c58e65ff83ee0e2ee9ccb0b2728e398c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e5d8da552b0ad819d54aa75a781b4c4848a2c2456d68aa4e60d62291c601107b15c06d5e6c77caff884ed2070493c4291056d532f7674a0a239929bec3abf24
|
7
|
+
data.tar.gz: 6f7f00ac5d1f7bd8be06ae10831446432d7c049ac79339bf704e86af7f1988e775a7a3f158e005f2bdcacaca3a79a82f2f4845aad0e4d5c047d3b465dee89576
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
# 0.5.1.1 (December 29, 2020)
|
4
|
+
- Hotfix: auto convert class name into string
|
5
|
+
|
3
6
|
# 0.5.1 (December 24, 2020)
|
4
7
|
- feat: rename publisher callbacks to be more understandable
|
5
8
|
- feat: add callbacks to listen when processing a message (before saving sync)
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ module PubSubModelSync
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def publish_data(klass, data, action)
|
11
|
-
payload = PubSubModelSync::Payload.new(data, { klass: klass, action: action.to_sym })
|
11
|
+
payload = PubSubModelSync::Payload.new(data, { klass: klass.to_s, action: action.to_sym })
|
12
12
|
publish(payload)
|
13
13
|
end
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pub_sub_model_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.1
|
4
|
+
version: 0.5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|