airbrake 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ Version 3.0.2 - Mon Aug 29 10:32:04 -0400 2011
2
+ ===============================================================================
3
+ Harold Gimenez(1)
4
+ Fix bug on the Hoptoad to Airbrake fallback code on the javascript notifier.
5
+
1
6
  Version 3.0.1 - Mon Aug 29 08:37:24 -0400 2011
2
7
  ===============================================================================
3
8
  Roman Shterenzon(1):
@@ -458,5 +463,6 @@ Nick Quaranto (3):
458
463
 
459
464
 
460
465
 
466
+
461
467
 
462
468
 
@@ -1,3 +1,3 @@
1
1
  module Airbrake
2
- VERSION = "3.0.1".freeze
2
+ VERSION = "3.0.2".freeze
3
3
  end
@@ -6,7 +6,7 @@
6
6
  }%>
7
7
 
8
8
  <%= javascript_tag %Q{
9
- window.Airbrake = Airbrake || Hoptoad;
9
+ window.Airbrake = (typeof(Airbrake) == 'undefined' && typeof(Hoptoad) != 'undefined') ? Hoptoad : Airbrake
10
10
  Airbrake.setKey('#{api_key}');
11
11
  Airbrake.setHost('#{host}');
12
12
  Airbrake.setEnvironment('#{environment}');
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 1
10
- version: 3.0.1
9
+ - 2
10
+ version: 3.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc