woopra_rails 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  module WoopraRails
2
2
  class << self
3
3
  def identify(name="", email="")
4
- session = Digest::MD5.hexdigest(email) rescue ""
4
+ session = "woopra_rails-#{Digest::MD5.hexdigest("#{user_email} #{user_name}")}" rescue ""
5
5
  ::Rails.logger.debug "Session: #{session}"
6
6
  name = begin
7
7
  URI::encode name
@@ -25,7 +25,7 @@ module WoopraRails
25
25
  end
26
26
 
27
27
  def record(event_name, user_name="", user_email="", args={})
28
- session = Digest::MD5.hexdigest(email) rescue ""
28
+ session = "woopra_rails-#{Digest::MD5.hexdigest("#{user_email} #{user_name}")}" rescue ""
29
29
  ::Rails.logger.debug "Session: #{session}"
30
30
  name = begin
31
31
  URI::encode name
@@ -1,3 +1,3 @@
1
1
  module WoopraRails
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woopra_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: