woopra_rails 1.0 → 1.0.1

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
- def identify(email)
4
- @base_params += "&cv_name=#{email}"
3
+ def identify(name=nil, email=nil)
4
+ @base_params += "&cv_name=#{name}&cv_email=#{email}"
5
5
  issue_request
6
6
  end
7
7
 
@@ -20,5 +20,9 @@ module WoopraRails::Session
20
20
  def page_path
21
21
  request.url
22
22
  end
23
+
24
+ def clear_session
25
+ session[:woopra_user_id] = nil
26
+ end
23
27
  end
24
28
  end
@@ -1,3 +1,3 @@
1
1
  module WoopraRails
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
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.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: