canary_notifier 0.0.15 → 0.0.16

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,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'canary_notifier'
3
- s.version = '0.0.15'
3
+ s.version = '0.0.16'
4
4
  s.authors = ["Henry Scudder"]
5
5
  s.date = %q{2011-10-27}
6
6
  s.summary = "Exception notification to Canary for Rails apps"
@@ -20,12 +20,14 @@ class CanaryNotifier
20
20
  backtrace[:title] = 'Backtrace'
21
21
  backtrace[:body] = e.backtrace.join("\n")
22
22
 
23
- data[:sections] << backtrace
24
23
 
25
24
  env = {}
26
25
  env[:title] = 'Environment'
27
26
  env[:body] = ENV.to_a
28
27
 
28
+ data[:sections] << env
29
+ data[:sections] << backtrace
30
+
29
31
  RestClient.post url, data.to_json
30
32
 
31
33
  raise e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canary_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &70256085269680 !ruby/object:Gem::Requirement
16
+ requirement: &70167690309980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70256085269680
24
+ version_requirements: *70167690309980
25
25
  description:
26
26
  email: support@canaryhq.com
27
27
  executables: []