chicago-etl 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/chicago-etl.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "chicago-etl"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roland Swingler"]
@@ -56,9 +56,9 @@ module Chicago
56
56
  private
57
57
 
58
58
  def assign_new_row_and_return_old_row(row)
59
- row = return_row(@working_row)
59
+ result = return_row(@working_row)
60
60
  @working_row = new_row(row)
61
- row
61
+ result
62
62
  end
63
63
  end
64
64
  end
@@ -17,7 +17,8 @@ describe Chicago::ETL::DeduplicateRows do
17
17
  transform.process({:id => 1, :foo => :bar}).should be_blank
18
18
  transform.process({:id => 1, :bar => :baz}).should be_blank
19
19
  transform.process({:id => 2, :foo => :quux}).should == {:id => 1, :foo => :bar, :bar => :baz}
20
+ transform.process({:id => 3, :foo => :quux}).should == {:id => 2, :foo => :quux}
20
21
 
21
- transform.flush.should == [{:id => 2, :foo => :quux}]
22
+ transform.flush.should == [{:id => 3, :foo => :quux}]
22
23
  end
23
24
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chicago-etl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roland Swingler