forklift_etl 1.0.16 → 1.0.17

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
- YjE5ZGIxY2Y1MzA5YTgzN2YxODA4MTU3NDM5YjE3ZjdiNjYyYjc1Yg==
4
+ MDgyMTUzNGZkMzgyMGZkODc1MDEzZGJhMGIxYWMxZjE5ZjM2YjZmNA==
5
5
  data.tar.gz: !binary |-
6
- YjVmM2U0M2U1YTFlMTA1Y2U3ODNlMTY4ODczODM2OGU3Y2Y3YjE5Ng==
6
+ OTc4MTE5NGMzMWM1MTgzY2JlYjliZjkyMWFiNjk0ZGM4ZTQyMzJkYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDAyMjA5MGY3MjNmYTYwM2U3NmZiNTliMmNiNTRkYTcxMDc1ZjE3Y2VmNDc0
10
- N2Y0MzQzOWZhNTdhMzI4YzY2YWNhZTliMzZmMzExOGI3YzlkMTlkYTRmNWNk
11
- NzlmNGVjNWNjMjU0ZjBhNDY2NzhhMDAxNzlkZGUxNmFiNDExODg=
9
+ MTAwNGUyZmNiNTVkNzAwMmRhZjEzYTk3ZGFkM2RjMGJmMTJkMzExZTFmMDRl
10
+ ZDQ5YzM2OTk4NzYzMjViNTk4ODJlMjBhZTgwYjA3OTU1NWM2YWRkMjhlNWU5
11
+ NDAyZjI0ZjZjNTlmNTI5MDRhMWQzOGI1ZWE2MmY0MDI1ODZkNmY=
12
12
  data.tar.gz: !binary |-
13
- NWZiZTJlYmVmMWFhZTBjY2E2YTAzYmE2YmM0YmM0M2FkOTljZGI1NWQ4ZmQ4
14
- NGEwMjk5MTFhOWRmYmVmOTU1NWIyM2NjMTkwMjJlNTJjOGVmNjk1ODBmZmNi
15
- M2I5ZDlmYmFkMGYwZjJmZTMyMTc5MDJhNWVlMTYyODdlOGY5MDE=
13
+ YjM1YjczYmY4NWM1YjEyYjQzZDY0Yjc3YzJlMDVmNGEwMDY1NDEzNTRhZjA5
14
+ NTFkNDExMmRhMDNkNmEyMmJmOTVmOTQxZmRkODViNjQ0OGI5NDczMTY2Mzk3
15
+ Y2VlMTdkMTRkNDU5MDY4MmMxYTU1NWYxOWEzNjE4MGIwOThkODU=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- forklift_etl (1.0.16)
4
+ forklift_etl (1.0.17)
5
5
  activesupport (~> 4.0, >= 4.0.0)
6
6
  elasticsearch (~> 1.0, >= 1.0.0)
7
7
  lumberjack (~> 1.0, >= 1.0.0)
@@ -64,11 +64,11 @@ module Forklift
64
64
  end
65
65
 
66
66
  def self.can_incremental_pipe?(source, from_table, destination, to_table, matcher=source.default_matcher)
67
- a = source.tables.include?(from_table)
68
- b = source.columns(from_table, source.current_database).include?(matcher)
69
- c = destination.tables.include?(to_table)
70
- d = destination.columns(to_table, destination.current_database).include?(matcher)
71
- return (a && b && c && d)
67
+ return false unless source.tables.include?(from_table)
68
+ return false unless source.columns(from_table, source.current_database).include?(matcher)
69
+ return false unless destination.tables.include?(to_table)
70
+ return false unless destination.columns(to_table, destination.current_database).include?(matcher)
71
+ true
72
72
  end
73
73
 
74
74
  ## When you are copying data to and from mysql
@@ -1,3 +1,3 @@
1
1
  module Forklift
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
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.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Tahler