bugsnag 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 786c9d4bd2e5d01b21f0d16ed3740b8144b7d0ff
4
- data.tar.gz: 090f55203be5aacae94f59ccbdb5b726b1ed47a4
3
+ metadata.gz: b35ad98c2895eeed859811b80eca504689062318
4
+ data.tar.gz: 7101aa6328e378bbd6adca3287e2a0a804861990
5
5
  SHA512:
6
- metadata.gz: 0c8448332a6ffc15e5d12791fa5dbb31c65f3b031e38d0756bc502a866fb4b3e64cc4fd79c23645fa367baf1c85d7e61020639c879795c28685c330ef04f66ff
7
- data.tar.gz: 9754284692feff0ed1bee0b61ecace287642e7437295d60a17d5d78e37d75c9c2ea4b1abde8220d45ee33868c5c108ca8f8b675a26c91a5f613e791c034da883
6
+ metadata.gz: e950f27e53ee24ebbf7e08c5983a957fc1cb3b84f510b9031dcd2aac1ca403c0d8c20a330620096cef5df7c93e89da17e34810fe3c6aee846fc67fe2203c250e
7
+ data.tar.gz: a79292d91d5f4743c7a1d1cea919b9500d8ad83575be19a8e706c6c16b59db7e44140508530d00ce1876552544f8e1577294bc4848b4fb6980f77e45dd957934
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.3.0
5
+ -----
6
+ - Use ssl by default (Thanks @dkubb)
7
+
4
8
  2.2.2
5
9
  -----
6
10
  - Add additional ignored classes
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 = true
322
+ config.use_ssl = false
323
323
  ```
324
324
 
325
- By default, `use_ssl` is set to false.
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.2.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 = false
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)
@@ -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 http://notify.bugsnag.com endpoint by default" do
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("http://notify.bugsnag.com")
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 "does not use ssl when use_ssl is unset" do
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 "http://"
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.2.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-12 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json