fourkites-sqspoller 0.1.12.11 → 0.1.12.12
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 -2
- 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
|
+
ZmU5NGVkNWNiODNiZDMzNDY4OTgxOWNkOGRiNWFiMDZjM2FhNjE1OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjJjZjJhYThhMTI2ZmY3YzNlNGNjMWUxZjgxOTgzOWEwNTg2NjU4Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2U4YWI1ZmQ0ZDkwZmI2ZTY3ZmI4ZTE5MTg5NzhkZGNiMjExNTk3MGYxOTNm
|
10
|
+
MDYyMjJmOWMzMGM3MTgwYjY4MzkxYTRhY2IyOTFhOWJhMTEyMzg4Mjg5OTQw
|
11
|
+
ZmFhODUyNmQ4N2Y2NDhjZDI4Y2IwYjA5ZGNmZGIxOTA3NzA5ZWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Nzc4MGQ5NDI1ODNkZDUyMmVlM2QwYmJmYzdhODcyYTBjOTViNDc3ZTc1YWRm
|
14
|
+
MmUxMGFmMDhkNTNkYjg3ZTYwZjY4NWVjNzk0NTI1MTg2NTRhNzk0ODZhYzU1
|
15
|
+
YjM0ZWJkN2RiYjlhNDAxNDg4NjEwZTQ0Yzg3OWY3YzhjN2E3MjQ=
|
@@ -18,10 +18,10 @@ module Sqspoller
|
|
18
18
|
params = {}
|
19
19
|
parsed_message = JSON.parse(message)
|
20
20
|
parsed_message.keys.each do |key|
|
21
|
-
|
21
|
+
@logger.info "Creating a new params hash"
|
22
22
|
params[key] = ( parsed_message[key].is_a?(Hash) ? parsed_message[key].to_json : parsed_message[key])
|
23
23
|
end
|
24
|
-
|
24
|
+
@logger.info "Got params as: #{params}"
|
25
25
|
if @http_method.downcase == "post"
|
26
26
|
response = Net::HTTP.post_form(@uri, JSON.parse(params))
|
27
27
|
elsif @http_method.downcase == "get"
|
data/sqspoller.gemspec
CHANGED