bio-band 0.1.0

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.
Files changed (59) hide show
  1. data/Gemfile +20 -0
  2. data/Gemfile.lock +79 -0
  3. data/Jarfile +9 -0
  4. data/Jarfile.lock +10 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.rdoc +54 -0
  7. data/Rakefile +54 -0
  8. data/VERSION +1 -0
  9. data/bin/bio-band +83 -0
  10. data/bio-band.gemspec +129 -0
  11. data/ext/mkrf_conf.rb +74 -0
  12. data/features/create_dataset.feature +12 -0
  13. data/features/step_definitions/create_dataset.rb +40 -0
  14. data/features/step_definitions/weka_classifiers.rb +42 -0
  15. data/features/step_definitions/weka_clustering.rb +30 -0
  16. data/features/step_definitions/weka_filters.rb +29 -0
  17. data/features/step_definitions/weka_parsers.rb +45 -0
  18. data/features/support/env.rb +3 -0
  19. data/features/weka_classifiers.feature +16 -0
  20. data/features/weka_clustering.feature +14 -0
  21. data/features/weka_filters.feature +12 -0
  22. data/features/weka_parsers.feature +18 -0
  23. data/features/weka_pipeline.feature +13 -0
  24. data/lib/bio-band.rb +10 -0
  25. data/lib/bio-band/apache.rb +1 -0
  26. data/lib/bio-band/apache/stat/inference.rb +145 -0
  27. data/lib/bio-band/core.rb +6 -0
  28. data/lib/bio-band/core/parser/parser.rb +23 -0
  29. data/lib/bio-band/core/type/apache_matrices.rb +35 -0
  30. data/lib/bio-band/core/type/attribute.rb +53 -0
  31. data/lib/bio-band/core/type/instance.rb +10 -0
  32. data/lib/bio-band/core/type/instances.rb +332 -0
  33. data/lib/bio-band/core/type/utils.rb +31 -0
  34. data/lib/bio-band/weka.rb +11 -0
  35. data/lib/bio-band/weka/classifiers/bayes/bayes.rb +75 -0
  36. data/lib/bio-band/weka/classifiers/bayes/bayes_utils.rb +42 -0
  37. data/lib/bio-band/weka/classifiers/evaluation.rb +12 -0
  38. data/lib/bio-band/weka/classifiers/functions/functions.rb +23 -0
  39. data/lib/bio-band/weka/classifiers/functions/functions_utils.rb +39 -0
  40. data/lib/bio-band/weka/classifiers/lazy/lazy.rb +23 -0
  41. data/lib/bio-band/weka/classifiers/lazy/lazy_utils.rb +39 -0
  42. data/lib/bio-band/weka/classifiers/trees/trees.rb +48 -0
  43. data/lib/bio-band/weka/classifiers/trees/trees_utils.rb +42 -0
  44. data/lib/bio-band/weka/clusterers/clusterers.rb +32 -0
  45. data/lib/bio-band/weka/clusterers/clusterers_utils.rb +49 -0
  46. data/lib/bio-band/weka/db/DatabaseUtils_mysql +280 -0
  47. data/lib/bio-band/weka/db/DatabaseUtils_postgresql +594 -0
  48. data/lib/bio-band/weka/db/db.rb +74 -0
  49. data/lib/bio-band/weka/filters/supervised/attribute/attribute.rb +25 -0
  50. data/lib/bio-band/weka/filters/supervised/instance/instance.rb +17 -0
  51. data/lib/bio-band/weka/filters/supervised/supervised_utils.rb +32 -0
  52. data/lib/bio-band/weka/filters/unsupervised/attribute/attribute.rb +70 -0
  53. data/lib/bio-band/weka/filters/unsupervised/instance/instance.rb +48 -0
  54. data/lib/bio-band/weka/filters/unsupervised/unsupervised_utils.rb +33 -0
  55. data/resources/weather.csv +15 -0
  56. data/resources/weather.numeric.arff +23 -0
  57. data/spec/bio-band_spec.rb +7 -0
  58. data/spec/spec_helper.rb +12 -0
  59. metadata +302 -0
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "shoulda", ">= 0"
10
+ gem "rdoc", "~> 3.12"
11
+ gem "bundler", "~> 1.3.5"
12
+ gem "jeweler", "~> 1.8.4"
13
+ gem "simplecov", ">= 0"
14
+ gem "jbundler"
15
+ gem "ruport"
16
+ gem "cucumber"
17
+ gem "rspec"
18
+ gem "json"
19
+ gem "bio", ">= 1.4.2"
20
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (3.2.13)
5
+ i18n (= 0.6.1)
6
+ multi_json (~> 1.0)
7
+ bio (1.4.3.0001)
8
+ builder (3.2.2)
9
+ color (1.4.2)
10
+ cucumber (1.3.2)
11
+ builder (>= 2.1.2)
12
+ diff-lcs (>= 1.1.3)
13
+ gherkin (~> 2.12.0)
14
+ multi_json (~> 1.3)
15
+ diff-lcs (1.2.4)
16
+ fastercsv (1.5.5)
17
+ gherkin (2.12.0-java)
18
+ multi_json (~> 1.3)
19
+ git (1.2.5)
20
+ i18n (0.6.1)
21
+ jbundler (0.4.2)
22
+ maven-tools (~> 0.32.1)
23
+ ruby-maven (~> 3.0.4)
24
+ jeweler (1.8.4)
25
+ bundler (~> 1.0)
26
+ git (>= 1.2.5)
27
+ rake
28
+ rdoc
29
+ json (1.8.0-java)
30
+ maven-tools (0.32.4)
31
+ multi_json (1.7.4)
32
+ pdf-writer (1.1.8)
33
+ color (>= 1.4.0)
34
+ transaction-simple (~> 1.3)
35
+ rake (10.1.0)
36
+ rdoc (3.12.2)
37
+ json (~> 1.4)
38
+ rspec (2.13.0)
39
+ rspec-core (~> 2.13.0)
40
+ rspec-expectations (~> 2.13.0)
41
+ rspec-mocks (~> 2.13.0)
42
+ rspec-core (2.13.1)
43
+ rspec-expectations (2.13.0)
44
+ diff-lcs (>= 1.1.3, < 2.0)
45
+ rspec-mocks (2.13.1)
46
+ ruby-maven (3.0.4.1.4)
47
+ maven-tools (~> 0.32.3)
48
+ thor (>= 0.14.6, < 2.0)
49
+ ruport (1.6.3)
50
+ fastercsv
51
+ pdf-writer (= 1.1.8)
52
+ shoulda (3.5.0)
53
+ shoulda-context (~> 1.0, >= 1.0.1)
54
+ shoulda-matchers (>= 1.4.1, < 3.0)
55
+ shoulda-context (1.1.2)
56
+ shoulda-matchers (2.1.0)
57
+ activesupport (>= 3.0.0)
58
+ simplecov (0.7.1)
59
+ multi_json (~> 1.0)
60
+ simplecov-html (~> 0.7.1)
61
+ simplecov-html (0.7.1)
62
+ thor (0.18.1)
63
+ transaction-simple (1.4.0.2)
64
+
65
+ PLATFORMS
66
+ java
67
+
68
+ DEPENDENCIES
69
+ bio (>= 1.4.2)
70
+ bundler (~> 1.3.5)
71
+ cucumber
72
+ jbundler
73
+ jeweler (~> 1.8.4)
74
+ json
75
+ rdoc (~> 3.12)
76
+ rspec
77
+ ruport
78
+ shoulda
79
+ simplecov
data/Jarfile ADDED
@@ -0,0 +1,9 @@
1
+ jar 'nz.ac.waikato.cms.weka:weka-stable','3.6.9'
2
+ jar 'org.apache.commons:commons-math3','3.0'
3
+ jar 'junit:junit','3.8.1'
4
+ jar 'mysql:mysql-connector-java','5.1.6'
5
+ jar 'postgresql:postgresql','9.1-901.jdbc4'
6
+ jar 'org.xerial:sqlite-jdbc','3.7.2'
7
+ jar 'hsqldb:hsqldb','1.8.0.7'
8
+ jar 'idb:idb','3.26'
9
+ jar 'mckoi:mckoi','0.93'
data/Jarfile.lock ADDED
@@ -0,0 +1,10 @@
1
+ nz.ac.waikato.cms.weka:weka-stable:jar:3.6.9
2
+ net.sf.squirrel-sql.thirdparty-non-maven:java-cup:jar:0.11a
3
+ org.apache.commons:commons-math3:jar:3.0
4
+ junit:junit:jar:3.8.1
5
+ mysql:mysql-connector-java:jar:5.1.6
6
+ postgresql:postgresql:jar:9.1-901.jdbc4
7
+ org.xerial:sqlite-jdbc:jar:3.7.2
8
+ hsqldb:hsqldb:jar:1.8.0.7
9
+ idb:idb:jar:3.26
10
+ mckoi:mckoi:jar:0.93
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Alberto Arrigoni
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,54 @@
1
+ = bio-band
2
+
3
+ Data mining and machine learning algorithms for Ruby
4
+
5
+ == Installation
6
+
7
+ Install 'bundle' for JRuby before trying to install the 'bio-band' gem.
8
+ Maven is also required for .jars automatic download and installation. On
9
+ Ubuntu/Debian Maven should already be installed and on OSX system you can get
10
+ it from Brew
11
+
12
+ If you want to use 'bio-band' APIs without installing the gem you need
13
+ to run command 'rake -T' once before requiring the gem in your script
14
+ (this is necessary for jbundler to download the '.jar' files and subsequently
15
+ set the Java classpath).
16
+ Otherwise use:
17
+
18
+ gem install bio-band
19
+
20
+ == Usage
21
+
22
+ == Developers
23
+
24
+ To use the library
25
+
26
+ require 'bio-band'
27
+
28
+ The API doc is online. For more code examples see also the test files in
29
+ the source tree.
30
+
31
+ == Project home page
32
+
33
+ Information on the source tree, documentation, issues and how to contribute, see
34
+
35
+ http://github.com/arrigonialberto86/bioruby-band
36
+
37
+ The BioRuby community is on IRC server: irc.freenode.org, channel: #bioruby.
38
+
39
+ == Cite
40
+
41
+ If you use this software, please cite one of
42
+
43
+ * [BioRuby: bioinformatics software for the Ruby programming language](http://dx.doi.org/10.1093/bioinformatics/btq475)
44
+ * [Biogem: an effective tool-based approach for scaling up open source software development in bioinformatics](http://dx.doi.org/10.1093/bioinformatics/bts080)
45
+
46
+ == Biogems.info
47
+
48
+ This Biogem is published at http://biogems.info/index.html#bio-band
49
+
50
+ == Copyright
51
+
52
+ Copyright (c) 2013 arrigonialberto86. See LICENSE.txt for
53
+ further details.
54
+
data/Rakefile ADDED
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ require 'rubygems'
3
+ require 'bundler'
4
+ begin
5
+ Bundler.setup(:default, :development)
6
+ require 'jbundler'
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `jruby -S bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "bio-band"
18
+ gem.homepage = "http://github.com/arrigonialberto86/bioruby-band"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Data mining algorithms for JRuby}
21
+ gem.description = %Q{Data mining and machine learning algorithms for JRuby }
22
+ gem.email = "arrigonialberto86@gmail.com"
23
+ gem.authors = ["arrigonialberto86"]
24
+ gem.extensions = ["ext/mkrf_conf.rb"]
25
+ # dependencies defined in Gemfile
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rake/testtask'
30
+ Rake::TestTask.new(:test) do |test|
31
+ test.libs << 'lib' << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+
36
+ #require 'rcov/rcovtask'
37
+ #Rcov::RcovTask.new do |test|
38
+ # test.libs << 'test'
39
+ # test.pattern = 'test/**/test_*.rb'
40
+ # test.verbose = true
41
+ # test.rcov_opts << '--exclude "gems/*"'
42
+ #end
43
+
44
+ task :default => :test
45
+
46
+ require 'rdoc/task'
47
+ Rake::RDocTask.new do |rdoc|
48
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
+
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = "bio-band #{version}"
52
+ rdoc.rdoc_files.include('README*')
53
+ rdoc.rdoc_files.include('lib/**/*.rb')
54
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/bin/bio-band ADDED
@@ -0,0 +1,83 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # BioRuby bio-band Plugin BioBand
4
+ # Author:: arrigonialberto86
5
+ # Copyright:: 2013
6
+
7
+ USAGE = "Describe bio-band"
8
+
9
+ gempath = File.dirname(File.dirname(__FILE__))
10
+ $: << File.join(gempath,'lib')
11
+
12
+ VERSION_FILENAME=File.join(gempath,'VERSION')
13
+ version = File.new(VERSION_FILENAME).read.chomp
14
+
15
+ # print banner
16
+ print "bio-band #{version} by arrigonialberto86 2013\n"
17
+
18
+ if ARGV.size == 0
19
+ print USAGE
20
+ end
21
+
22
+ require 'bio-band'
23
+ require 'optparse'
24
+
25
+ # Uncomment when using the bio-logger
26
+ # require 'bio-logger'
27
+ # Bio::Log::CLI.logger('stderr')
28
+ # Bio::Log::CLI.trace('info')
29
+
30
+ options = {:example_switch=>false,:show_help=>false}
31
+ opts = OptionParser.new do |o|
32
+ o.banner = "Usage: #{File.basename($0)} [options] reponame\ne.g. #{File.basename($0)} the-perfect-gem"
33
+
34
+ o.on('--example_parameter [EXAMPLE_PARAMETER]', 'TODO: put a description for the PARAMETER') do |example_parameter|
35
+ # TODO: your logic here, below an example
36
+ options[:example_parameter] = 'this is a parameter'
37
+ end
38
+
39
+ o.separator ""
40
+ o.on("--switch-example", 'TODO: put a description for the SWITCH') do
41
+ # TODO: your logic here, below an example
42
+ self[:example_switch] = true
43
+ end
44
+
45
+ # Uncomment the following when using the bio-logger
46
+ # o.separator ""
47
+ # o.on("--logger filename",String,"Log to file (default stderr)") do | name |
48
+ # Bio::Log::CLI.logger(name)
49
+ # end
50
+ #
51
+ # o.on("--trace options",String,"Set log level (default INFO, see bio-logger)") do | s |
52
+ # Bio::Log::CLI.trace(s)
53
+ # end
54
+ #
55
+ # o.on("-q", "--quiet", "Run quietly") do |q|
56
+ # Bio::Log::CLI.trace('error')
57
+ # end
58
+ #
59
+ # o.on("-v", "--verbose", "Run verbosely") do |v|
60
+ # Bio::Log::CLI.trace('info')
61
+ # end
62
+ #
63
+ # o.on("--debug", "Show debug messages") do |v|
64
+ # Bio::Log::CLI.trace('debug')
65
+ # end
66
+
67
+ o.separator ""
68
+ o.on_tail('-h', '--help', 'display this help and exit') do
69
+ options[:show_help] = true
70
+ end
71
+ end
72
+
73
+ begin
74
+ opts.parse!(ARGV)
75
+
76
+ # Uncomment the following when using the bio-logger
77
+ # Bio::Log::CLI.configure('bio-band')
78
+
79
+ # TODO: your code here
80
+ # use options for your logic
81
+ rescue OptionParser::InvalidOption => e
82
+ options[:invalid_argument] = e.message
83
+ end
data/bio-band.gemspec ADDED
@@ -0,0 +1,129 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "bio-band"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["arrigonialberto86"]
12
+ s.date = "2013-07-25"
13
+ s.description = "Data mining and machine learning algorithms for JRuby "
14
+ s.email = "arrigonialberto86@gmail.com"
15
+ s.executables = ["bio-band"]
16
+ s.extensions = ["ext/mkrf_conf.rb"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "Jarfile",
25
+ "Jarfile.lock",
26
+ "LICENSE.txt",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "bin/bio-band",
31
+ "bio-band.gemspec",
32
+ "ext/mkrf_conf.rb",
33
+ "features/create_dataset.feature",
34
+ "features/step_definitions/create_dataset.rb",
35
+ "features/step_definitions/weka_classifiers.rb",
36
+ "features/step_definitions/weka_clustering.rb",
37
+ "features/step_definitions/weka_filters.rb",
38
+ "features/step_definitions/weka_parsers.rb",
39
+ "features/support/env.rb",
40
+ "features/weka_classifiers.feature",
41
+ "features/weka_clustering.feature",
42
+ "features/weka_filters.feature",
43
+ "features/weka_parsers.feature",
44
+ "features/weka_pipeline.feature",
45
+ "lib/bio-band.rb",
46
+ "lib/bio-band/apache.rb",
47
+ "lib/bio-band/apache/stat/inference.rb",
48
+ "lib/bio-band/core.rb",
49
+ "lib/bio-band/core/parser/parser.rb",
50
+ "lib/bio-band/core/type/apache_matrices.rb",
51
+ "lib/bio-band/core/type/attribute.rb",
52
+ "lib/bio-band/core/type/instance.rb",
53
+ "lib/bio-band/core/type/instances.rb",
54
+ "lib/bio-band/core/type/utils.rb",
55
+ "lib/bio-band/weka.rb",
56
+ "lib/bio-band/weka/classifiers/bayes/bayes.rb",
57
+ "lib/bio-band/weka/classifiers/bayes/bayes_utils.rb",
58
+ "lib/bio-band/weka/classifiers/evaluation.rb",
59
+ "lib/bio-band/weka/classifiers/functions/functions.rb",
60
+ "lib/bio-band/weka/classifiers/functions/functions_utils.rb",
61
+ "lib/bio-band/weka/classifiers/lazy/lazy.rb",
62
+ "lib/bio-band/weka/classifiers/lazy/lazy_utils.rb",
63
+ "lib/bio-band/weka/classifiers/trees/trees.rb",
64
+ "lib/bio-band/weka/classifiers/trees/trees_utils.rb",
65
+ "lib/bio-band/weka/clusterers/clusterers.rb",
66
+ "lib/bio-band/weka/clusterers/clusterers_utils.rb",
67
+ "lib/bio-band/weka/db/DatabaseUtils_mysql",
68
+ "lib/bio-band/weka/db/DatabaseUtils_postgresql",
69
+ "lib/bio-band/weka/db/db.rb",
70
+ "lib/bio-band/weka/filters/supervised/attribute/attribute.rb",
71
+ "lib/bio-band/weka/filters/supervised/instance/instance.rb",
72
+ "lib/bio-band/weka/filters/supervised/supervised_utils.rb",
73
+ "lib/bio-band/weka/filters/unsupervised/attribute/attribute.rb",
74
+ "lib/bio-band/weka/filters/unsupervised/instance/instance.rb",
75
+ "lib/bio-band/weka/filters/unsupervised/unsupervised_utils.rb",
76
+ "resources/weather.csv",
77
+ "resources/weather.numeric.arff",
78
+ "spec/bio-band_spec.rb",
79
+ "spec/spec_helper.rb"
80
+ ]
81
+ s.homepage = "http://github.com/arrigonialberto86/bioruby-band"
82
+ s.licenses = ["MIT"]
83
+ s.require_paths = ["lib"]
84
+ s.rubygems_version = "1.8.24"
85
+ s.summary = "Data mining algorithms for JRuby"
86
+
87
+ if s.respond_to? :specification_version then
88
+ s.specification_version = 3
89
+
90
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
91
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
92
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
93
+ s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
94
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
95
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
96
+ s.add_development_dependency(%q<jbundler>, [">= 0"])
97
+ s.add_development_dependency(%q<ruport>, [">= 0"])
98
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
99
+ s.add_development_dependency(%q<rspec>, [">= 0"])
100
+ s.add_development_dependency(%q<json>, [">= 0"])
101
+ s.add_development_dependency(%q<bio>, [">= 1.4.2"])
102
+ else
103
+ s.add_dependency(%q<shoulda>, [">= 0"])
104
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
105
+ s.add_dependency(%q<bundler>, ["~> 1.3.5"])
106
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
107
+ s.add_dependency(%q<simplecov>, [">= 0"])
108
+ s.add_dependency(%q<jbundler>, [">= 0"])
109
+ s.add_dependency(%q<ruport>, [">= 0"])
110
+ s.add_dependency(%q<cucumber>, [">= 0"])
111
+ s.add_dependency(%q<rspec>, [">= 0"])
112
+ s.add_dependency(%q<json>, [">= 0"])
113
+ s.add_dependency(%q<bio>, [">= 1.4.2"])
114
+ end
115
+ else
116
+ s.add_dependency(%q<shoulda>, [">= 0"])
117
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
118
+ s.add_dependency(%q<bundler>, ["~> 1.3.5"])
119
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
120
+ s.add_dependency(%q<simplecov>, [">= 0"])
121
+ s.add_dependency(%q<jbundler>, [">= 0"])
122
+ s.add_dependency(%q<ruport>, [">= 0"])
123
+ s.add_dependency(%q<cucumber>, [">= 0"])
124
+ s.add_dependency(%q<rspec>, [">= 0"])
125
+ s.add_dependency(%q<json>, [">= 0"])
126
+ s.add_dependency(%q<bio>, [">= 1.4.2"])
127
+ end
128
+ end
129
+