cmetrics 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/cmetrics/cmetrics_counter.c +3 -3
- data/ext/cmetrics/cmetrics_gauge.c +3 -3
- data/ext/cmetrics/cmetrics_serde.c +2 -2
- data/ext/cmetrics/cmetrics_untyped.c +3 -3
- data/lib/cmetrics/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7a2ed53936604ee92cc24e2aa15bfa07389c54e1612170c266d8953fb113a2
|
4
|
+
data.tar.gz: e25ebd242bbfc84b994545675c3de1fa66276e643b57d6acaff2e8009e611c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3848618b6b384afb7867db62133784c9492335757f53f92641c11a75ee82269a9a21150a8a73e81361ff2a6be252bfc6477c2269392ce75cb50f356d62b2ebb9
|
7
|
+
data.tar.gz: 360bf386dfb723f5daf2cf14e028c23ed7a546aa9e51a5ef9a403c19ffc9f380199f47eed82f0e8978991b939e64418a38839e88b4a333680888a5e64ed9842b
|
@@ -55,11 +55,11 @@ counter_free(void* ptr)
|
|
55
55
|
{
|
56
56
|
struct CMetricsCounter* cmetricsCounter = (struct CMetricsCounter*)ptr;
|
57
57
|
|
58
|
-
if (
|
59
|
-
if (
|
58
|
+
if (cmetricsCounter) {
|
59
|
+
if (cmetricsCounter->counter) {
|
60
60
|
cmt_counter_destroy(cmetricsCounter->counter);
|
61
61
|
}
|
62
|
-
if (
|
62
|
+
if (cmetricsCounter->instance) {
|
63
63
|
cmt_destroy(cmetricsCounter->instance);
|
64
64
|
}
|
65
65
|
}
|
@@ -55,11 +55,11 @@ gauge_free(void* ptr)
|
|
55
55
|
{
|
56
56
|
struct CMetricsGauge* cmetricsGauge = (struct CMetricsGauge*)ptr;
|
57
57
|
|
58
|
-
if (
|
59
|
-
if (
|
58
|
+
if (cmetricsGauge) {
|
59
|
+
if (cmetricsGauge->gauge) {
|
60
60
|
cmt_gauge_destroy(cmetricsGauge->gauge);
|
61
61
|
}
|
62
|
-
if (
|
62
|
+
if (cmetricsGauge->instance) {
|
63
63
|
cmt_destroy(cmetricsGauge->instance);
|
64
64
|
}
|
65
65
|
}
|
@@ -46,8 +46,8 @@ serde_free(void* ptr)
|
|
46
46
|
{
|
47
47
|
struct CMetricsSerde* cmetricsSerde = (struct CMetricsSerde*)ptr;
|
48
48
|
|
49
|
-
if (
|
50
|
-
if (
|
49
|
+
if (cmetricsSerde) {
|
50
|
+
if (cmetricsSerde->instance) {
|
51
51
|
cmt_destroy(cmetricsSerde->instance);
|
52
52
|
}
|
53
53
|
}
|
@@ -55,11 +55,11 @@ untyped_free(void* ptr)
|
|
55
55
|
{
|
56
56
|
struct CMetricsUntyped* cmetricsUntyped = (struct CMetricsUntyped*)ptr;
|
57
57
|
|
58
|
-
if (
|
59
|
-
if (
|
58
|
+
if (cmetricsUntyped) {
|
59
|
+
if (cmetricsUntyped->untyped) {
|
60
60
|
cmt_untyped_destroy(cmetricsUntyped->untyped);
|
61
61
|
}
|
62
|
-
if (
|
62
|
+
if (cmetricsUntyped->instance) {
|
63
63
|
cmt_destroy(cmetricsUntyped->instance);
|
64
64
|
}
|
65
65
|
}
|
data/lib/cmetrics/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmetrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi Hatake
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,7 +132,7 @@ licenses:
|
|
132
132
|
metadata:
|
133
133
|
homepage_uri: https://github.com/calyptia/cmetrics-ruby
|
134
134
|
changelog_uri: https://github.com/calyptia/cmetrics-ruby/blob/master/CHANGELOG.md
|
135
|
-
post_install_message:
|
135
|
+
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
138
138
|
- lib
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubygems_version: 3.2.22
|
151
|
-
signing_key:
|
151
|
+
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: C binding for cmetric library.
|
154
154
|
test_files: []
|