sdbcli 1.2.4 → 1.2.5

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.
Files changed (2) hide show
  1. data/bin/sdbcli +3 -3
  2. metadata +1 -1
data/bin/sdbcli CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
3
3
 
4
- Version = '1.2.4'
4
+ Version = '1.2.5'
5
5
  HISTORY_FILE = File.join((ENV['HOME'] || ENV['USERPROFILE'] || '.'), '.sdbcli_history')
6
6
  HISTSIZE = 500
7
7
  SELECT_LIMIT = 2500
@@ -312,9 +312,9 @@ if import
312
312
  until (batch_chunk = chunk.slice!(0, BATCH_ATTRS_LIMIT)).empty?
313
313
  retry_api_call do
314
314
  if import_as_replace
315
- $runner.driver.update(import_domain, batch_chunk)
315
+ $runner.driver.update(import_domain, batch_chunk.dup)
316
316
  else
317
- $runner.driver.insert(import_domain, batch_chunk)
317
+ $runner.driver.insert(import_domain, batch_chunk.dup)
318
318
  end
319
319
  end
320
320
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdbcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: