visualize_helper 0.0.10.26 → 0.0.10.27

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: 903c04a29bd20e7c659c5a397b62d211b5e4ae3f
4
- data.tar.gz: b7619b2bc026d47d6064e1a7661f299b6f5db5a7
3
+ metadata.gz: 3f2f9c1de5d9b0195c106f2c6b869bdae2711864
4
+ data.tar.gz: 8b5e01587c9ccd2e5d7bf158f80183983de2b95d
5
5
  SHA512:
6
- metadata.gz: ca2f511e73820ff749c7d63cea0a2b7bb8e6bbc170cf39a1ebb1a63144243d7c2c5f89bdb7e10b52471c51874ac80a827d6b680644f8f4282abdfa99a68078b5
7
- data.tar.gz: d921e8513e7d0f8704e13dbd10bd888aa387c4ae7b47f511e309a010caa8f277127719504f869eb64fbfb148ae2d82fe57f0bd45ea504a85c7e79a9984f339e0
6
+ metadata.gz: e9fb451f383a415fea20d4d355990d9e3798f77e8e82056f3d60b32d044f7941659fe2ea3de9c99d890557f26e24249165ae082d3492df87ed962ce90b3ccecf
7
+ data.tar.gz: 1a2405ba64a3d15088b9f0396b5e8f4c33b51b5082bf4c9ca493d8ee2ab98634cc077e55c6c9f7223d57b26688ca7313cf5526803b7667b475d9841f12bc885d
@@ -73,6 +73,11 @@ static int encontra_min_max_period(VALUE days, VALUE traj, VALUE array){
73
73
  }
74
74
  }
75
75
  }
76
+
77
+
78
+
79
+ rb_ary_store(array,0,INT2FIX(min_c));
80
+ rb_ary_store(array,1,INT2FIX(max_c));
76
81
  rb_ary_push(rb_ary_entry(aggr,period),rb_ary_entry(traj,0));
77
82
 
78
83
  return ST_CONTINUE;
@@ -98,11 +103,8 @@ static VALUE min_max_period(VALUE self, VALUE min, VALUE max, VALUE hash, VALUE
98
103
  // iterate on hash calling "encontra_min_max_period" for each
99
104
  rb_hash_foreach(hash,encontra_min_max_period,array);
100
105
 
101
- // flatten on aggr
102
-
103
-
104
106
  // Return results
105
- return aggr;
107
+ return array;
106
108
  }
107
109
 
108
110
 
@@ -1,3 +1,3 @@
1
1
  module VisualizeHelper
2
- VERSION = "0.0.10.26"
2
+ VERSION = "0.0.10.27"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualize_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10.26
4
+ version: 0.0.10.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raphael Ottoni Santiago Machado de Faria
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler