visualize_helper 0.0.10.26 → 0.0.10.27
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/ext/visualize_helper/visualize_helper.c +6 -4
- data/lib/visualize_helper/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: 3f2f9c1de5d9b0195c106f2c6b869bdae2711864
|
4
|
+
data.tar.gz: 8b5e01587c9ccd2e5d7bf158f80183983de2b95d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
107
|
+
return array;
|
106
108
|
}
|
107
109
|
|
108
110
|
|
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.
|
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-
|
11
|
+
date: 2016-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|