forklift_etl 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGVkMGI0OTQ4YzE5YzRiOGFkNGVhYTgwMjdlY2I3YWFiNDExNzNjYg==
4
+ MDY0YjJmN2E1M2I0MTBkZTNjZjc4MmIwOTEwMWVjYWQ4ZjNkMGM5Yw==
5
5
  data.tar.gz: !binary |-
6
- ZDc0MjA5NzQ0MTRiYjc0MGMwNWNjODc4YjFhYzU3ZGJiODk5Njg1NA==
6
+ OGQwMzk1NzcwMDA1NDA5ZWE5YzVhMmNjODlhYTNmZDA1MzQzMDAwNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmVjZWNjNjdkYzA4NWYyYzY1NTQwMjU1YmI4OWM5YmUxZWE5YTU2ZWZhZGZl
10
- NWE2YzZlYmVjOWJlYzI4MGM4Yzk1NWE3YmMzNWIwZTRhMjk3MzY1OWQ1ODdl
11
- NDEwOTZkYjkyOTY3ODAxMmY5Y2FmMTNjOTkzMDZjODIwNmNkMzY=
9
+ NzNlZjM4MDg5ZWQ5NzA2ZGIwMGI2MTUwNTY2NDA5NWZlZGNmZDkyZGJkMTBl
10
+ YzNhMmIzZWU5MDE4MDFlODRiNDg1MDU1ZDI5MTk5ODRiYzQ3YjkyMDUyMWNm
11
+ ZDI4OTI5YmU0ZDRkNjZiZjNlOTFjN2I1N2ZlMGY4MTY4ODg1MDE=
12
12
  data.tar.gz: !binary |-
13
- NzZmOTk0NDhmNDJjYTc4ZDM0MjgxNTE0MDc1NThkZDUwNmU4MDU3N2Q5YTZi
14
- ZWEyMDg0MDllOWQxNWFjNjdhN2I3OTJjMjZmMjQ0Yzc3ZTIxMDQ5NDhhYjkx
15
- NzkxNmVkZWZjNzUwMmI3NWY0MGYyY2UzMzY2NjcyNzgyYjAyYzA=
13
+ YWE0ZjMxMjQzZjY5ZmM2MjBmZTEyMGJmOGY1MzYzZDliOTQ0YWIzZjI5ZDBj
14
+ YzgxODJiMGQyYThjMDQxZDQ0OTIyNjM4ZjUxZTRjNzZmNjMwMGMxYjUyZDE3
15
+ MzU3ZmE5MjAzOGNlOGZmZmUwM2I5ZjAyNTEzOWMxZThlOTk2Mjc=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- forklift_etl (1.0.9)
4
+ forklift_etl (1.0.11)
5
5
  activesupport (~> 4.0, >= 4.0.0)
6
6
  elasticsearch (~> 1.0, >= 1.0.0)
7
7
  lumberjack (~> 1.0, >= 1.0.0)
@@ -56,7 +56,7 @@ module Forklift
56
56
  def self.optimistic_pipe(source, from_table, destination, to_table, matcher=source.default_matcher, primary_key='id')
57
57
  from_db = source.current_database
58
58
  to_db = destination.current_database
59
- if self.can_incremental_pipe?(from_db, from_table)
59
+ if self.can_incremental_pipe?(source, from_table)
60
60
  incremental_pipe(source, from_table, destination, to_table, matcher, primary_key)
61
61
  else
62
62
  pipe(source, from_table, destination, to_table)
@@ -1,3 +1,3 @@
1
1
  module Forklift
2
- VERSION = "1.0.10"
2
+ VERSION = "1.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forklift_etl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Tahler