debugged-ruby 0.1.5 → 0.1.6

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,3 +1,3 @@
1
1
  module Debugged
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
data/lib/debugged-ruby.rb CHANGED
@@ -41,6 +41,7 @@ module Debugged
41
41
  time = Time.now.utc.to_i
42
42
  hash = Digest::SHA1.base64digest @@api_key.to_s+name+"ruby"+time.to_s
43
43
 
44
+ @@log.debug(hash + " - sending report to Debugged")
44
45
  report =
45
46
  {
46
47
  "created_at" => time.to_i,
@@ -70,6 +71,7 @@ module Debugged
70
71
  begin
71
72
  http = EM::HttpRequest.new(url).post :body => report.to_json, :head => {'authorization' => [@@api_key, 'pass']}
72
73
  http.callback {
74
+ @@log.debug(hash + " - sent report to Debugged")
73
75
  pending -= 1
74
76
  EM.stop if pending < 1
75
77
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debugged-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: