rssendy 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 2feac2b5ec0601ea52e8481f00f3355594018bc5
4
- data.tar.gz: 1d3f5022dc0b41ba46754288d329ab97b6009745
3
+ metadata.gz: 9aa7995856966f7d3bdf29bf8c2ba5eafe2da5d1
4
+ data.tar.gz: d14c39fbc1d0e51a513015653dff2d4920827aa0
5
5
  SHA512:
6
- metadata.gz: 35be4485db70650686dba33e206937a08e8b9ae36041a43f07d374f9f65fb33da3f5a29b34fd4402418b8c60a92de5e0ff2992c676ba52fba21f81abc517391c
7
- data.tar.gz: 71f368a5dd5a3cf467c8c0a953bb2fc30f644968e81280f8a874fce9b361482b356e5bcd6e7d144fe9fde82823a2af635f59327ee4573c582134042eaf11db09
6
+ metadata.gz: 45b48c5e05568f6f09e062e94ac8d5e0d19478bc9d6445d6b1d29ea173fe0a3c3812e57692d95004fd79657cfcf2949e14e3b9999c870ec6e8e83cf0c7f03324
7
+ data.tar.gz: 3ee14f203fd93512f84097b824f9758b83bcab70d98a8c1acee54ed7a2f6238537f657e8d550dde236bc53c766b3f83c93bcc8f5bae4ff03895d8c3a2dc02fc3
@@ -1,3 +1,3 @@
1
1
  module RSSendy
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/rssendy.rb CHANGED
@@ -124,7 +124,7 @@ module RSSendy
124
124
  from_name: from_name,
125
125
  from_email: from_email,
126
126
  reply_to: reply_to,
127
- subject: rss_subject? ? parse_subject : subject,
127
+ subject: rss_subject? ? subject[doc] : subject,
128
128
  html_text: build_template
129
129
  }.tap {|opts|
130
130
  %i(plain_text list_ids brand_id send_campaign).each do |property|
@@ -133,10 +133,6 @@ module RSSendy
133
133
  end
134
134
  }
135
135
  end
136
-
137
- def parse_subject
138
- doc.instance_eval(subject)
139
- end
140
136
  end
141
137
  end
142
138
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rssendy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jonah honeyman