fourkites-sqspoller 0.1.12.17 → 0.1.12.18

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
- YjMxNzAxZGU2NGI4NjNlYWNkYzdjMjkyNTY3YWYxMWY3YjlmMDA1Zg==
4
+ ZDRlMmY3OTRjMjc2NDQ0ZTIxODJkMDA0ZmRkN2MxNjE5MmE0ZjJjMA==
5
5
  data.tar.gz: !binary |-
6
- YWVhN2YzYzA0YmIxNDYwYjU3ZDFjMWNjYjc3MDBlZjI0YzQ4MzdlMQ==
6
+ YjFmODMyMGQwMGNjZjY5MmFkNzJlMjgwNjNjM2IwYTdhNzNiZTY4Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWIxOWEzMTA4YTAyYjM1MmM1M2E1YzQ3MTdlNzY1OGQzMTI0MzU4YTIwNDQz
10
- MDcyMTE3YjA3NTI5Y2Y1YTYxNTY1Y2ZjNGJjNzg3YjNlMmU0OTdjYTVhNDNi
11
- MjE0MjNmNzRlZjI0YjIyYTBmNTM3MDlkNGU1Zjg4YjNmZmVhZTc=
9
+ YTBjNTMwNDAyZDBlZjk5YWM3Y2U3NTEzNWQxNDAyNjFmYTM4NzIxMjRiZTBj
10
+ NzM1NWViMThmYmJiNmNhNjM1MDkyOGY1OWExOWM4ZGJkNDRhNmRmOWZhOTUx
11
+ MmU3NDA5ZjAyMDQwNDMzZGQ3ZWJmNmRkMzE4ZTY4MzFjYTg2MTQ=
12
12
  data.tar.gz: !binary |-
13
- YzFhYzExY2FhNWIxODhlMWMxNmE0ZjgzNDdkNDIwNzUwOTI5Nzk3ODM4NGU4
14
- NzcwODRhYWJiNTEwYTQwNTg5YjQzNTFjMWZlMTdjMTY2ZWQ0NWU5MWNjODBl
15
- MTA5MWU5Y2Y4NTczYmJmMWZmNWE2Y2Q1YjcxNDE3YWFhOWIyMzA=
13
+ ZWFiMDQ5YmI1ZWE4ZWY0YjNiMjdmYWMwYjgzMTViYTdmODkzOWFiYTg0YzYw
14
+ NTA5ODQ5OTYyOTEwZTJmZGRiZWVmZTk5YjY1ZTA5MTc1YTQyMmY3MmI3MWY2
15
+ YjAxY2RmMGMwMDlhMzgyNzgyZTJhOGRlOWRkNDE3NGFiZDIyZjE=
@@ -22,16 +22,7 @@ module Sqspoller
22
22
  end
23
23
 
24
24
  def process(message, message_id)
25
- params = {}
26
25
  parsed_message = JSON.parse(message)
27
- parsed_message.keys.each do |key|
28
- @logger.info "Creating a new params hash"
29
- params[key] = ( parsed_message[key].is_a?(Hash) ? parsed_message[key].to_json : parsed_message[key])
30
- end
31
- @logger.info "rest-client, Got params as: #{message}"
32
- @logger.info "rest-client, Got params as: #{parsed_message}"
33
- @logger.info "rest-client, Got params as: #{params}"
34
- @logger.info "rest-client, json params as: #{params.to_json}"
35
26
 
36
27
  if @http_method.downcase == "post"
37
28
  RestClient::Request.execute(:method => :post, :url => @http_url, :payload => parsed_message.to_json, :headers => HEADERS, :timeout => 10, :open_timeout => 5) do |response, request, result|
data/sqspoller.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'sqspoller/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "fourkites-sqspoller"
8
- spec.version = '0.1.12.17'
8
+ spec.version = '0.1.12.18'
9
9
  spec.authors = ["anshul-fk"]
10
10
  spec.email = ["anshul@fourkites.com"]
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fourkites-sqspoller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12.17
4
+ version: 0.1.12.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - anshul-fk