ffwd 0.1.3 → 0.1.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
  SHA1:
3
- metadata.gz: d359f0408acc2d8dc01aefbe73d265da27a87588
4
- data.tar.gz: 079caae120a06beb6907796af8f7fd750cf11ffe
3
+ metadata.gz: 399b60314faf88d004f58c6a578fc968e4b6b095
4
+ data.tar.gz: 201562d116a908844b4fac300df5e7bf23ae4134
5
5
  SHA512:
6
- metadata.gz: cf92d43e1a7542b291bd46ef5ccb12cda382b881ce1c2addbb882debd1c66c39d449b9f1ddfff217a923ea94e9ea9bcd391db92a764d3e259777ac4054ecf922
7
- data.tar.gz: 76daa87ebb9972b3cfeb095d2fea347de78ff1bb46cb998ddd19c40dccb95aeaa783b33c2758899e3988047c0f048ae91436c4952aabb9d0f6d58ab8f8c6a3da
6
+ metadata.gz: 0084bb8b41d524eca21b3ab8939eee8e5030819fdae4be59e27d5a6738b765d375a377c0b9dfd6a6fd59233cf32602455438996dd4751adeae2e0e7c441848e6
7
+ data.tar.gz: 2a9cabb995a497007b4470a211efccd99e04345d18e91461a3d744e9d52cab535013f4f5d197e011029b3b580529354c5c245239999a7f92239e0c6d80174e31
@@ -48,6 +48,7 @@ module FFWD
48
48
  e[:ttl] ||= @ttl if @ttl
49
49
  e[:tags] = FFWD.merge_sets @tags, e[:tags]
50
50
  e[:attributes] = FFWD.merge_hashes @attributes, e[:attributes]
51
+ m[:value] = nil if m[:value] == Float::NAN
51
52
 
52
53
  @output.event Event.make(e)
53
54
  rescue => e
@@ -41,6 +41,7 @@ module FFWD
41
41
  m[:host] ||= @host if @host
42
42
  m[:tags] = FFWD.merge_sets @tags, m[:tags]
43
43
  m[:attributes] = FFWD.merge_hashes @attributes, m[:attributes]
44
+ m[:value] = nil if m[:value] == Float::NAN
44
45
 
45
46
  @output.metric Metric.make(m)
46
47
  rescue => e
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module FFWD
17
- VERSION = "0.1.3"
17
+ VERSION = "0.1.4"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffwd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John-John Tedro
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-06 00:00:00.000000000 Z
12
+ date: 2014-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine