soapy_cake 1.6.5 → 1.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: 8693b7d6dc75f62ad7a22228a552b754c0557194
4
- data.tar.gz: cc22a37f8128a85ecaf3930d930335ce129bdc45
3
+ metadata.gz: 68548aee9f983715e4f23576144df1ac963fcd00
4
+ data.tar.gz: f15f3277074db109b1946aea05e8e12b10de18e4
5
5
  SHA512:
6
- metadata.gz: a1131438d784fad5f18255362d64b5eefc874ceae2f8d1bd2bd9679cf8b8e1de11a87d652b470e2aff4489c156082d18d3209ecc0904d36abf64ffe2e128b420
7
- data.tar.gz: 923832165f8abe2d93cd8f2e49b302dfaafa649844898e96e3e470501ff648eaf9c1b2ca36711e513cf30c743814d5e7a631b6f34580925e2077a526825d4ddf
6
+ metadata.gz: a7bdfbcbfc4fa1d7fae32ea0aea98b8f3e7ce9135da31b3e376dc7eed184980e2be0bf6b1258ac16fae755def7bb6639cd6379fdaa2545df83b38b18c8304c9f
7
+ data.tar.gz: 2df8118abecf688829013bc948f6cca1621307124e3121586d1427a45061fa76101912f8c4bfba642b0a213aa69b47cdf490e038299d8cc7c9232ae3c9f33a69
data/lib/soapy_cake.rb CHANGED
@@ -19,4 +19,5 @@ require 'soapy_cake/affiliate'
19
19
 
20
20
  module SoapyCake
21
21
  API_VERSIONS = YAML.load(File.read(File.expand_path('../../api_versions.yml', __FILE__)))
22
+ NET_TIMEOUT = 180
22
23
  end
@@ -19,7 +19,7 @@ module SoapyCake
19
19
  request.time_offset = time_offset
20
20
 
21
21
  url = "https://#{domain}#{request.path}"
22
- body = HTTParty.post(url, headers: headers, body: request.xml).body
22
+ body = HTTParty.post(url, headers: headers, body: request.xml, timeout: NET_TIMEOUT).body
23
23
 
24
24
  response = Response.new(body, %w(addedit track).include?(request.service))
25
25
  response.time_offset = time_offset
@@ -1,3 +1,3 @@
1
1
  module SoapyCake
2
- VERSION = '1.6.5'
2
+ VERSION = '1.6.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapy_cake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
- rubygems_version: 2.4.6
233
+ rubygems_version: 2.4.5
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: Simple client for the CAKE API