forklift_etl 1.1.6 → 1.1.7

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
- MThmMGU3YjE2YWU5YTNhMmM1NWU4ZjNlNGNjODk0Njk2ZGI2ZmZiMQ==
4
+ ZjM4NGIzZDIwMjQzNjg2MTI1ODU4NmUzZmIyZmI5YzVjODZkZjMwZA==
5
5
  data.tar.gz: !binary |-
6
- YTA0N2JkYTQ2YTJiOWJjZDNjOTlkNTY2OGU0OTVlOGIwZDg2MWY4ZQ==
6
+ YjU0MGQyNmU3ZGM3MzI4MjJkYzg4NDU4NGJiMjNiMWU0ZDU5NzVhYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzNlODE5ZDNmMzc3NTVhYjBhY2NkN2Q4NDBmMWQ3NmU4YzRlYzc4MzYzM2Fm
10
- Nzk1NTA4YmRkOTkyZTViMGU0MzBlMjZjMzZhOGU3ZmUxMWUzNzI4YTAyZjMx
11
- YzhmZWVmMmIwMjZjYTA4ODAzYjQ4NTBjOTI5Y2Y2NzY1YzVhM2Y=
9
+ ZWU3MWM1OWM1MjAyMmVmNzRlYmVhZGJhMGY5N2Y3NTY5MTVlYzNlN2RhNzEy
10
+ NGIxMmEyYjRjNGM1NjcxYmVjZjIyM2FkM2FhY2ZjZjc1YmNmMDYzNDQ4MmEy
11
+ NDBiYTlmZWZiNDVlNjFjY2Y4OTMwYzRhMmFmZDgwOTlhOTUyMjM=
12
12
  data.tar.gz: !binary |-
13
- YzcwZTg5YjZiOGI1ZjYxNzQ1ZjIwMmVkM2JmMDI0YTU1ZTQwYTQxYzRiMGE1
14
- OWZhNTNhOTM4N2NhMGM5MGEyNDc0NzZkMTk2MjU3ODhhNDI1OTk5YWI4ODAx
15
- MmMyMTdhZGE2YmIwN2FkZDQ0MjllYzlhNDAyNzFiMGJjMzk5NzA=
13
+ OGQ0ZjZiODA3OGMzZGMxMmY2ZDA5ZTQyZDNmYTQwMTQ2MWM4ODc3NGU4YjY1
14
+ MjYxMzQxOWQ0OWY0NjUzMzRkNTFmNjdiNDliNjVhMzI3ZDQ2YTg2YzVlOWQw
15
+ NGJmYzI1ZTE3Y2FlNzhiZGQ2YTA5MjQ2NWM1MjIwNzIyNGM1NjE=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- forklift_etl (1.1.6)
4
+ forklift_etl (1.1.7)
5
5
  activesupport (~> 4.0, >= 4.0.0)
6
6
  elasticsearch (~> 1.0, >= 1.0.0)
7
7
  lumberjack (~> 1.0, >= 1.0.0)
@@ -28,7 +28,7 @@ module Forklift
28
28
  prepared_query[:from] = from + offset
29
29
  prepared_query[:size] = size
30
30
 
31
- forklift.logger.debug " ELASTICSEARCH: #{query}"
31
+ forklift.logger.debug " ELASTICSEARCH: #{query.to_json}"
32
32
  results = client.search( { index: index, body: prepared_query } )
33
33
  results["hits"]["hits"].each do |hit|
34
34
  data << hit["_source"]
@@ -59,7 +59,7 @@ module Forklift
59
59
  }
60
60
  object[:id] = d[primary_key] if ( !d[primary_key].nil? && update == true )
61
61
 
62
- forklift.logger.debug " ELASTICSEARCH (store): #{object}"
62
+ forklift.logger.debug " ELASTICSEARCH (store): #{object.to_json}"
63
63
  client.index object
64
64
  end
65
65
  client.indices.refresh({ index: index })
@@ -1,3 +1,3 @@
1
1
  module Forklift
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
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.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Tahler