datapipe2 0.0.9 → 0.0.10

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/mssql_to_pgsql.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e48da794340262c31fcbf7998cbfe339a706de5
4
- data.tar.gz: 9b01897b3940586e585910e6844c73b80fa7dfc0
3
+ metadata.gz: 99e153e6dcd823df9fcd95beb13fae4b284d857d
4
+ data.tar.gz: 200e0416be134014d3c26b2fe94e14c15c00fc34
5
5
  SHA512:
6
- metadata.gz: 2a68bcb27d7b0ab2b7e5821ca7e8941e9530009ab9395dec348b9e62b6517a1e2cef9e119a59d0d4ea6953b0896bd2c9022b1d44de614a41de2864171801eb4e
7
- data.tar.gz: 133c82ddb456863a8e3e6d1800fe6dc0c470aba7d9e90e2bc29c0282d0ae4f6419f6bd3423337384999b26a951669b33a491ff1d51bdb6c4ef07db2b26c7e99f
6
+ metadata.gz: 2d5bc715fc364a5f1f58acc137cf6b27c7dfa1dac678978727a9835734c670e3fd0dec9d39779e4557b68c6f073803638cf6c7c4b7998acf95c4b1b70f205c19
7
+ data.tar.gz: 6d7c15771d7431d6b0dbeef363a1c9210182f2ff647c38410ec36ea79deafc00c12d55140a29435da31ce87c6d3200ce96a65b91c923c4b229263af422b60698
@@ -17,7 +17,7 @@ def mssql_to_pgsql(select_sql, table_name, columns)
17
17
  count = 0
18
18
  results.each(as: :array, cache_rows: false) do |r|
19
19
  count += 1
20
- print '.' if count % 1000 == 0
20
+ print '.' if count % 100_000 == 0
21
21
  d.connection.put_copy_data "#{r.join('|')}\n"
22
22
  end
23
23
  puts ""
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine