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 +8 -8
- data/lib/sqspoller/worker_task.rb +2 -1
- data/sqspoller.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjlkZmU5OGVlZjQ2MDQwNzllNjE0M2QzZTIyYzY2ZjQzMmQ2YWI0Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzNhODU1NWZkYTM1NWEwNTA5MmUxYjk0YTg3NWI2OTU2ZDdhNDBhYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWMzMjhiNjBkZTIxMWE0ZWRmZWZjYmZkZmRlNWZmY2QwZGIwNGE3NjdkMmNi
|
10
|
+
ZDk4MTZhNDQwNzU0ZmE2ZGNjMDNjNzU1ODFkOTg0NzUyMjgwNDUxMTQyYjk1
|
11
|
+
ZTZiOTkzZGRlMmM0ZTg3ZGYxMDgwZmVhZmJhNGQzYzg1MDUxNmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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