mail_jack 0.2.1 → 0.2.2

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.
@@ -7,6 +7,9 @@ module MailJack
7
7
  hrefs = hrefs.uniq
8
8
 
9
9
  querystr = MailJack.trackables.keys.inject({}) {|hash, a| hash[a] = message.send(a); hash}.to_query
10
+ if MailJack.config.enable_encoding?
11
+ querystr = "#{MailJack.config.encode_to}=#{Base64.encode64(querystr)}"
12
+ end
10
13
  hrefs.each do |h|
11
14
  q = "?#{querystr}" unless h.include?("?")
12
15
  body.gsub!(h, "#{h}#{q}")
@@ -1,4 +1,4 @@
1
1
  module MailJack
2
2
  # The version of the gem
3
- VERSION = '0.2.1'.freeze unless defined?(::MailJack::VERSION)
3
+ VERSION = '0.2.2'.freeze unless defined?(::MailJack::VERSION)
4
4
  end
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.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -41,13 +41,13 @@ require_paths:
41
41
  required_ruby_version: !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - '>='
44
+ - - ! '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  none: false
49
49
  requirements:
50
- - - '>='
50
+ - - ! '>='
51
51
  - !ruby/object:Gem::Version
52
52
  version: 1.3.6
53
53
  requirements: []