intacctrb 0.8.20 → 0.8.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 936a5adbf163ed3b57654c2e3415e7f7de05578f0f40cbb4d363f7e96f548d9b
4
- data.tar.gz: 3b95017497b7973935816f1c914cdec8de27e93d4ad58a7af140f3058c5905d0
3
+ metadata.gz: d1b3821b87976b51b598b1e247b3a44c87041e33db17071cfbc4236ee80cf18d
4
+ data.tar.gz: 12c7b4ed3a2324bf87b3f3caeecd76e43043ca3954a1430bab2d651e5d2e3ff3
5
5
  SHA512:
6
- metadata.gz: 7a5dc9646243f0b15b684988edcc905c04b59a7f39434fb54ed7edf4b97c0b50dc2dee1ee508e8bfd230d5eb34a8b74719a34a8cfa2eb3988bf662956195f212
7
- data.tar.gz: 4ef29574bfb5927eff862c2eceee9454806046060ce7ea0f71b6d66712f98db8b6cb399d7cf04a0293ccc0bb0803bf925061bf11b9e0da6bfca91e751ac38901
6
+ metadata.gz: 6c9bd2373abf21132f3f53ff82169a0caa6fdb118a548d7181b8cfe7308fc6ff33ba7c0f4b139e3a31d47e068a8bc8674de4b1ff34fec90663c2bfe458619e89
7
+ data.tar.gz: 969ab30d23696f8310cd58954389fa4c5f539662528678b6221c5444aa81cef49099ff7aa4ae70de61dffa9e5b9a57c745c5e0b6ee7490252af8cdf5df9dd5b1
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  .ruby-version
2
2
  pkg/*
3
3
  .idea
4
+ test_credentials.yml
Binary file
@@ -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)
69
+ res = Net::HTTP.post_form(uri, 'xmlrequest' => xml, read_timeout: 30)
70
70
  @response = Nokogiri::XML(res.body)
71
71
  IntacctRB.logger.debug res.body
72
72
  if successful?
@@ -84,7 +84,7 @@ module IntacctRB
84
84
  @response
85
85
  rescue Net::ReadTimeout => e
86
86
  if retry_count <= 3
87
- IntacctRB.logger.warning "Net::ReadTimeout in IntacctRB; retrying"
87
+ IntacctRB.logger.warn "Net::ReadTimeout in IntacctRB; retrying"
88
88
  retry
89
89
  else
90
90
  IntacctRB.logger.error "Net::ReadTimeout in IntacctRB; retries exhausted"
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.8.20"
2
+ VERSION = "0.8.21"
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.20
4
+ version: 0.8.21
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-02-27 00:00:00.000000000 Z
11
+ date: 2019-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -165,6 +165,7 @@ files:
165
165
  - LICENSE.txt
166
166
  - README.md
167
167
  - Rakefile
168
+ - intacctrb-0.8.19.gem
168
169
  - intacctrb.gemspec
169
170
  - lib/.DS_Store
170
171
  - lib/intacctrb.rb
@@ -218,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
219
  version: '0'
219
220
  requirements: []
220
221
  rubyforge_project:
221
- rubygems_version: 2.7.7
222
+ rubygems_version: 2.7.9
222
223
  signing_key:
223
224
  specification_version: 4
224
225
  summary: Ruby Intacct API Client