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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91de95da7df9831c3ab11b091d4caa81d566044ca054f450a4ece7b6c74e50eb
4
- data.tar.gz: 3c4a00eccbbb4a3983a87462b52f6e7489ba4079f1f74f5e7bb53959b163a9dd
3
+ metadata.gz: db34c66cb49095be4859980233c7842cfe5d5dacc7a50f9cee43b29518b8bd6b
4
+ data.tar.gz: 247072e30cd5860e653bfaf02a96f557b2386edeb6d8ffdceac898e38c999512
5
5
  SHA512:
6
- metadata.gz: fa89b438040e89c75f7ec183f3ded180c95506d205e60f3c7b1c099b13e63162e91b1205147176cb9271c4a7759f59b0ed1dff793a897c6fae253c0df056007d
7
- data.tar.gz: e877c3aa6c6abcd9375cfafe45c30cea9e86f1a4ca0215a3fd0581b7337487c48ed2fe9ca05bd5f5768292901f2d4dda184f7a6ebe06d1b4cfdee9dbba014f69
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
@@ -2,7 +2,7 @@ module TrailGuide
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec