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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzY4MzBlYTJhOTc3NDczMmI2ZmIyNWEyMmFmODE3OGVhOGQwZjE4Zg==
4
+ ZmU5NGVkNWNiODNiZDMzNDY4OTgxOWNkOGRiNWFiMDZjM2FhNjE1OQ==
5
5
  data.tar.gz: !binary |-
6
- NTNlNjUyZDk5MGQwYTI0NDI1ZjJlZThiODllYTZkMDkyOTU3NTNjNA==
6
+ MjJjZjJhYThhMTI2ZmY3YzNlNGNjMWUxZjgxOTgzOWEwNTg2NjU4Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmZiYjE0ZDgzODUwYzJmMDhjYjIyYzY3MjU5MDJhOTE1Zjc5ODlhYWVjYjQw
10
- ODdkYTQ3NDljYTk5ZmY4YzQ4NjU3ZjUzNGIzNzlmOWI0ZWE0YWM3NDA0NDJh
11
- YzhiMGQ1OTk5MjhhMDNhZDk3MWFiYWU0NDJlMGE2ZDY2MzI5MTU=
9
+ N2U4YWI1ZmQ0ZDkwZmI2ZTY3ZmI4ZTE5MTg5NzhkZGNiMjExNTk3MGYxOTNm
10
+ MDYyMjJmOWMzMGM3MTgwYjY4MzkxYTRhY2IyOTFhOWJhMTEyMzg4Mjg5OTQw
11
+ ZmFhODUyNmQ4N2Y2NDhjZDI4Y2IwYjA5ZGNmZGIxOTA3NzA5ZWI=
12
12
  data.tar.gz: !binary |-
13
- MTkwYmFlYzg4YmZmZjFmMDIyMGY5YmVjNDg5NWM4OWFkYjk1MDdhMjNkMTFl
14
- YTQxODZjN2ZkMzRhMzA4Y2RhZjgxMTE5MTc2NGZhZjY0ZWRjNmI2NWVlYzY5
15
- MjU3NWYzN2EyNWMxYjRhNmRmYjJjM2U1OGM1NGZhYjZmM2NlZjg=
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
- puts "Creating a new params hash"
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
- puts "Got params as: #{params}"
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
@@ -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.11'
8
+ spec.version = '0.1.12.12'
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.11
4
+ version: 0.1.12.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - anshul-fk