onebody-updateagent 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/updateagent/updateagent.rb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -130,7 +130,7 @@ class UpdateAgent
130
130
  print "#{resource.name} 0/0\r"; STDOUT.flush
131
131
  (@create + @update).each_slice(MAX_TO_BATCH_AT_A_TIME) do |records|
132
132
  response = resource.post(:batch, {}, {:options => @options['remote_options'], :records => records}.to_xml)
133
- statuses = Hash.from_xml(response.body)['records']
133
+ statuses = Hash.from_xml(response.body)['objects']
134
134
  statuses.each do |status|
135
135
  record = data_by_id[status['legacy_id'].to_i]
136
136
  record['id'] = status['id']
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebody-updateagent
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Morgan