pub_sub_model_sync 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pub_sub_model_sync/payload.rb +3 -0
- 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: d7ea520bc38ca14cb53e4163ed40fb3d2393fc7eff35effedf379e56f25e8372
|
4
|
+
data.tar.gz: ddbec139ee891136fc5cba84cb90a7a3828ab4de17b971ac6a33039d8070d165
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b5c26a832cd758abc4fa66e23698cf7fcc44b4c81f4701b372eb20ce99553a8abfdbb4d94c15d4aa788af347078f1068998ec41c866235d4413aac871057cc
|
7
|
+
data.tar.gz: 98b36dd457b82fd78b383ab98eb73f10115fc1650cf0b00d1041f9e87afef797c72e0eb17fdca2333fe923ad9df0aed5e63916043ac31d8cb3a64e4dbc463038
|
data/Gemfile.lock
CHANGED
@@ -85,7 +85,10 @@ module PubSubModelSync
|
|
85
85
|
|
86
86
|
# @param attr_keys (Array<Symbol>) List of attributes to be excluded from payload
|
87
87
|
def exclude_data_attrs(attr_keys)
|
88
|
+
orig_data = data.clone
|
89
|
+
headers[:excluded_attr_keys] = attr_keys.join(',')
|
88
90
|
@data = data.except(*attr_keys)
|
91
|
+
Config.log("Empty payload after payload optimization (original data: #{[self, orig_data]})") if @data == []
|
89
92
|
end
|
90
93
|
|
91
94
|
# Attributes to always be delivered after cache optimization
|
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: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|