resque_to_cloudwatch 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e949b35b475c33f8fa264dc21a61bf51edb30a0
4
- data.tar.gz: af3e2f113f01ad65cf18382e94c98ea8d5620b9d
3
+ metadata.gz: 217cf8d76e52d9c4ccd703c45ec46cdaac94cc32
4
+ data.tar.gz: 4cae300b883c5fcfd301a0bcca0e015cd9dfc57d
5
5
  SHA512:
6
- metadata.gz: 5079dd977ba6e3b4a28bdc94b5368d9789cdff22f18f2db8da401e2ad01db432793f8af58ed9ba8945d62143568746f23dc4aebcff099ca0d6dceb854f27c4b0
7
- data.tar.gz: d0a740b9f7292c2633756aeddb4e56bd26f0976699b26359d6e0bbd2ccb4f26d245a1be53397b0470f3acc2cb748af85a90618ab813b62eb92935661134384d8
6
+ metadata.gz: e72f61d3e9d3a1f7501fc48d50b4259176614b77815043c9c7d1e527ef31a005d4143d5c1a7ece5434a83448fba32fe2f93c18581012aa1d174b05d000175dc5
7
+ data.tar.gz: de53bd525c20350412900c9c969dadbd6df922601aab1ada9a818feebe4695c9d80d71762b406d290704076cdc404ff3a36a3471a9d3c496f9ade105a74c32d3
@@ -10,7 +10,7 @@ $log.info "Starting ResqueToCloudwatch"
10
10
  options = {}
11
11
 
12
12
  OptionParser.new do |opts|
13
- opts.on("-c", "--config", "Config file to load") do |c|
13
+ opts.on("-c", "--config CONFIG", "Config file to load") do |c|
14
14
  options[:config] = c
15
15
  end
16
16
  end.parse!
@@ -28,6 +28,9 @@ EventMachine.run do
28
28
  sender.send_value(collector.get_queue_length)
29
29
  rescue => e
30
30
  $log.error "Exception sending or collecting data: #{e.message}"
31
+ e.backtrace.each do |line|
32
+ $log.error line
33
+ end
31
34
  end
32
35
  end
33
36
  end
data/config.yaml CHANGED
@@ -5,4 +5,4 @@ project: testing
5
5
  hostname: andy-laptop
6
6
  redis_host: some.redis.host
7
7
  redis_port: 6379
8
- period: 60
8
+ period: 60
@@ -1,3 +1,3 @@
1
1
  module ResqueToCloudwatch
2
- VERSION = "1.0.0"
3
- end
2
+ VERSION = "1.0.2"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque_to_cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Sykes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-11 00:00:00.000000000 Z
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler