fourkites-sqspoller 0.1.9 → 0.1.10

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
- NmQ3Zjc2Njc2NTdmYjA1ZTMyOGVjNDkxYWVjMzg5MTcyNzllMzM3YQ==
4
+ ZjNkMWYyZjUyZjNmMTgwZjllMGJkZGFkMWM5Y2NlMTkxNmFjM2YzNg==
5
5
  data.tar.gz: !binary |-
6
- NmExOWVlMDBlYTk3NWRjOGVjNjQ5ZTc4YTJkNGNmOWE4ODY5YWIwMg==
6
+ ZDdiMGI2NDkwZWI4Y2EzZTg5NWIzZGRjNmE3ZTUwNGUyODNkMTQ1Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzhmYWYwZDhlYjQ2ZTk1N2I5MzljYjY1MDUyZWYxODIwZTE1NGZjYTIyMjky
10
- YjM1ZGRhYWNmNjU1MzlmYTY5NzU2M2FiZTA0NzY4NzQyZTQ3NTRhOWYyZDYw
11
- MGE1ZDllNTFmYzM2MzBjZGQxYWIwNDcxYTNkNzIzNTk4ZTc1MzQ=
9
+ ZjNjMjdjOTQ5OWE1NGI3ZDAyMjllODM3MzgwNTdjMWFjNzRhOWUzMzUwMjhl
10
+ ZDVhNjcyZGMzMjYzMThlMDNlOTk5MGM2ZjljNTk2N2JiZmVhN2IwNmZkZWU3
11
+ MDAwYTAzMTA1YjEwZDkyZWQxOGIzNjMxYmNiNDM1NGVjZjdjMjk=
12
12
  data.tar.gz: !binary |-
13
- YjE5Mjk5ZjFkOGJiOThkMTUyMzZkNDI2OWI3ZGIyODM4M2ZhZjE3ZTNkMDhj
14
- NDVkMmZiZWUxZWU1MzNkY2U2MzBlN2Q1MTIzMTM1YjYxN2NkNWE2NGMxOWQz
15
- MmU1ZTNmYWUyZDJmNTBhMGI0OGMwNzIzMmQ4MzExNDEyMDU3OGQ=
13
+ NWQyZDkyZTAxOGFhNmVmZGRhYjMxZTc1NGM2ZWNiNDY3NGFiZmJhOGUzMGUz
14
+ MGU0ZDVhNzcwMjUwMmFiMzM1ZmUyNGU1ZWE4NmU2NTIwM2RkNzZjMGNiOGI4
15
+ ODc4ODUwNmE3Y2I1NTAyYzAzYzI4MWQ0ZmE3Mjk5Y2U3MWM3YzQ=
@@ -38,9 +38,9 @@ module Sqspoller
38
38
  STDERR.reopen STDOUT
39
39
  end
40
40
 
41
- def start_poller_with_config(config, queue_config_name, access_key_id, secret_access_key, region)
41
+ def start_poller_with_config(config, queue_config_name, access_key_id, secret_access_key, region, logger_file)
42
42
  puts "Started poller method"
43
- @logger = Logger.new(STDOUT)
43
+ @logger = Logger.new(logger_file)
44
44
 
45
45
  total_poller_threads = 0
46
46
  qcs = []
@@ -71,12 +71,12 @@ module Sqspoller
71
71
  puts "Did not receive log file name"
72
72
  fork do
73
73
  Process.daemon
74
- start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region
74
+ start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region, STDOUT
75
75
  end
76
76
  else
77
77
  puts "Did receive log file name"
78
78
  daemonize log_filename
79
- start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region
79
+ start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region, log_filename
80
80
  end
81
81
  end
82
82
 
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.9'
8
+ spec.version = '0.1.10'
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.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - anshul-fk