alephant-logger-cloudwatch 2.0.1 → 2.0.2

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
  SHA1:
3
- metadata.gz: 626cd839f179ff162652ac9b48d8ad294b4657a9
4
- data.tar.gz: 105f7e1f68ab905b0254ed63c8afce94437f9760
3
+ metadata.gz: 9fdc15cafd3f370f43819233461718f1585ca81a
4
+ data.tar.gz: 2c52c9d23fd4014aee36c3262fe06dd093d8052a
5
5
  SHA512:
6
- metadata.gz: c00230f0ecdfdc93afaee0370e82da48b4adf36882405b2dc08c7c87ecdf69f8b51e04818fad84b5837e7d7c829b5f391f36ea689399c631d111482d622d3329
7
- data.tar.gz: 467d34f6a7f2f75010b540b8100878a8f5eeae21d2d9299f9dfbef767baf6cea14606ddc5c2e22b8e0039cae924d836346871438e1a540619008b97c3f8aed12
6
+ metadata.gz: fc2bdcf8cbc6f5e16c03dd5c6a4a430e23ab5d25be8cd4269b00fb7147bfd436b3ad2ebb2809aa97afd729633b9f6d17c4df52394d3e4f597f4d04c196ba8067
7
+ data.tar.gz: f39dd8a8b5a5190849696aa29ade6d2a44727a85521481464b1565a4912d747503f60310c5c396bfc1f06c59341a39d10bb83bf4bd8730df35529e3f802f2fdf
@@ -8,7 +8,7 @@ module Alephant
8
8
  @defaults = process_defaults opts
9
9
  end
10
10
 
11
- def metric(name, opts)
11
+ def metric(name, opts={})
12
12
  signature = [name] + opts.values_at(:value, :unit, :dimensions)
13
13
  send_metric(*signature)
14
14
  end
@@ -1,7 +1,7 @@
1
1
  module Alephant
2
2
  module Logger
3
3
  module Cloudwatch
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -24,8 +24,8 @@ describe Alephant::Logger::CloudWatch do
24
24
  :unit => "c",
25
25
  :dimensions => [
26
26
  {
27
- :name => "dimension",
28
- :value => "value"
27
+ "name" => "dimension",
28
+ "value" => "value"
29
29
  }
30
30
  ]
31
31
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-logger-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC News
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement