bugsnag 2.2.2 → 2.3.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -4
- data/VERSION +1 -1
- data/lib/bugsnag/configuration.rb +1 -1
- data/spec/notification_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35ad98c2895eeed859811b80eca504689062318
|
4
|
+
data.tar.gz: 7101aa6328e378bbd6adca3287e2a0a804861990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e950f27e53ee24ebbf7e08c5983a957fc1cb3b84f510b9031dcd2aac1ca403c0d8c20a330620096cef5df7c93e89da17e34810fe3c6aee846fc67fe2203c250e
|
7
|
+
data.tar.gz: a79292d91d5f4743c7a1d1cea919b9500d8ad83575be19a8e706c6c16b59db7e44140508530d00ce1876552544f8e1577294bc4848b4fb6980f77e45dd957934
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -257,7 +257,6 @@ settings you need on the `config` block variable. For example:
|
|
257
257
|
```ruby
|
258
258
|
Bugsnag.configure do |config|
|
259
259
|
config.api_key = "your-api-key-here"
|
260
|
-
config.use_ssl = true
|
261
260
|
config.notify_release_stages = ["production", "development"]
|
262
261
|
end
|
263
262
|
```
|
@@ -316,13 +315,14 @@ config.auto_notify = false
|
|
316
315
|
|
317
316
|
###use_ssl
|
318
317
|
|
319
|
-
Enforces all communication with bugsnag.com be made via ssl.
|
318
|
+
Enforces all communication with bugsnag.com be made via ssl. You can turn
|
319
|
+
this off if necessary.
|
320
320
|
|
321
321
|
```ruby
|
322
|
-
config.use_ssl =
|
322
|
+
config.use_ssl = false
|
323
323
|
```
|
324
324
|
|
325
|
-
By default, `use_ssl` is set to
|
325
|
+
By default, `use_ssl` is set to true.
|
326
326
|
|
327
327
|
<!-- Custom anchor for linking from alerts -->
|
328
328
|
<div id="set-project-root"></div>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3.0
|
@@ -52,7 +52,7 @@ module Bugsnag
|
|
52
52
|
def initialize
|
53
53
|
# Set up the defaults
|
54
54
|
self.auto_notify = true
|
55
|
-
self.use_ssl =
|
55
|
+
self.use_ssl = true
|
56
56
|
self.params_filters = Set.new(DEFAULT_PARAMS_FILTERS)
|
57
57
|
self.ignore_classes = Set.new(DEFAULT_IGNORE_CLASSES)
|
58
58
|
self.ignore_user_agents = Set.new(DEFAULT_IGNORE_USER_AGENTS)
|
data/spec/notification_spec.rb
CHANGED
@@ -373,9 +373,9 @@ describe Bugsnag::Notification do
|
|
373
373
|
Bugsnag.notify(BugsnagTestException.new("It crashed"))
|
374
374
|
end
|
375
375
|
|
376
|
-
it "uses the
|
376
|
+
it "uses the https://notify.bugsnag.com endpoint by default" do
|
377
377
|
expect(Bugsnag::Notification).to receive(:deliver_exception_payload) do |endpoint, payload|
|
378
|
-
expect(endpoint).to eq("
|
378
|
+
expect(endpoint).to eq("https://notify.bugsnag.com")
|
379
379
|
end
|
380
380
|
|
381
381
|
Bugsnag.notify(BugsnagTestException.new("It crashed"))
|
@@ -399,9 +399,9 @@ describe Bugsnag::Notification do
|
|
399
399
|
Bugsnag.notify(BugsnagTestException.new("It crashed"))
|
400
400
|
end
|
401
401
|
|
402
|
-
it "
|
402
|
+
it "uses ssl when use_ssl is unset" do
|
403
403
|
expect(Bugsnag::Notification).to receive(:deliver_exception_payload) do |endpoint, payload|
|
404
|
-
expect(endpoint).to start_with "
|
404
|
+
expect(endpoint).to start_with "https://"
|
405
405
|
end
|
406
406
|
|
407
407
|
Bugsnag.notify(BugsnagTestException.new("It crashed"))
|
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: 2.
|
4
|
+
version: 2.3.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: 2014-08-
|
11
|
+
date: 2014-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|