airbrake 3.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/lib/airbrake/version.rb +1 -1
- data/lib/templates/javascript_notifier.erb +5 -3
- metadata +4 -3
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
Version 3.0.1 - Mon Aug 29 08:37:24 -0400 2011
|
2
|
+
===============================================================================
|
3
|
+
Roman Shterenzon(1):
|
4
|
+
Use either Airbrake or Hoptoad object on javascript notifier
|
5
|
+
|
1
6
|
Version 3.0 - Fri Aug 26 08:55:47 -0400 2011
|
2
7
|
===============================================================================
|
3
8
|
Harold Gimenez:
|
@@ -452,5 +457,6 @@ Nick Quaranto (3):
|
|
452
457
|
|
453
458
|
|
454
459
|
|
460
|
+
|
455
461
|
|
456
462
|
|
data/lib/airbrake/version.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
<%= javascript_tag %Q{
|
2
|
+
(function(){
|
2
3
|
var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://");
|
3
4
|
document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E"));
|
4
|
-
}
|
5
|
-
%>
|
5
|
+
})();
|
6
|
+
}%>
|
6
7
|
|
7
8
|
<%= javascript_tag %Q{
|
9
|
+
window.Airbrake = Airbrake || Hoptoad;
|
8
10
|
Airbrake.setKey('#{api_key}');
|
9
11
|
Airbrake.setHost('#{host}');
|
10
12
|
Airbrake.setEnvironment('#{environment}');
|
11
13
|
Airbrake.setErrorDefaults({ url: "#{escape_javascript url}", component: "#{controller_name}", action: "#{action_name}" });
|
12
|
-
}
|
14
|
+
}
|
13
15
|
%>
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 3.0.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- thoughtbot, inc
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-29 00:00:00 Z
|
18
19
|
dependencies:
|
19
20
|
- !ruby/object:Gem::Dependency
|
20
21
|
name: builder
|