city-watch 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,10 +18,11 @@ module Collector
18
18
  req = Net::HTTP::Post.new(uri.path)
19
19
  req.body = Yajl::Encoder.encode(dat)
20
20
  req["Content-Type"] = 'application/json'
21
- case http.request(req)
21
+ case resp = http.request(req)
22
22
  when Net::HTTPSuccess
23
23
  puts "Successfully sent to collector." if CityWatch.debug?
24
24
  else
25
+ puts resp.inspect
25
26
  raise Exception
26
27
  end
27
28
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CityWatch
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: city-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: