adcloud 0.7.5 → 0.7.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/RELEASE_NOTES.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Release Notes
2
2
  =============
3
3
 
4
+ ### 0.7.5.1
5
+
6
+ * Log failed api responses
7
+
4
8
  ### 0.7.5
5
9
 
6
10
  * Reports booking has been renamed to campaign
@@ -3,6 +3,8 @@ module Adcloud
3
3
  class ExceptionRaiser
4
4
 
5
5
  def initialize(response)
6
+ Adcloud.logger.warn { "API Exception #{response.inspect}" }
7
+
6
8
  case response.status
7
9
  when 400
8
10
  raise Adcloud::BadRequestError.new(response)
@@ -1,3 +1,3 @@
1
1
  module Adcloud
2
- VERSION = '0.7.5'
2
+ VERSION = '0.7.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-31 00:00:00.000000000 Z
13
+ date: 2012-11-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest