kantox-chronoscope 0.3.0 → 0.3.1
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 +4 -4
- data/lib/kantox/chronoscope/generic.rb +3 -1
- data/lib/kantox/chronoscope/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc40deadd4e5c6c0331f2a0cec0377451c90521c
|
4
|
+
data.tar.gz: f50279d201ea4b3e557540208fff7184fe7f57b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aedb9089e33bfc2f44685980561d9c28e32104c52bf9f5162fec51ad0720c77f2dbe4f76cb9fb33984e69df5d6b5f6c1a5cbb1834677469e7c2ab35ed233b9e
|
7
|
+
data.tar.gz: be4f4d6b28574a2d524a791a0ad6485f9a7922a61f53de3fa3a2ae025600ccb2ac6454b8fd4cf8f102f0476439d2770e83926c8019588c53cdf84b3988c87acf
|
@@ -47,6 +47,7 @@ module Kantox
|
|
47
47
|
@@★.shift
|
48
48
|
end
|
49
49
|
end
|
50
|
+
alias_method :watch, :⌚
|
50
51
|
|
51
52
|
# FIXME: total currently adds up all calls, including nested
|
52
53
|
# I am not sure if it is correct ot not, so leaving it for now
|
@@ -55,10 +56,11 @@ module Kantox
|
|
55
56
|
|
56
57
|
log_report(count).tap do |log_hash|
|
57
58
|
LOGGER.debug(log_hash[:string]) if log
|
58
|
-
log_hash[:data] = @@chronoscope_data.dup
|
59
|
+
log_hash[:data] = @@chronoscope_data.map { |k, v| [k, v.dup] }.to_h
|
59
60
|
@@chronoscope_data.clear if cleanup
|
60
61
|
end
|
61
62
|
end
|
63
|
+
alias_method :harvest, :⌛
|
62
64
|
|
63
65
|
def log_bm(arg, bm)
|
64
66
|
[
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kantox-chronoscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kantox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|