puma-cloudwatch 0.4.3 → 0.4.4

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
  SHA256:
3
- metadata.gz: 9ae42ac19375d8bf29b099ca8e66fdbfb11721d9d7b1e0b92c927b215543f0db
4
- data.tar.gz: fe0cac1930260bf4f1d511c98ba5bcd0b0abb041e3f6450f40977b6106f5e630
3
+ metadata.gz: 8e2897967164e24f709d8c976d1fd9a5b741a01d020c2da8dcb191a9d4fe43ab
4
+ data.tar.gz: bdb6f674505cd71c8423dd343c77a8521715425de02c2a6b418c1b9575e10d9e
5
5
  SHA512:
6
- metadata.gz: f1f315d96f54cb4d39b6d5485f226fec8dcc5f6d6097f3fee0989d72424763d93d36f37c02f41e41085fd76edcdfa8f26f9ee8c38ef222ffe0de7d93b41a4678
7
- data.tar.gz: 0b350e8c303d4a9c5dd89ecf1a97d6a1f3f3c5e659a4df84d3495ab7950a67fbdc1501d492548a44739285261958bd15a072c066a05a2c966043e6d2b2820341
6
+ metadata.gz: '0658266b02fa7ffa618b94bdc956c12b6536cb2eea17dcf2b7a4c39452b7adf1d96bc2e83544568739bc998ee9c76cf90416b9db3d2b174bcf9d759a0b07266a'
7
+ data.tar.gz: de176da8000aec589ed539b3f0f6538a602344aab633c5dc7216307e21662f31405361525de134f0169288312af414c79b5065b14ff16a71bf257047ab9bc69d
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.4.4]
7
+ - #4 fix syntax error in older versions of ruby
8
+
6
9
  ## [0.4.3]
7
10
  - #3 Eliminate the need to add Array#sum
8
11
 
@@ -32,12 +32,14 @@ class PumaCloudwatch::Metrics
32
32
  private
33
33
  def perform
34
34
  loop do
35
- stats = Fetcher.new(@options).call
36
- results = Parser.new(stats).call
37
- Sender.new(results).call unless results.empty?
38
- sleep @frequency
39
- rescue Exception => e
40
- puts "Error reached top of looper: #{e.message} (#{e.class})"
35
+ begin
36
+ stats = Fetcher.new(@options).call
37
+ results = Parser.new(stats).call
38
+ Sender.new(results).call unless results.empty?
39
+ sleep @frequency
40
+ rescue Exception => e
41
+ puts "Error reached top of looper: #{e.message} (#{e.class})"
42
+ end
41
43
  end
42
44
  end
43
45
 
@@ -1,3 +1,3 @@
1
1
  module PumaCloudwatch
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudwatch