datapipe2 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fns/db_to_pgsql.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8c9b30c2a32bab0563c5b4e5b6b68099bbe1a12
4
- data.tar.gz: d3af6443b1f092fe1cdb2e24cd8d03efbfb5fe47
3
+ metadata.gz: 9e0653459850514cfa5e9b61eb180ca353b5b05f
4
+ data.tar.gz: d8085dccd6fa2b02e4a50c464fb564264b984680
5
5
  SHA512:
6
- metadata.gz: 3f10288f0f79471dd85dd0c1c37767bbd50d81c21ed199b679a17b68420d691641dd665492e246af6201defe9afc1cd3de4dda192fcc98a75f2286b0470e3de7
7
- data.tar.gz: 7bc6f2355b31a8b7587115c751111415e92102c16b8f3e324bd2e264344c34d5d0da25b63c996ff9e168837697cff3643f30fe6175326e797a58daf3a86f602e
6
+ metadata.gz: 2635ae652f04f6232072eb040ae26adf5c4585e471166c409ccdc3edb2753f523a35c02101c6f34e9384973a8b8ec28dfc0ca336b73429d5aee7ffa73e2a0bd5
7
+ data.tar.gz: 2d38c675f2c7bd9eafc5c296ed8ac9552893dfe49f4c12ff7d17a57da7ec71c63211892fc50ccb78ddf7c27e5d21679dcf73409c93ef95b0814e99f49114623b
@@ -17,7 +17,7 @@ def db_to_pgsql(select_sql, table_name, columns)
17
17
  rst.each do |r|
18
18
  count += 1
19
19
  print '.' if count % 100_000 == 0
20
- d.connection.put_copy_data "#{r.join('|')}\n"
20
+ d.connection.put_copy_data "#{r.values.join('|')}\n"
21
21
  end
22
22
  puts ""
23
23
  d.connection.put_copy_end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datapipe2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine