arc-furnace 0.1.29 → 0.1.30

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
  SHA1:
3
- metadata.gz: b0292f7701adbca7edc300224620e2448a133bae
4
- data.tar.gz: ed21c12c0da024cbc5d960fd8ad5349f28f173dc
3
+ metadata.gz: d2faf523ade797107093de338836f4cf729280b6
4
+ data.tar.gz: d44a2695905ba74e5ff6dde9900c093fec51698a
5
5
  SHA512:
6
- metadata.gz: 3ac06c58766eb07a2a7122a12088ec781913d99cbe5d1c6d4259df510c2aab754516195e241ec57b48388894f314686ca42403508cb3055a1b4a47adae599ed9
7
- data.tar.gz: d84c7b36ce726b072c716b05d358688e51bffa0da84ba1af9f8f62c0b233ec5748034441a7f0903cb44ab42e3a2e982cc03ca952a96050000342744a8a768091
6
+ metadata.gz: 56f4db95b3f40082f98ceaa065f42267b2ba09cb62eba19a18df1a908f1fd95a7ee36ead23e9be508ed1e09f85ac501cf7cb1707212cfa279908ae54d9032975
7
+ data.tar.gz: aaa3aaf2b622b2846b887c3f1cd67a014d14c48bc7ce27d7cd354c9b530307c8eb72c8db9e49fa4efda8950173c6ec82b1b187194597991c1623dc2d1e6c9d1c
@@ -1,11 +1,18 @@
1
1
  module ArcFurnace
2
2
  class PassthroughSink < Sink
3
3
 
4
+ attr_reader :collection
5
+
4
6
  def initialize(options = {})
7
+ @collection = Set.new
8
+ end
9
+
10
+ def finalize
11
+ collection.to_a
5
12
  end
6
13
 
7
14
  def row(object)
8
- object
15
+ collection << object
9
16
  end
10
17
 
11
18
  end
@@ -1,3 +1,3 @@
1
1
  module ArcFurnace
2
- VERSION = "0.1.29"
2
+ VERSION = "0.1.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arc-furnace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Spangenberger