rudder_analytics_sync 1.0.5 → 1.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 157030c6f0cb2352bf8efda032c35fd760fdbf6f
|
4
|
+
data.tar.gz: 59af93b4a244d8836f766995901e16cba9a24489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f66625ad1e88c3bb0c36790e606b86c207914cd35e6a6641883ddd33ab39c3bb176c81b9cd33325ac68c558f0260da42f40d0b019316d1b420eca1eb2f6afc3
|
7
|
+
data.tar.gz: 2b5ff7739615de79136ac718a89f975ffde9a7972c8aa6e48baf1034cd1aa72377c8e232fefe6c7d5271f6da108f6b557e52f0a22d68bdadbc33b58c87460d35
|
@@ -37,9 +37,11 @@ module RudderAnalyticsSync
|
|
37
37
|
|
38
38
|
anonymous_id = options[:anonymous_id] || uid()
|
39
39
|
user_id = options[:user_id]
|
40
|
-
context[:traits] = (context[:traits] || {})
|
41
|
-
|
42
|
-
|
40
|
+
context[:traits] = (context[:traits] || {}).merge(
|
41
|
+
{
|
42
|
+
anonymousId: anonymous_id
|
43
|
+
}
|
44
|
+
)
|
43
45
|
|
44
46
|
if (user_id)
|
45
47
|
context[:traits] = context[:traits].merge({userId: user_id})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rudder_analytics_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RudderStack
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|