scbi_cominer 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -1,3 +1,7 @@
1
+ === 0.0.8 2014-05-20
2
+
3
+ Fix collect.to_a for ruby 1.9
4
+
1
5
  === 0.0.7 2012-10-04
2
6
 
3
7
  Published graph methods
@@ -62,7 +62,11 @@ scbi_cominer is a ruby gem to calculate some interesting regions and statistics
62
62
 
63
63
  == INSTALL:
64
64
 
65
- NOTE: You may need to install fftw3 library for your operating system prior to installing scbi_cominer.
65
+ NOTE: You may need to install fftw3 library for your operating system prior to installing scbi_cominer.
66
+
67
+ And later install the ruby-fftw3 gem manually:
68
+
69
+ gem install ruby-fftw3 -- --with-fftw3-dir=/mnt/home/soft/libs/programs/x86_64/libfftw3
66
70
 
67
71
  * gem install scbi_cominer
68
72
 
@@ -8,5 +8,5 @@ $: << File.join(File.dirname(__FILE__),File.basename(__FILE__,File.extname(__FIL
8
8
  require 'cominer.rb'
9
9
 
10
10
  module ScbiCominer
11
- VERSION = '0.0.7'
11
+ VERSION = '0.0.8'
12
12
  end
@@ -371,7 +371,7 @@ class BaseFunction
371
371
  plot.xlabel ''
372
372
  plot.noxtics
373
373
 
374
- x = (0..@fft.original_data.length-1).collect
374
+ x = (0..@fft.original_data.length-1).collect.to_a
375
375
  y = @fft.original_data.to_a
376
376
 
377
377
  plot.data << Gnuplot::DataSet.new( [x, y] ) do |ds|
@@ -379,7 +379,7 @@ class BaseFunction
379
379
  #ds.notitle
380
380
  end
381
381
 
382
- x = (0..@fft.filtered_data.length-1).collect
382
+ x = (0..@fft.filtered_data.length-1).collect.to_a
383
383
  y = @fft.filtered_data.to_a
384
384
 
385
385
  plot.data << Gnuplot::DataSet.new( [x, y] ) do |ds|
@@ -478,7 +478,7 @@ class BaseFunction
478
478
  plot.ylabel "f"
479
479
  plot.xlabel "x"
480
480
 
481
- x = (0..@fft.original_data.length-1).collect
481
+ x = (0..@fft.original_data.length-1).collect.to_a
482
482
 
483
483
  y = @fft.original_data.to_a
484
484
 
@@ -487,7 +487,7 @@ class BaseFunction
487
487
  ds.notitle
488
488
  end
489
489
 
490
- x = (0..@fft.filtered_data.length-1).collect
490
+ x = (0..@fft.filtered_data.length-1).collect.to_a
491
491
  y = @fft.filtered_data.to_a
492
492
 
493
493
  plot.data << Gnuplot::DataSet.new( [x, y] ) do |ds|
@@ -495,7 +495,7 @@ class BaseFunction
495
495
  ds.notitle
496
496
  end
497
497
 
498
- x = (0..@fft.filtered_data.length-1).collect
498
+ x = (0..@fft.filtered_data.length-1).collect.to_a
499
499
  y = [@lim1]
500
500
  @fft.filtered_data.length.times { y.push(@lim1) }
501
501
 
@@ -504,7 +504,7 @@ class BaseFunction
504
504
  ds.notitle
505
505
  end
506
506
 
507
- x = (0..@fft.filtered_data.length-1).collect
507
+ x = (0..@fft.filtered_data.length-1).collect.to_a
508
508
  y = [@lim2]
509
509
  @fft.filtered_data.length.times { y.push(@lim2) }
510
510
 
metadata CHANGED
@@ -1,84 +1,140 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: scbi_cominer
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.8
4
5
  prerelease:
5
- version: 0.0.7
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Dario Guerrero
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-10-04 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2014-05-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: scbi_ace
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 0.0.5
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: narray
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
30
25
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.0.5
30
+ - !ruby/object:Gem::Dependency
31
+ name: narray
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
34
37
  version: 0.5.9.8
35
38
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: ruby-fftw3
39
39
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.5.9.8
46
+ - !ruby/object:Gem::Dependency
47
+ name: ruby-fftw3
48
+ requirement: !ruby/object:Gem::Requirement
41
49
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0.4"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0.4'
46
54
  type: :runtime
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: gnuplot
50
55
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
52
57
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
62
+ - !ruby/object:Gem::Dependency
63
+ name: gnuplot
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
56
69
  version: 2.3.4
57
70
  type: :runtime
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: hoe
61
71
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
63
73
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 2.8.0
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 2.3.4
78
+ - !ruby/object:Gem::Dependency
79
+ name: rdoc
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '4.0'
68
86
  type: :development
69
- version_requirements: *id005
70
- description: scbi_cominer is a ruby gem to calculate some interesting regions and statistics from contigs
71
- email:
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '4.0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: newgem
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: 1.5.3
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 1.5.3
110
+ - !ruby/object:Gem::Dependency
111
+ name: hoe
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '3.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '3.7'
126
+ description: scbi_cominer is a ruby gem to calculate some interesting regions and
127
+ statistics from contigs
128
+ email:
72
129
  - dariogf@gmail.com
73
130
  executables: []
74
-
75
131
  extensions: []
76
-
77
- extra_rdoc_files:
132
+ extra_rdoc_files:
78
133
  - History.txt
79
134
  - Manifest.txt
80
135
  - PostInstall.txt
81
- files:
136
+ - README.rdoc
137
+ files:
82
138
  - History.txt
83
139
  - lib/scbi_cominer/classes/base_function.rb
84
140
  - lib/scbi_cominer/classes/entropy_function.rb
@@ -95,34 +151,35 @@ files:
95
151
  - script/generate
96
152
  - test/test_helper.rb
97
153
  - test/test_scbi_cominer.rb
154
+ - .gemtest
98
155
  homepage: http://www.scbi.uma.es/downloads
99
- licenses: []
100
-
156
+ licenses:
157
+ - MIT
101
158
  post_install_message: PostInstall.txt
102
- rdoc_options:
159
+ rdoc_options:
103
160
  - --main
104
161
  - README.rdoc
105
- require_paths:
162
+ require_paths:
106
163
  - lib
107
- required_ruby_version: !ruby/object:Gem::Requirement
164
+ required_ruby_version: !ruby/object:Gem::Requirement
108
165
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: "0"
113
- required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ! '>='
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
171
  none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: "0"
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
119
176
  requirements: []
120
-
121
177
  rubyforge_project: scbi_cominer
122
- rubygems_version: 1.8.24
178
+ rubygems_version: 1.8.23
123
179
  signing_key:
124
180
  specification_version: 3
125
- summary: scbi_cominer is a ruby gem to calculate some interesting regions and statistics from contigs
126
- test_files:
181
+ summary: scbi_cominer is a ruby gem to calculate some interesting regions and statistics
182
+ from contigs
183
+ test_files:
127
184
  - test/test_helper.rb
128
185
  - test/test_scbi_cominer.rb