brm_client 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
data/brm_client.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{brm_client}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stephane Bellity"]
@@ -35,10 +35,10 @@ module BrmClient
35
35
  event["data"] = data || {}
36
36
  event["context"] = context || {}
37
37
 
38
- event["data"]["agent"] = {:id => facet_id, :type => "facet"} if facet_id
38
+ event["data"]["agent"] = {:id => facet_id.to_s, :type => "facet"} if facet_id
39
39
 
40
40
  if user_id
41
- event["data"]["agent"] ||= {:id => user_id, :type => "user"}
41
+ event["data"]["agent"] ||= {:id => user_id.to_s, :type => "user"}
42
42
  event["context"]["userID"] = user_id
43
43
  end
44
44
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 2
9
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Stephane Bellity