runtimeerror_notifier 0.0.26 → 0.0.27

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 830a58cf96581856000535c464eb8ad0cc258475
4
- data.tar.gz: 1e5c099908a749a1314e8118fa2756c052528a3a
3
+ metadata.gz: 669945e051a469266cc62170180f882fb77be769
4
+ data.tar.gz: 43980d64c588a7221cf43945b6bead91a3fbc056
5
5
  SHA512:
6
- metadata.gz: 6a0b583dfbde301605a1d899065bbe2d2783a531b515872b5eed2c0be8f49f6b047edf4c0015509baa279f45e433b8d57d007492932c24822c326acb34d5108a
7
- data.tar.gz: 8ce34049209423a7f5251103e8971451659e9181474f27e22be55942c209c62b9230081dcc771321aa7a9ed09d64bc667033a164b26aa86dec978a2aacf59987
6
+ metadata.gz: a2bd5e67e80f3cabc2debc1ccb361a6f425152637fb555208a7c38fbbdab567c0b4d6e0fbf6cbf548c0930984faa6f0e79fcd63ca6dd518f3f99378fda3490e5
7
+ data.tar.gz: 9ec407e4cfab0925bc0fc248bf62f90d4d92c68487d17c0728185847fc51b9c07daf16842f28501b0c2c838601e4d96605a737982a7bacd5cc66ea13fc8320df
@@ -24,7 +24,7 @@ module RuntimeerrorNotifier
24
24
  end
25
25
 
26
26
  def self.notification(env, exception, options={})
27
- self.notification_mail(env, exception, options).try(:deliver_later) # Rails 4
27
+ self.notification_mail(env, exception, options).try(:deliver_later) # Rails 4.2
28
28
  end
29
29
 
30
30
  def notification_mail(env, exception, options={})
@@ -41,8 +41,8 @@ module RuntimeerrorNotifier
41
41
  else
42
42
  email = compose_email(env, original_exception, options)
43
43
  make_request(email)
44
+ email.try(:perform_deliveries=, false)
44
45
  end
45
- mail.perform_deliveries = false
46
46
  end
47
47
 
48
48
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runtimeerror_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wong Liang Zan