bugsnag 6.1.1 → 6.2.0

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: 87f0ef9e95838181ef04c215cf4e535d6833effa
4
- data.tar.gz: bcfe35f561ac496c436dd99733f0df630659683d
3
+ metadata.gz: 115e70bf10e40eb20d373f99d89703779a3ab9d4
4
+ data.tar.gz: f147bcba11749fb91ec9ff6c2ece8ef458c022ad
5
5
  SHA512:
6
- metadata.gz: 62d4455c390e8e3c9fce2b0f6e5da83974ffcb1ef805e549e5e79324524e5bd07ff000a75d34c2f88bbb9cdc36acbde69b6ed6aac586635ed8957763fc70cb0c
7
- data.tar.gz: 4c8e70a864252fe2e1bbb6a8642da9f290edfe8f21a41f4ea026d6295f810aa07bf221c623990ce293e859cbd72677edb357dfbcbbd8833f2089083d2d623fc0
6
+ metadata.gz: 3c733148ef6e837b4494627fdcbfdc3ebeac294d5cf77e0c52587ca865cbefaae6c7bfe503e90002cf36dc217b8597aac7848007fbdc74b1a2a4f9afd6f82b29
7
+ data.tar.gz: 287eb4af362032892fea941b3dc360a59ac37fa20f86edc11a25e17ba1afaac5210d6cd3faf39585209c44fc208fe5f5b566819abd4f661554e71bb761935ede
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 6.2.0 (07 Dec 2017)
5
+
6
+ ### Enhancements
7
+
8
+ * Added common exit exceptions - SystemExit and Interrupt - to default ignore classes.
9
+ | [#404](https://github.com/bugsnag/bugsnag-ruby/pull/404)
10
+
4
11
  ## 6.1.1 (23 Nov 2017)
5
12
 
6
13
  ### Fixes
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ group :test, optional: true do
4
4
  gem 'rake', '~> 10.1.1'
5
5
  gem 'rspec'
6
6
  gem 'rspec-mocks'
7
- gem 'rdoc'
7
+ gem 'rdoc', '~> 5.1.0'
8
8
  gem 'pry'
9
9
  gem 'addressable', '~> 2.3.8'
10
10
  gem 'delayed_job' if RUBY_VERSION >= '2.2.2'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.1.1
1
+ 6.2.0
@@ -53,12 +53,15 @@ module Bugsnag
53
53
  self.send_environment = false
54
54
  self.send_code = true
55
55
  self.meta_data_filters = Set.new(DEFAULT_META_DATA_FILTERS)
56
- self.ignore_classes = Set.new([])
57
56
  self.endpoint = DEFAULT_ENDPOINT
58
57
  self.hostname = default_hostname
59
58
  self.timeout = 15
60
59
  self.notify_release_stages = nil
61
60
 
61
+ # SystemExit and Interrupt are common Exception types seen with successful
62
+ # exits and are not automatically reported to Bugsnag
63
+ self.ignore_classes = Set.new([SystemExit, Interrupt])
64
+
62
65
  # Read the API key from the environment
63
66
  self.api_key = ENV["BUGSNAG_API_KEY"]
64
67
 
@@ -23,4 +23,8 @@ describe Bugsnag::Configuration do
23
23
  expect(subject.delivery_method).to eq(:wow)
24
24
  end
25
25
  end
26
+
27
+ it "should have exit exception classes ignored by default" do
28
+ expect(subject.ignore_classes).to eq(Set.new([SystemExit, Interrupt]))
29
+ end
26
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-23 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby notifier for bugsnag.com
14
14
  email: james@bugsnag.com