mail_jack 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mail_jack/interceptor.rb +1 -1
- data/lib/mail_jack/version.rb +1 -1
- metadata +2 -2
@@ -11,7 +11,7 @@ module MailJack
|
|
11
11
|
querystr = "#{MailJack.config.encode_to}=#{Base64.encode64(querystr)}"
|
12
12
|
end
|
13
13
|
hrefs.each do |h|
|
14
|
-
q = "
|
14
|
+
q = h.include?("?") ? "&#{querystr}" : "?#{querystr}"
|
15
15
|
body.gsub!(h, "#{h}#{q}")
|
16
16
|
end
|
17
17
|
message.body = body
|
data/lib/mail_jack/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail_jack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Autogenerate query parameters to links in emails to track click throughs
|
15
15
|
email:
|