coaster 0.3.8 → 0.3.9

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: 2e1e575098fbc51c407b9c468333b7a649229a8d
4
- data.tar.gz: 00c04fe33a382b7809d6b7dfb130c96214100fc4
3
+ metadata.gz: 6d8d2c19ebbd1d2375a60985f62be2febbf24152
4
+ data.tar.gz: 9b5d91b9dd9134e6cf06daed418ccd464646bbf0
5
5
  SHA512:
6
- metadata.gz: 6c821cee7a557d1dab3f14ab413f13bddf98f69d634d5bce8c65cec0455d6e685b3f4f8ff5f07a744408d5fb514bda7e79dcdc9f3f58a53c49542a8a16ffdd7d
7
- data.tar.gz: afe30ace49d932415b3f61942dd2cc37f39396aaa6606c53903acfbc94c341465e942b96e80206ea0d7e9f50ab2beabc9b91704f7dd6cb4c68699c2ec32cc465
6
+ metadata.gz: b937d84680f2f3ec71d3123847d78355a14255de7b70353e13449cfa3afca4805a2b5d4ec1f396a8678b3d1f3d5ff940caf5e7d683bb6ffbd4b713d6294f62c9
7
+ data.tar.gz: 1f547904eafb6924ad582897bdfd0a7933fc9b2c066ab2b666484ed4924cc7eb777d0b6d801c1bcf16944318da865d5669235ac482f867c2706bbe66eb6e8dfd
@@ -38,6 +38,8 @@ class StandardError
38
38
  end
39
39
 
40
40
  def capture(options = {})
41
+ return if options.key?(:report) && !options[:report]
42
+ return if attributes.key?(:report) && !attributes[:report]
41
43
  Raven.annotate_exception(self, notes(options))
42
44
  Raven.capture_exception(self)
43
45
  rescue => e
@@ -53,6 +55,7 @@ class StandardError
53
55
  # :tags
54
56
  # :level
55
57
  # :extra
58
+ # :report
56
59
  # and others are merged to extra
57
60
  alias_method :just_logging, :logging
58
61
  def logging(options = {})
@@ -1,3 +1,3 @@
1
1
  module Coaster
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - buzz jung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n