exception_handling 1.0.2 → 1.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
  SHA1:
3
- metadata.gz: 51321ac369d03be86441095c3e3e51a5626c172a
4
- data.tar.gz: 26486220d2dd457cfcb50c25429734c3d4fd0ee0
3
+ metadata.gz: 455910720fe5a8b91de548665df5c639c97dcf22
4
+ data.tar.gz: 866669be2cb461553af17b502307e19a1af3b880
5
5
  SHA512:
6
- metadata.gz: 006ea3be42c83b774e577b74ee8fa3cf660dfdb8cc6d7a7d708ee03da1b92991834943ad09a316ff6874c01556f353c1d57e87fef5fb62acbe201fdcc35801be
7
- data.tar.gz: 268d1fdaa1110de69d410ed509b65996a08aaeb1d5eae0cc3f487cffa939b5a093d84f9fa0bacd9778f315526865e7627dc7854758ac0fe0282bf12d8b2ef2fb
6
+ metadata.gz: c9d3e9e02a983357bbec9211b096a6904447b1669ef12db296b1d9a277394b7d713e9fab8fa0fa9f21e4603c18e16a1b71b20fce64b7cf4335ba46fd0e7e19fe
7
+ data.tar.gz: e0cc1d06e1aa28ffe22b9add5ef2c0ce4dd48fa9fa7d9894460cd50a756b4661c48a3a1ab2a6bd09a9c118250e87f8cbfc9f72dd1b98ff7e01b8a226acbdfc7c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exception_handling (1.0.2)
4
+ exception_handling (1.0.3)
5
5
  actionmailer (~> 3.2)
6
6
  actionpack (~> 3.2)
7
7
  activesupport (~> 3.2)
@@ -399,7 +399,7 @@ EOF
399
399
  :auth => {:type=>:plain, :username=>smtp_settings[:user_name], :password=>smtp_settings[:password]},
400
400
  :from => mail_object['from'].to_s,
401
401
  :to => mail_object['to'].to_s,
402
- :content => "#{mail_object}.\r\n"
402
+ :content => "#{mail_object}\r\n.\r\n"
403
403
  }
404
404
  )
405
405
  send_deferrable.errback { |err| ExceptionHandling.logger.fatal("Failed to email by SMTP: #{err.inspect}") }
@@ -1,3 +1,3 @@
1
1
  module ExceptionHandling
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -528,7 +528,7 @@ class ExceptionHandlingTest < ActiveSupport::TestCase
528
528
  EventMachineStub.block.call
529
529
  assert content = SmtpClientStub.send_hash[:content]
530
530
  assert_match(/Content-Transfer-Encoding: 7bit/, content)
531
- assert_match(/<\/html>\r\n\.\r\n\z/, content)
531
+ assert_match(/\r\n\.\r\n\z/, content)
532
532
  end
533
533
 
534
534
  should "log fatal on EventMachine STMP errback" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_handling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Kelley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine