bugloco 0.0.4 → 0.0.5

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: 620a8abfc5db039673d1e1d2f839613e6f89c7a7
4
- data.tar.gz: 542dea7518cba073ff850e239b79f46e7816a95c
3
+ metadata.gz: a57f746d55b9b3c1226f3427d04437c53271a5e1
4
+ data.tar.gz: ad805b917b367de22d917351553561aa6e1f944e
5
5
  SHA512:
6
- metadata.gz: 7209e52c1deb733a06f1d9ae64980cb7a13875211e2c87bab4f41391b8971e367519dc466d0fd9edd8b7785ff3d44abb7e4e2cdbe0da4d856ca60699d5e33fb6
7
- data.tar.gz: 1c9270bb5e710aa891c05b2ccbd0382155523d31d71d4a17d033b9a4e3cb764de550f90aab6f8c06e1a40a06adccbbd5d9720d95c9996f3bc59dbb10328e241c
6
+ metadata.gz: 45463c0d5fba20320a06316ea1dbc78c6dc5c109224216b16057a56b0ca8bed22e3a938c663bc0da00c13a3e178fa0c8ae452fdf2be4df1f9dfbbd99489ce0d5
7
+ data.tar.gz: b29e539089978041b14eddf21a1d90169557e69f23001ab64595c8e5c3fc83bcfc938b18dc8619f78867e72ec234850ec939bc8db7bce2ac8b435f399be70058
@@ -1,3 +1,3 @@
1
1
  module Bugloco
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/bugloco.rb CHANGED
@@ -21,6 +21,8 @@ module Bugloco
21
21
  OpenSSL::SSL::SSLError].freeze
22
22
 
23
23
  def report_notice_or_ignore(exception, options = {})
24
+ return nil unless Bugloco.config.send_notice
25
+
24
26
  notice = Bugloco::Notice.new(exception, options)
25
27
  report_notice(notice) unless notice.ignore?
26
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugloco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wael M. Nasreddine