intacctrb 0.5.0 → 0.5.1

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: e0dfc25041760de6446265c128bc2b744fb6224d
4
- data.tar.gz: 26d7d99bc4ef1b20d8330f170ce02143e2330df5
3
+ metadata.gz: 21f35e4684be137686062e57fad13b6ac4ebd9fd
4
+ data.tar.gz: 00cf4ba8c13d6b7918366b2a661fb100f1f7ff3c
5
5
  SHA512:
6
- metadata.gz: db81d916f34730c96190eab884e9a69e9935346b46897de5e1703355a6fadab3ee0dd9c47651613e06fe97bc15e96b5676ac9c72ac9898aa42fc9553686ad36b
7
- data.tar.gz: 4a0feca79cee93376bb4a9ed726cd73e2a99c4391792e40b7fe825906e048274b49ad15cccf712604ff2a540b02987d9f9c758213db7ca851198c88f74dd7c4b
6
+ metadata.gz: f3d02a67e2becb735c1aa7a46c92e00d2357c244913bd06976ae060d744359bf23759aefaab1801953cf181430cf2ce08c619f18558aafeefa8dfd2d64a4c015
7
+ data.tar.gz: 9e2810c35c8820394b88d38cdf3af2bb0baf2e0879ea9419b64e17673bd72bd8e67a8eddecedfa02d0e92898ae8acdf86ca96b67cb9bc2a85543e7fc5f63631b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- intacctrb (0.5.0)
4
+ intacctrb (0.5.1)
5
5
  hooks
6
6
  nokogiri
7
7
 
@@ -67,7 +67,7 @@ module IntacctRB
67
67
  @response = Nokogiri::XML(res.body)
68
68
  puts res.body
69
69
  if successful?
70
- if key = response.at('//result//RECORDNO')
70
+ if key = response.at('//result//RECORDNO') || response.at('//result//key')
71
71
  set_intacct_id key.content if object
72
72
  end
73
73
 
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-24 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri