ahoy_email 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12cfd52040334d8582ee01785c46c290d9a8e125d79ea5a5cddabed3d26ed144
4
- data.tar.gz: db924f04d522c4bb9fd488fb34533349b231148170de637fff11ca34c6c18b36
3
+ metadata.gz: 2d6a37a239580c4817bc92f580c7b765f5664e7d053513b240c5f9f8f6f742c1
4
+ data.tar.gz: 5dbd54944fe7307e279a9f3a9cee92e73d71170c34b9735ff79ad6bf7cba6179
5
5
  SHA512:
6
- metadata.gz: ba35f76f9d5bb2d52972ab648179e710c16eeda09bc51b4f91aff083bad354ec5dd6b8c98985b913efbf40c9e3215a3111e2a45978c647cf2fa8d9bd96519925
7
- data.tar.gz: 1247bc81b9cc52a43ec480640c4c94989cfcf7ac4c0868c5c5cdeb0d85da013f93e9bc61993f78d94a8191819e6b7c76d6593f84d70203ed329793debbf7df2a
6
+ metadata.gz: f65c6d9b1dac63acd45a3021dc21b34e544e08126c406b26eedd18c6ac03eef887355dbe78ff513c4fe3ddb23f9cbcf009e4c9512b8eb14e8e39b0fb1a71c0d7
7
+ data.tar.gz: 991db25fe205dfbea145a972b8f2f334399a966958206c7e7b38e5484c40f73ed173217c987ae850f6419d9592e75e1c9fcbec9ec959d5ef47a229fb218090dc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.3 (2021-03-31)
2
+
3
+ - Fixed `utm_params` and `track_clicks` stripping `<head>` tags from messages
4
+
1
5
  ## 2.0.2 (2021-03-14)
2
6
 
3
7
  - Added support for Mongoid to database subscriber
@@ -53,7 +53,7 @@ module AhoyEmail
53
53
  if html_part?
54
54
  part = message.html_part || message
55
55
 
56
- doc = Nokogiri::HTML::DocumentFragment.parse(part.body.raw_source)
56
+ doc = Nokogiri::HTML::Document.parse(part.body.raw_source)
57
57
  doc.css("a[href]").each do |link|
58
58
  uri = parse_uri(link["href"])
59
59
  next unless trackable?(uri)
@@ -1,3 +1,3 @@
1
1
  module AhoyEmail
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer