libhoney 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libhoney/client.rb +5 -0
- data/lib/libhoney/mock_transmission.rb +6 -1
- data/lib/libhoney/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c575f9d827828690057f38e40e8777affa2d47377311b479f1864da2c4ea2744
|
4
|
+
data.tar.gz: af4ab490ed04e715bb7969ec0c21658c90232eefa1e34924e83ea6595d4195aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccd03a2f723ef5975a806b6240c05c62a3f8b992ee4589388a99def923e3bf7fb26783748b845301e7fc27f163857ad75ef6d9da1c963e9df0fb871191cf778e
|
7
|
+
data.tar.gz: 10209e518c521f9a72c71b704ac0be6ec0700da31d382873932c39242ac8acdf0cdfd0afad1c3c85d0c9ffff514abd8896f0437aaaff048ed99343c52d55a092
|
data/lib/libhoney/client.rb
CHANGED
@@ -8,7 +8,7 @@ module Libhoney
|
|
8
8
|
# production is not recommended.
|
9
9
|
class MockTransmissionClient
|
10
10
|
def initialize
|
11
|
-
|
11
|
+
reset
|
12
12
|
end
|
13
13
|
|
14
14
|
# @return [Array<Event>] the recorded events
|
@@ -22,5 +22,10 @@ module Libhoney
|
|
22
22
|
# Does nothing.
|
23
23
|
def close(drain)
|
24
24
|
end
|
25
|
+
|
26
|
+
# Discards the recorded events
|
27
|
+
def reset
|
28
|
+
@events = []
|
29
|
+
end
|
25
30
|
end
|
26
31
|
end
|
data/lib/libhoney/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libhoney
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Honeycomb.io Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|