statsample-optimization 2.0.3 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -3
- data/Rakefile +13 -4
- data/test/test_statsample_optimization.rb +1 -1
- metadata +26 -9
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
I�S��W�{��M�J�4���G�iC��ĎX�g/��D�!|8���Z�������eZ��n���k6����-�����ģ��*�h���p�D�W���^�B��Fo��
|
2
|
+
eh`�n̍�ᢚ�րX�I��Lw�yc^����n�ރ����Zyg�=�*�������,< q�Y���Q[�S���A�.w�_�ࡴH��+�^(�g����elJ&nAm3�̼�q$$B�2�vf���v����P˦e��e�
|
data/Rakefile
CHANGED
@@ -5,17 +5,26 @@ require 'rubygems'
|
|
5
5
|
require 'rake/extensiontask'
|
6
6
|
require 'hoe'
|
7
7
|
Hoe.plugin :git
|
8
|
-
Rake::ExtensionTask.new('statsamplert')
|
9
8
|
|
10
9
|
task "test" => ["lib/statsamplert.so"]
|
11
|
-
Hoe.spec 'statsample-optimization' do
|
12
|
-
self.version="2.0.
|
10
|
+
spec=Hoe.spec 'statsample-optimization' do
|
11
|
+
self.version="2.0.5"
|
13
12
|
self.spec_extras[:extensions] = ["ext/statsamplert/extconf.rb"]
|
14
13
|
self.rubyforge_name = 'ruby-statsample'
|
15
14
|
self.developer('Claudio Bustos', 'clbustos_at_gmail.com')
|
16
|
-
self.extra_deps << ["statsample","~>0.
|
15
|
+
self.extra_deps << ["statsample","~>0.15.1"] << ["statistics2", "~>0.54"] << ["gsl", "~>1.12.109"]
|
17
16
|
self.extra_deps << ["rake-compiler"]
|
18
17
|
|
19
18
|
end
|
20
19
|
|
20
|
+
Rake::ExtensionTask.new('statsamplert',spec.spec) do |ext|
|
21
|
+
ext.cross_compile= true
|
22
|
+
ext.cross_platform= "i386-mingw32"
|
23
|
+
ext.cross_config_options << "--with-something"
|
24
|
+
ext.cross_compiling do |gem_spec|
|
25
|
+
gem_spec.post_install_message = "You installed the binary version of the gem!"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
|
21
30
|
# vim: syntax=ruby
|
@@ -5,7 +5,7 @@ require "statsamplert"
|
|
5
5
|
require "statsample"
|
6
6
|
class TestRubyStatsampleOpt < Test::Unit::TestCase
|
7
7
|
def test_base
|
8
|
-
assert(Statsample::OPTIMIZED,true)
|
8
|
+
assert(Statsample::OPTIMIZED,"should be true")
|
9
9
|
end
|
10
10
|
def test_frequencies
|
11
11
|
assert(Statsample::STATSAMPLE__.respond_to?(:frequencies))
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statsample-optimization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 2
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
9
|
+
- 5
|
10
|
+
version: 2.0.5
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Claudio Bustos
|
@@ -35,30 +36,34 @@ cert_chain:
|
|
35
36
|
rpP0jjs0
|
36
37
|
-----END CERTIFICATE-----
|
37
38
|
|
38
|
-
date: 2010-
|
39
|
+
date: 2010-11-13 00:00:00 -03:00
|
39
40
|
default_executable:
|
40
41
|
dependencies:
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: statsample
|
43
44
|
prerelease: false
|
44
45
|
requirement: &id001 !ruby/object:Gem::Requirement
|
46
|
+
none: false
|
45
47
|
requirements:
|
46
48
|
- - ~>
|
47
49
|
- !ruby/object:Gem::Version
|
50
|
+
hash: 33
|
48
51
|
segments:
|
49
52
|
- 0
|
50
|
-
-
|
51
|
-
-
|
52
|
-
version: 0.
|
53
|
+
- 15
|
54
|
+
- 1
|
55
|
+
version: 0.15.1
|
53
56
|
type: :runtime
|
54
57
|
version_requirements: *id001
|
55
58
|
- !ruby/object:Gem::Dependency
|
56
59
|
name: statistics2
|
57
60
|
prerelease: false
|
58
61
|
requirement: &id002 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
59
63
|
requirements:
|
60
64
|
- - ~>
|
61
65
|
- !ruby/object:Gem::Version
|
66
|
+
hash: 103
|
62
67
|
segments:
|
63
68
|
- 0
|
64
69
|
- 54
|
@@ -69,9 +74,11 @@ dependencies:
|
|
69
74
|
name: gsl
|
70
75
|
prerelease: false
|
71
76
|
requirement: &id003 !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
72
78
|
requirements:
|
73
79
|
- - ~>
|
74
80
|
- !ruby/object:Gem::Version
|
81
|
+
hash: 253
|
75
82
|
segments:
|
76
83
|
- 1
|
77
84
|
- 12
|
@@ -83,9 +90,11 @@ dependencies:
|
|
83
90
|
name: rake-compiler
|
84
91
|
prerelease: false
|
85
92
|
requirement: &id004 !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
86
94
|
requirements:
|
87
95
|
- - ">="
|
88
96
|
- !ruby/object:Gem::Version
|
97
|
+
hash: 3
|
89
98
|
segments:
|
90
99
|
- 0
|
91
100
|
version: "0"
|
@@ -95,9 +104,11 @@ dependencies:
|
|
95
104
|
name: rubyforge
|
96
105
|
prerelease: false
|
97
106
|
requirement: &id005 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
98
108
|
requirements:
|
99
109
|
- - ">="
|
100
110
|
- !ruby/object:Gem::Version
|
111
|
+
hash: 7
|
101
112
|
segments:
|
102
113
|
- 2
|
103
114
|
- 0
|
@@ -109,14 +120,16 @@ dependencies:
|
|
109
120
|
name: hoe
|
110
121
|
prerelease: false
|
111
122
|
requirement: &id006 !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
112
124
|
requirements:
|
113
125
|
- - ">="
|
114
126
|
- !ruby/object:Gem::Version
|
127
|
+
hash: 19
|
115
128
|
segments:
|
116
129
|
- 2
|
117
130
|
- 6
|
118
|
-
-
|
119
|
-
version: 2.6.
|
131
|
+
- 2
|
132
|
+
version: 2.6.2
|
120
133
|
type: :development
|
121
134
|
version_requirements: *id006
|
122
135
|
description: |-
|
@@ -155,23 +168,27 @@ rdoc_options:
|
|
155
168
|
require_paths:
|
156
169
|
- lib
|
157
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
158
172
|
requirements:
|
159
173
|
- - ">="
|
160
174
|
- !ruby/object:Gem::Version
|
175
|
+
hash: 3
|
161
176
|
segments:
|
162
177
|
- 0
|
163
178
|
version: "0"
|
164
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
165
181
|
requirements:
|
166
182
|
- - ">="
|
167
183
|
- !ruby/object:Gem::Version
|
184
|
+
hash: 3
|
168
185
|
segments:
|
169
186
|
- 0
|
170
187
|
version: "0"
|
171
188
|
requirements: []
|
172
189
|
|
173
190
|
rubyforge_project: ruby-statsample
|
174
|
-
rubygems_version: 1.3.
|
191
|
+
rubygems_version: 1.3.7
|
175
192
|
signing_key:
|
176
193
|
specification_version: 3
|
177
194
|
summary: Install gsl, statistics2 and provides a C extension to optimize the following methods * Vector#frecuencies * Vector#set_valid_data * Dataset#case_as_hash * Dataset#case_as_array
|
metadata.gz.sig
CHANGED
Binary file
|