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: 8cbcb8092725026292fd8970fc41d81322f33111
4
- data.tar.gz: 439132be80fba9d1b112664cac937704637dafcb
3
+ metadata.gz: 157030c6f0cb2352bf8efda032c35fd760fdbf6f
4
+ data.tar.gz: 59af93b4a244d8836f766995901e16cba9a24489
5
5
  SHA512:
6
- metadata.gz: 365d647347c0ab43270e7f430b6f82833b83fb797b6bbcd294b89081c5a512c90b815a37d034c419097d37fb32e9ee2c299ec5cdda55c63fcfdd71e0a05c1f03
7
- data.tar.gz: bd951fe2d201e20d92b8e7b791fcdba3b3e2e74209abe855990eb731cb36f6bdfef7073331cc83e39dd7eeeb70e91d8a47656526b36bcc63e6d8e31de2a1a31d
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
- anonymousId: anonymous_id,
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})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RudderAnalyticsSync
4
- VERSION = '1.0.5'
4
+ VERSION = '1.0.6'
5
5
  end
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.5
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-04-23 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler