fat_table 0.9.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6511a69dea56479777956084ceae10b33d6769b4e9e8fcbb87d50140fa5475d4
4
- data.tar.gz: b41a1e1a578f1c9f4f4f82ac7fba1413343ec75d8febda7ebb1f12737b9fb6b2
3
+ metadata.gz: 9a9f4d886a3104ef55f2a6d1a2e60d6b3a30e17af08ba2444305eabb4cbd959c
4
+ data.tar.gz: 15e91fddb4a24bd0818ac8ed8e917af7f3596c0b43c8a8b01aac6bf445c8baa8
5
5
  SHA512:
6
- metadata.gz: fe1da822b9d2ef6995dbfe665f570a3474d955892e062cba559162a07ef43013e9c1f649040fa47529c780aec213a9d74c4ac0684217a608960ebedac9479843
7
- data.tar.gz: b4ab503c3f992a471bd72a70822455ac6a50a6a72558242841656d514e2c60c9b51bf7a1d052c66a35ecb1ba4cbce30ac6351d30919aa85f3284f0d9cfad1821
6
+ metadata.gz: 1530fa23467b0f47b6822d7d3bc557b9b9244187d4cc94e8b246dcdbb60b00be35ed8947a7f9340c1f080baaaccd28e72f80d7cbaec9aca9cded6f7fdee67c84
7
+ data.tar.gz: 599d3e41f4fe0ad7f5c5cb853f1c1ba6c9d338fabe3df0fb8279837765aa2afba9058f1e63954431db76122a86950a172bcf63ab2993e8c91746c705d5886da5
@@ -137,13 +137,13 @@ 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 = Table.new(result_cols, **result_types)
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
144
144
  end
145
145
  (instance_variables - result.instance_variables).each do |v|
146
- result.instance_variable_set(instance_variable_get(v))
146
+ result.instance_variable_set(v, instance_variable_get(v))
147
147
  end
148
148
  result
149
149
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module FatTable
4
4
  # The current version of FatTable
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel E. Doherty