trailguide 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trail_guide/adapters/participants/unity.rb +2 -0
- data/lib/trail_guide/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db34c66cb49095be4859980233c7842cfe5d5dacc7a50f9cee43b29518b8bd6b
|
4
|
+
data.tar.gz: 247072e30cd5860e653bfaf02a96f557b2386edeb6d8ffdceac898e38c999512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a32efc6be35605e353e8eda54661548fe08fa5b6ef49f1260eefe8a25d5dd073e8d9758db57e2a1254fdac44bd837daa42a711cc1581b356575ae85af727cd30
|
7
|
+
data.tar.gz: 7fcbc8992bd8ca61b2c736cc6f7582dd4a8974b85c396946f75110d7f7d84379c56c4c31680900ac6278b67e73680757eed8cc8c3c475af378857ab3eff7a53d
|
@@ -70,6 +70,8 @@ module TrailGuide
|
|
70
70
|
end
|
71
71
|
|
72
72
|
def merge!
|
73
|
+
user_adapter = configuration.user_adapter.new(unity.user_id)
|
74
|
+
visitor_adapter = configuration.visitor_adapter.new(unity.visitor_id)
|
73
75
|
user_adapter.keys.each do |key|
|
74
76
|
visitor_adapter[key] = user_adapter[key] unless visitor_adapter[key].present?
|
75
77
|
end
|
data/lib/trail_guide/version.rb
CHANGED