sendgrid 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/sendgrid.rb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/sendgrid.rb CHANGED
@@ -125,7 +125,7 @@ module SendGrid
125
125
  super
126
126
  if @sg_substitutions && !@sg_substitutions.empty?
127
127
  @sg_substitutions.each do |find, replace|
128
- raise ArgumentError.new("Array for #{find} is not the same size as the recipient array") if replace.size != mail.to.size
128
+ raise ArgumentError.new("Array for #{find} is not the same size as the recipient array") if replace.size != @sg_recipients.size
129
129
  end
130
130
  end
131
131
  puts "SendGrid X-SMTPAPI: #{sendgrid_json_headers(mail)}" if Object.const_defined?("SENDGRID_DEBUG_OUTPUT") && SENDGRID_DEBUG_OUTPUT
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Stephen Blankenship
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-05 00:00:00 -06:00
17
+ date: 2010-04-16 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies: []
20
20