fat_table 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fat_table/table.rb +1 -1
- data/lib/fat_table/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: 9a9f4d886a3104ef55f2a6d1a2e60d6b3a30e17af08ba2444305eabb4cbd959c
|
4
|
+
data.tar.gz: 15e91fddb4a24bd0818ac8ed8e917af7f3596c0b43c8a8b01aac6bf445c8baa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1530fa23467b0f47b6822d7d3bc557b9b9244187d4cc94e8b246dcdbb60b00be35ed8947a7f9340c1f080baaaccd28e72f80d7cbaec9aca9cded6f7fdee67c84
|
7
|
+
data.tar.gz: 599d3e41f4fe0ad7f5c5cb853f1c1ba6c9d338fabe3df0fb8279837765aa2afba9058f1e63954431db76122a86950a172bcf63ab2993e8c91746c705d5886da5
|
data/lib/fat_table/table.rb
CHANGED
@@ -137,7 +137,7 @@ module FatTable
|
|
137
137
|
def empty_dup(result_cols = nil)
|
138
138
|
result_cols ||= heads
|
139
139
|
result_types = types.select { |k,_v| result_cols.include?(k) }
|
140
|
-
result =
|
140
|
+
result = self.class.new(result_cols, **result_types)
|
141
141
|
tolerant_cols.each do |h|
|
142
142
|
result.tolerant_cols << h
|
143
143
|
result.column(h).tolerant = true
|
data/lib/fat_table/version.rb
CHANGED