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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 732b800969dbb6be0486815da2043917f45a2d99
4
- data.tar.gz: 22650f2ead37c3dd126eec123bdc3ec0c9c14f82
3
+ metadata.gz: fdb1a84b880d00526cba4e64ea2af577dc5d5ebe
4
+ data.tar.gz: 6c073223d3b1ee8ef1b7ed17f4f4da90ee39f7e9
5
5
  SHA512:
6
- metadata.gz: 9c553e83d02daeb2d9f4dad84ba6ad712761d314f468ddd65b50fe28a986ab22d990da981e8db87e0503a4733465f063649c8120636af3d334e31aa1fd4c010a
7
- data.tar.gz: 573457b3ceccb1d79930aa43108946c0c19725565290bdcdd63ae9ec6cd2e16bcbef32218119a6f3cdb4837491eac5619fa4b7738694c7fc20457d883f0909c2
6
+ metadata.gz: 76e5472926e7c45753a67701eb6d84b908643b09c4e79c94845ec325dce803f7f947b9378505e8e7da9d5e4be6c0842049bdc8c7eea6be0aa43bbda8c12131fc
7
+ data.tar.gz: 16d618f8c79ab4b0ddf8dde7dea0821ccbcb5af1fbe7e0ca49ff89cecc2432f467038697f4556db20523f01b7f1c9cd4aac261732df13696b091b4161c0df3b2
@@ -1,14 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stream_stats (0.0.7)
4
+ stream_stats (0.0.8)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
- multi_json (1.7.6)
10
- rake (10.0.4)
11
- rdoc (4.0.0)
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);
@@ -1,3 +1,3 @@
1
1
  module StreamStats
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
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.7
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-06-19 00:00:00.000000000 Z
11
+ date: 2013-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc