fourkites-sqspoller 0.1.12.14 → 0.1.12.15

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
- YzcxMjRlYjI0MGUxMTU1NzhmNzBhNDg2Mzg0NzUyMmMzMzU2Nzg0NQ==
4
+ ZjlkZmU5OGVlZjQ2MDQwNzllNjE0M2QzZTIyYzY2ZjQzMmQ2YWI0Zg==
5
5
  data.tar.gz: !binary |-
6
- OWJlMzg1ZmY0MGIxYjk4MzcyZTdiZjg3ZTc4NWM1N2I1MmYwZWJiZA==
6
+ MzNhODU1NWZkYTM1NWEwNTA5MmUxYjk0YTg3NWI2OTU2ZDdhNDBhYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2UxYzAxZmUzMjIwY2YzMDRiMzZiNGVjYWY3ZDU4ZTJiNGYyYzQxZjAyZGJm
10
- YTA0YzBlM2Y5NzFmYTU2NWIwOGE1ZjkwZDQ2NWZiYTZhYjg0ZWVkN2Y2ZGQ3
11
- YWYyMDliNTk5ZDljOWUyODQxOGFlM2MzNzVmNmUyOTg3YTM3MDA=
9
+ MWMzMjhiNjBkZTIxMWE0ZWRmZWZjYmZkZmRlNWZmY2QwZGIwNGE3NjdkMmNi
10
+ ZDk4MTZhNDQwNzU0ZmE2ZGNjMDNjNzU1ODFkOTg0NzUyMjgwNDUxMTQyYjk1
11
+ ZTZiOTkzZGRlMmM0ZTg3ZGYxMDgwZmVhZmJhNGQzYzg1MDUxNmU=
12
12
  data.tar.gz: !binary |-
13
- OTAzZTMxNzcwNjc5ODlmMjgxMjNjMmE3MWJlZTE4ODM2NjMxNTU3ZDQ1ZGIy
14
- MmY2NmUxNmRkNGU4NDMyZmI2MGI4Mjk2ZGRjODNjYzUxNjZhOTI4MDdkMWYz
15
- Nzg2ZWY1MjYzNjkzNDVjMDc5MWUxY2I1NmMwNjQ4ZmIzYjdjYzE=
13
+ MGE2MmZjNmNjMjZlNGQzNmIyOGE4NzFhZTc1ODY3Y2ZkMDk4MWU0NTA4ZTMy
14
+ YmNlZGViZWNhN2Q3ZTA0NmM5MjQ3OTg0OWQ1ZDY4NWFiMjlkYzNkMzA2MTZh
15
+ NWQwMjNhMWRiYjY2MjcwMGVhMjlmNjU1MzU2NzQ3YzFiOTY4ZWM=
@@ -2,6 +2,7 @@ require "logger"
2
2
  require "concurrent"
3
3
  require "net/http"
4
4
  require "rest-client"
5
+ require "json"
5
6
 
6
7
  module Sqspoller
7
8
 
@@ -23,7 +24,7 @@ module Sqspoller
23
24
  params[key] = ( parsed_message[key].is_a?(Hash) ? parsed_message[key].to_json : parsed_message[key])
24
25
  end
25
26
  @logger.info "rest-client, Got params as: #{params}"
26
-
27
+ @logger.info "rest-client, json params as: #{params.to_json}"
27
28
 
28
29
  if @http_method.downcase == "post"
29
30
  RestClient::Request.execute(:method => :post, :url => @http_url, :payload => params.to_json, :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.14'
8
+ spec.version = '0.1.12.15'
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.14
4
+ version: 0.1.12.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - anshul-fk