trailguide 0.3.2 → 0.3.4

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: 330d49638c039bf2d1dd5bafacfaf80665fee68561c90bc6d7377c89bf4f2fbc
4
- data.tar.gz: 9912feb24453808ddb619e484bfa9773c075b5f4d8852d86ce42eed9d51b5468
3
+ metadata.gz: 908aa4aad8cd6a7db959531d36cbb45f8f9709a2ce7ce40c94b21049d2b488bc
4
+ data.tar.gz: ce4178d1fc125ba4ccb1dc8319e4ce4256e1fb793a42b4e1a4921e42c6b72ae4
5
5
  SHA512:
6
- metadata.gz: a4dfb2b8b0cfe38512eaa5af2c5184da9a0ae61186b6db72caabfe3107a714e443423143d7a8ce8537de9c98f5b8bd367e756a0f0c2768dcc1626149a10cb9c9
7
- data.tar.gz: dde361815462dfbb77949c13e2bb1dd1868270de4579589aaa00209652cadc00093692ed25023b6f74a06417ea9290408f8f2f682e05e65b566e169938f6c94b
6
+ metadata.gz: 9c0380169c1db2c4878663b77a2548eb9cd69b91957d380edcdb7a9b2f931e8ea865f38b4d944bd672d0dbfe2d30d52904bd4a93aa2a501bbf1d0c2c0b44da8f
7
+ data.tar.gz: 82a1a7c073a47d077b0eeb8bba4ccfb4945e8f8177f4251543c733ee623dc9cea790d9bc1bbb076873e16c6ac07d63abc8faede40bad259873d8116d8074ac22
@@ -14,6 +14,9 @@ module TrailGuide
14
14
  @trailguide_participant ||= TrailGuide::Participant.new(self)
15
15
  @trailguide_participant = TrailGuide::Participant.new(self) if @trailguide_participant.context != self
16
16
  @trailguide_participant
17
+ rescue => e
18
+ TrailGuide.logger.error e
19
+ @trailguide_participant = TrailGuide::Participant.new(self, adapter: Adapters::Participants::Anonymous)
17
20
  end
18
21
 
19
22
  # TODO maybe move this to the experiment proxy so it can be configured per-experiment
@@ -2,7 +2,7 @@ module TrailGuide
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 2
5
+ PATCH = 4
6
6
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails