cloudwatch-metrics 0.1.20 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed2bfc01b8f1d2dbab1c056bd3de5b8bc6c6eec68d1272eb79bfc3c2afe58c14
4
- data.tar.gz: a6bde815572b5da17b8deb2e7b333474647c7b35bb0aee4f6a48785518808978
3
+ metadata.gz: a95af2bfa68089210a8e148db134dc22201b624896e7e104c8472672df1323d2
4
+ data.tar.gz: c51f0c22924537d53849f39b189dc4bbf8c27564f54a5804bcc912446fe6814e
5
5
  SHA512:
6
- metadata.gz: 036ca0062180ec4ef115f450b6d6b23c79acf9a9f31a3339de0de0aab50c6dcbf3156cf99f06752cbb4ee1641d61007c77dda14e5864d43dabcc5381c5913d0d
7
- data.tar.gz: 8a478644a87967e0521f22eee3cd1988df05c3da34ae6bd35afa1139a4850cf26f39f20505fbc49f1015c1b86187f6daf4d54fcd51bad4987fd5cb1c53fa7f9a
6
+ metadata.gz: 9a63bba52e9bab8798d226e636c1acff12443f7e6081444dc0a7374afeacbae67b47f01717ebcfd57450aa9f4ce60b69b372fe50e145afaf6dfac965ec384f27
7
+ data.tar.gz: 2c75231f1164b4d9376d506fe02d70b44ecb3befdb5e69b53e03fcfef4b40301b4e32a1b75924e334a97a192357e2f7099b75cd22dfa1ad830c46fb076edc867
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudwatchMetrics
4
- VERSION = '0.1.20'
4
+ VERSION = '0.1.22'
5
5
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'aws-sdk-cloudwatch'
3
4
  require_relative 'cloudwatch_metrics/configuration'
4
5
  require_relative 'cloudwatch_metrics/constants'
5
6
 
@@ -17,7 +18,7 @@ module CloudwatchMetrics
17
18
  end
18
19
 
19
20
  def record(
20
- name:, value:, unit: nil, namespace: configuration.namespace, dimensions: [], timestamp: nil
21
+ name:, value:, unit: nil, namespace: configuration.namespace, dimensions: nil, timestamp: nil
21
22
  )
22
23
  metric_data = [{
23
24
  metric_name: name,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Puckett