debugged-ruby 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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: