tapsoob 0.3.23-java → 0.3.24-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapsoob/data_stream.rb +1 -1
- data/lib/tapsoob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f2ae263c3b94ba8a2d39cdcae3c4ed22462e8b0350a48b865300c5800988ac4
|
4
|
+
data.tar.gz: ebb482c1449af92696f4ef1cfcaae8336c22d018a90cc3f1e9c0726820c79e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da3ff1a49face2aec964a6848c994decece8606c8b5681dd065bb4dbb9f7f456734511fb2791c383dc35500fb2aa59b7c262ccde288f28eb9783392723fdaf04
|
7
|
+
data.tar.gz: fe0a13d721abbdf54145a6ce875334b96668edd505159395ad65043105e7a716f8feabe43c35bebc0ddcc5baf30a273b4d3431718346f56044f5dfbe83118fa4
|
data/lib/tapsoob/data_stream.rb
CHANGED
@@ -230,7 +230,7 @@ module Tapsoob
|
|
230
230
|
end
|
231
231
|
|
232
232
|
# Remove id column
|
233
|
-
columns = ((@options[:"discard-identity"] && rows[:
|
233
|
+
columns = ((@options[:"discard-identity"] && rows[:header].include?("id")) ? rows[:header] - ["id"] : rows[:header])
|
234
234
|
|
235
235
|
table.import(columns, rows[:data], :commit_every => 100)
|
236
236
|
state[:offset] += rows[:data].size
|
data/lib/tapsoob/version.rb
CHANGED