bugsnag 1.5.0 → 1.5.1

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.
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.5.0
5
+ -----
6
+ - Add proxy support for http requests to Bugsnag.
7
+ - Read the API key from the environment for Heroku users
8
+
4
9
  1.4.2
5
10
  -----
6
11
  - Add HTTP Referer to the request tab on rack apps
data/README.md CHANGED
@@ -503,7 +503,9 @@ function, for example:
503
503
  EventMachine::run do
504
504
  server = EventMachine::start_server('0.0.0.0', PORT, MyServer)
505
505
  server.errback {
506
- Bugsnag.notify(RuntimeError.new("Something bad happened"))
506
+ EM.defer do
507
+ Bugsnag.notify(RuntimeError.new("Something bad happened"))
508
+ end
507
509
  }
508
510
  end
509
511
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.5.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bugsnag}
8
- s.version = "1.5.0"
8
+ s.version = "1.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Smith"]
12
- s.date = %q{2013-08-19}
12
+ s.date = %q{2013-08-27}
13
13
  s.description = %q{Ruby notifier for bugsnag.com}
14
14
  s.email = %q{james@bugsnag.com}
15
15
  s.extra_rdoc_files = [
@@ -13,7 +13,7 @@ module Bugsnag::Rake
13
13
 
14
14
  module ClassMethods
15
15
  def bugsnag_define_task(*args, &block)
16
- task = self.original_define_task *args do
16
+ task = self.original_define_task *args do |*block_args|
17
17
  begin
18
18
  Bugsnag.before_notify_callbacks << lambda {|notif|
19
19
  notif.add_tab(:rake_task, {
@@ -24,7 +24,7 @@ module Bugsnag::Rake
24
24
  notif.context ||= task.name
25
25
  }
26
26
 
27
- yield if block_given?
27
+ yield(*block_args) if block_given?
28
28
  rescue Exception => e
29
29
  Bugsnag.notify(e)
30
30
  raise
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 0
9
- version: 1.5.0
8
+ - 1
9
+ version: 1.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - James Smith
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-08-19 00:00:00 -07:00
17
+ date: 2013-08-27 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency