intacctrb 0.8.21 → 0.9.0

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
- SHA256:
3
- metadata.gz: d1b3821b87976b51b598b1e247b3a44c87041e33db17071cfbc4236ee80cf18d
4
- data.tar.gz: 12c7b4ed3a2324bf87b3f3caeecd76e43043ca3954a1430bab2d651e5d2e3ff3
2
+ SHA1:
3
+ metadata.gz: 6498b6d259ccbda28488b170575d0177d6a8f4a0
4
+ data.tar.gz: fcc91ed56cb41b028dfe7b41b87e2d4757bc0f82
5
5
  SHA512:
6
- metadata.gz: 6c9bd2373abf21132f3f53ff82169a0caa6fdb118a548d7181b8cfe7308fc6ff33ba7c0f4b139e3a31d47e068a8bc8674de4b1ff34fec90663c2bfe458619e89
7
- data.tar.gz: 969ab30d23696f8310cd58954389fa4c5f539662528678b6221c5444aa81cef49099ff7aa4ae70de61dffa9e5b9a57c745c5e0b6ee7490252af8cdf5df9dd5b1
6
+ metadata.gz: 186ed00fa3f3d97347559181799bba79835d0bae4820fb43c42e894d7129537ab453c9d0de539bc3c3eaff77efdd15ba8f2ea25f213622af446f7870012dbe38
7
+ data.tar.gz: fe18ee99d3e7a53b4fc428444492e5eb00921fba150f5dae97da858e2099d83c5b3ed4cf43513e1dfe612b080c2463cdd8c40fc3a1c1cab80082a65a7ff261c4
@@ -66,7 +66,7 @@ module IntacctRB
66
66
  url = "https://www.intacct.com/ia/xml/xmlgw.phtml"
67
67
  uri = URI(url)
68
68
  retry_count += 1
69
- res = Net::HTTP.post_form(uri, 'xmlrequest' => xml, read_timeout: 30)
69
+ res = Net::HTTP.post_form(uri, 'xmlrequest' => xml, read_timeout: 60)
70
70
  @response = Nokogiri::XML(res.body)
71
71
  IntacctRB.logger.debug res.body
72
72
  if successful?
@@ -88,7 +88,13 @@ module IntacctRB
88
88
  retry
89
89
  else
90
90
  IntacctRB.logger.error "Net::ReadTimeout in IntacctRB; retries exhausted"
91
- raise e
91
+ @response = {
92
+ result: {
93
+ errormessage: {
94
+ error: [{ description: e }]
95
+ }
96
+ }
97
+ }
92
98
  end
93
99
  end
94
100
  end
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.8.21"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intacctrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.21
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  requirements: []
221
221
  rubyforge_project:
222
- rubygems_version: 2.7.9
222
+ rubygems_version: 2.6.14
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Ruby Intacct API Client