mixpanel-mail 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,11 @@ module ActionMailer
|
|
10
10
|
cattr_accessor :token
|
11
11
|
|
12
12
|
class << self
|
13
|
+
def activate!(token)
|
14
|
+
self.token = token
|
15
|
+
::ActionMailer::Base.register_interceptor(self)
|
16
|
+
end
|
17
|
+
|
13
18
|
def delivering_email(mail)
|
14
19
|
# Skip Mixpanel if the campaign is not specified
|
15
20
|
return unless mail.header['mp_campaign']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixpanel-mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-09-27 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
16
|
-
requirement: &
|
16
|
+
requirement: &70109454407540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70109454407540
|
25
25
|
description: Helpers for Mixpanel Tracking in Emails
|
26
26
|
email:
|
27
27
|
- mrykov@gmail.com
|