stream_stats 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -4
- data/ext/stream_stats/stream_stats.c +2 -1
- data/ext/stream_stats/stream_stats_counter.c +2 -1
- data/lib/stream_stats/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: fdb1a84b880d00526cba4e64ea2af577dc5d5ebe
|
4
|
+
data.tar.gz: 6c073223d3b1ee8ef1b7ed17f4f4da90ee39f7e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e5472926e7c45753a67701eb6d84b908643b09c4e79c94845ec325dce803f7f947b9378505e8e7da9d5e4be6c0842049bdc8c7eea6be0aa43bbda8c12131fc
|
7
|
+
data.tar.gz: 16d618f8c79ab4b0ddf8dde7dea0821ccbcb5af1fbe7e0ca49ff89cecc2432f467038697f4556db20523f01b7f1c9cd4aac261732df13696b091b4161c0df3b2
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stream_stats (0.0.
|
4
|
+
stream_stats (0.0.8)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
8
8
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
json (1.8.0)
|
10
|
+
multi_json (1.7.7)
|
11
|
+
rake (10.1.0)
|
12
|
+
rdoc (4.0.1)
|
13
|
+
json (~> 1.4)
|
12
14
|
simplecov (0.7.1)
|
13
15
|
multi_json (~> 1.0)
|
14
16
|
simplecov-html (~> 0.7.1)
|
@@ -37,7 +37,8 @@ static VALUE strstat_timer_init(VALUE self, VALUE rb_eps, VALUE rb_quantiles) {
|
|
37
37
|
break;
|
38
38
|
}
|
39
39
|
|
40
|
-
init_timer(eps, quantiles, num_quantiles, i_timer)
|
40
|
+
if (init_timer(eps, quantiles, num_quantiles, i_timer) != 0)
|
41
|
+
rb_raise(rb_eArgError, "failed to initialize");
|
41
42
|
|
42
43
|
data = Data_Wrap_Struct(timer_class, NULL, strstat_timer_free, i_timer);
|
43
44
|
rb_ivar_set(self, rb_intern("internal_struct"), data);
|
@@ -11,7 +11,8 @@ static VALUE strstat_counter_init(VALUE self) {
|
|
11
11
|
|
12
12
|
i_counter = (counter *) malloc(sizeof(counter));
|
13
13
|
|
14
|
-
init_counter(i_counter)
|
14
|
+
if (init_counter(i_counter) != 0)
|
15
|
+
rb_raise(rb_eArgError, "failed to initialize");
|
15
16
|
|
16
17
|
data = Data_Wrap_Struct(counter_class, NULL, free, i_counter);
|
17
18
|
rb_ivar_set(self, rb_intern("internal_struct"), data);
|
data/lib/stream_stats/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream_stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neville Kadwa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|