batchly_api 0.6.3 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 040ef181c1b70d261fe23046aefa22f52c4885d5
4
- data.tar.gz: 8004ed4dab464df1a815c9dc52ecf486844718f3
3
+ metadata.gz: 7baaa65b46f69edcb1633296304b085b90f7c033
4
+ data.tar.gz: 5321d2b9ac9b2c236e1fa2af9096d97e37f5fc55
5
5
  SHA512:
6
- metadata.gz: 0c94c43fc761c273e298f83c0ab00babfefcdacef5a4acd92b579ce5e39497af27f75548b55a3aaef7f7ad72c90292892c38c4276909482b7b1ec750b22fc8c1
7
- data.tar.gz: 09e5f85bc77f016aa2a975fbfdb3824cfcc4b74eaf12f3bf1e42cff20104c77470fcbfdaf6defeedb52cce09824cd1e24c6bb83112b79721f12e53480dddc1f1
6
+ metadata.gz: 5436ebb13e4fb5c026ea6b79154e4767dbf17cc708b05506ccbd910d071eb35647958312d80f549441448a53684818d737ab96ba0bc00c291305ebd00ceaf741
7
+ data.tar.gz: 17716513f3200fe7f8921d19cc98160ab821d6691f51601cce8af61d0296482bad7120cc7fd61f0f8883ba1df34c3ce14f1294a8f180134ce182a01d0b6c3e82
@@ -14,10 +14,16 @@ module BatchlyApi
14
14
  # @param [Numeric] the HTTP response code from the API request
15
15
  # @param [Object] the HTTP unprased response from the API request
16
16
  def initialize(reason, response_code, response_body)
17
- super(reason)
18
- @response_code = response_code
19
- @response_body = response_body
17
+ super(reason)
18
+ @response_code = response_code
19
+ @response_body = response_body
20
+
21
+ if $DEBUG
22
+ puts reason
23
+ puts response_code
24
+ puts response_body
25
+ end
20
26
  end
21
27
 
22
28
  end
23
- end
29
+ end
data/lib/batchly_api.rb CHANGED
@@ -25,3 +25,5 @@ require 'batchly_api/models/update_project_request.rb'
25
25
  require 'batchly_api/models/execute_job_request.rb'
26
26
  require 'batchly_api/models/add_aws_account_request.rb'
27
27
  require 'batchly_api/models/create_job_request.rb'
28
+
29
+ Unirest.timeout(60)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batchly_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - batchly api support
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-26 00:00:00.000000000 Z
12
+ date: 2015-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: unirest