bio-nexml 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/Gemfile +15 -0
  2. data/Gemfile.lock +24 -0
  3. data/LICENSE.txt +20 -0
  4. data/README.rdoc +47 -0
  5. data/Rakefile +55 -0
  6. data/TODO.txt +6 -0
  7. data/VERSION +1 -0
  8. data/bio-nexml.gemspec +126 -0
  9. data/extconf.rb +2 -0
  10. data/lib/bio-nexml.rb +0 -0
  11. data/lib/bio.rb +321 -0
  12. data/lib/bio/db/nexml.rb +109 -0
  13. data/lib/bio/db/nexml/mapper.rb +113 -0
  14. data/lib/bio/db/nexml/mapper/framework.rb +157 -0
  15. data/lib/bio/db/nexml/mapper/inflection.rb +99 -0
  16. data/lib/bio/db/nexml/mapper/repository.rb +59 -0
  17. data/lib/bio/db/nexml/matrix.rb +1046 -0
  18. data/lib/bio/db/nexml/parser.rb +622 -0
  19. data/lib/bio/db/nexml/schema/README.txt +21 -0
  20. data/lib/bio/db/nexml/schema/abstract.xsd +159 -0
  21. data/lib/bio/db/nexml/schema/characters/README.txt +1 -0
  22. data/lib/bio/db/nexml/schema/characters/abstractcharacters.xsd +361 -0
  23. data/lib/bio/db/nexml/schema/characters/characters.xsd +22 -0
  24. data/lib/bio/db/nexml/schema/characters/continuous.xsd +190 -0
  25. data/lib/bio/db/nexml/schema/characters/dna.xsd +282 -0
  26. data/lib/bio/db/nexml/schema/characters/protein.xsd +280 -0
  27. data/lib/bio/db/nexml/schema/characters/restriction.xsd +239 -0
  28. data/lib/bio/db/nexml/schema/characters/rna.xsd +283 -0
  29. data/lib/bio/db/nexml/schema/characters/standard.xsd +261 -0
  30. data/lib/bio/db/nexml/schema/external/sawsdl.xsd +21 -0
  31. data/lib/bio/db/nexml/schema/external/xhtml-datatypes-1.xsd +177 -0
  32. data/lib/bio/db/nexml/schema/external/xlink.xsd +75 -0
  33. data/lib/bio/db/nexml/schema/external/xml.xsd +145 -0
  34. data/lib/bio/db/nexml/schema/meta/README.txt +2 -0
  35. data/lib/bio/db/nexml/schema/meta/annotations.xsd +100 -0
  36. data/lib/bio/db/nexml/schema/meta/meta.xsd +294 -0
  37. data/lib/bio/db/nexml/schema/nexml.xsd +104 -0
  38. data/lib/bio/db/nexml/schema/taxa/README.txt +2 -0
  39. data/lib/bio/db/nexml/schema/taxa/taxa.xsd +39 -0
  40. data/lib/bio/db/nexml/schema/trees/README.txt +2 -0
  41. data/lib/bio/db/nexml/schema/trees/abstracttrees.xsd +135 -0
  42. data/lib/bio/db/nexml/schema/trees/network.xsd +113 -0
  43. data/lib/bio/db/nexml/schema/trees/tree.xsd +149 -0
  44. data/lib/bio/db/nexml/schema/trees/trees.xsd +36 -0
  45. data/lib/bio/db/nexml/taxa.rb +147 -0
  46. data/lib/bio/db/nexml/trees.rb +663 -0
  47. data/lib/bio/db/nexml/writer.rb +265 -0
  48. data/test/data/nexml/test.xml +69 -0
  49. data/test/test_bio-nexml.rb +17 -0
  50. data/test/unit/bio/db/nexml/tc_factory.rb +119 -0
  51. data/test/unit/bio/db/nexml/tc_mapper.rb +78 -0
  52. data/test/unit/bio/db/nexml/tc_matrix.rb +551 -0
  53. data/test/unit/bio/db/nexml/tc_parser.rb +21 -0
  54. data/test/unit/bio/db/nexml/tc_taxa.rb +118 -0
  55. data/test/unit/bio/db/nexml/tc_trees.rb +370 -0
  56. data/test/unit/bio/db/nexml/tc_writer.rb +633 -0
  57. metadata +253 -0
metadata ADDED
@@ -0,0 +1,253 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bio-nexml
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - rvosa
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-03-01 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: shoulda
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: bundler
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ hash: 23
44
+ segments:
45
+ - 1
46
+ - 0
47
+ - 0
48
+ version: 1.0.0
49
+ type: :development
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: jeweler
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 7
60
+ segments:
61
+ - 1
62
+ - 5
63
+ - 2
64
+ version: 1.5.2
65
+ type: :development
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: rcov
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 3
76
+ segments:
77
+ - 0
78
+ version: "0"
79
+ type: :development
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: bio
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ hash: 5
90
+ segments:
91
+ - 1
92
+ - 4
93
+ - 1
94
+ version: 1.4.1
95
+ type: :development
96
+ version_requirements: *id005
97
+ - !ruby/object:Gem::Dependency
98
+ name: libxml-ruby
99
+ prerelease: false
100
+ requirement: &id006 !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ hash: 27
106
+ segments:
107
+ - 1
108
+ - 1
109
+ - 4
110
+ version: 1.1.4
111
+ type: :development
112
+ version_requirements: *id006
113
+ - !ruby/object:Gem::Dependency
114
+ name: libxml-ruby
115
+ prerelease: false
116
+ requirement: &id007 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - "="
120
+ - !ruby/object:Gem::Version
121
+ hash: 27
122
+ segments:
123
+ - 1
124
+ - 1
125
+ - 4
126
+ version: 1.1.4
127
+ type: :runtime
128
+ version_requirements: *id007
129
+ - !ruby/object:Gem::Dependency
130
+ name: libxml-ruby
131
+ prerelease: false
132
+ requirement: &id008 !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - "="
136
+ - !ruby/object:Gem::Version
137
+ hash: 27
138
+ segments:
139
+ - 1
140
+ - 1
141
+ - 4
142
+ version: 1.1.4
143
+ type: :development
144
+ version_requirements: *id008
145
+ description: This plugin reads, writes and generates NeXML
146
+ email: rutgeraldo@gmail.com
147
+ executables: []
148
+
149
+ extensions: []
150
+
151
+ extra_rdoc_files:
152
+ - LICENSE.txt
153
+ - README.rdoc
154
+ files:
155
+ - Gemfile
156
+ - Gemfile.lock
157
+ - LICENSE.txt
158
+ - README.rdoc
159
+ - Rakefile
160
+ - TODO.txt
161
+ - VERSION
162
+ - bio-nexml.gemspec
163
+ - extconf.rb
164
+ - lib/bio-nexml.rb
165
+ - lib/bio.rb
166
+ - lib/bio/db/nexml.rb
167
+ - lib/bio/db/nexml/mapper.rb
168
+ - lib/bio/db/nexml/mapper/framework.rb
169
+ - lib/bio/db/nexml/mapper/inflection.rb
170
+ - lib/bio/db/nexml/mapper/repository.rb
171
+ - lib/bio/db/nexml/matrix.rb
172
+ - lib/bio/db/nexml/parser.rb
173
+ - lib/bio/db/nexml/schema/README.txt
174
+ - lib/bio/db/nexml/schema/abstract.xsd
175
+ - lib/bio/db/nexml/schema/characters/README.txt
176
+ - lib/bio/db/nexml/schema/characters/abstractcharacters.xsd
177
+ - lib/bio/db/nexml/schema/characters/characters.xsd
178
+ - lib/bio/db/nexml/schema/characters/continuous.xsd
179
+ - lib/bio/db/nexml/schema/characters/dna.xsd
180
+ - lib/bio/db/nexml/schema/characters/protein.xsd
181
+ - lib/bio/db/nexml/schema/characters/restriction.xsd
182
+ - lib/bio/db/nexml/schema/characters/rna.xsd
183
+ - lib/bio/db/nexml/schema/characters/standard.xsd
184
+ - lib/bio/db/nexml/schema/external/sawsdl.xsd
185
+ - lib/bio/db/nexml/schema/external/xhtml-datatypes-1.xsd
186
+ - lib/bio/db/nexml/schema/external/xlink.xsd
187
+ - lib/bio/db/nexml/schema/external/xml.xsd
188
+ - lib/bio/db/nexml/schema/meta/README.txt
189
+ - lib/bio/db/nexml/schema/meta/annotations.xsd
190
+ - lib/bio/db/nexml/schema/meta/meta.xsd
191
+ - lib/bio/db/nexml/schema/nexml.xsd
192
+ - lib/bio/db/nexml/schema/taxa/README.txt
193
+ - lib/bio/db/nexml/schema/taxa/taxa.xsd
194
+ - lib/bio/db/nexml/schema/trees/README.txt
195
+ - lib/bio/db/nexml/schema/trees/abstracttrees.xsd
196
+ - lib/bio/db/nexml/schema/trees/network.xsd
197
+ - lib/bio/db/nexml/schema/trees/tree.xsd
198
+ - lib/bio/db/nexml/schema/trees/trees.xsd
199
+ - lib/bio/db/nexml/taxa.rb
200
+ - lib/bio/db/nexml/trees.rb
201
+ - lib/bio/db/nexml/writer.rb
202
+ - test/data/nexml/test.xml
203
+ - test/test_bio-nexml.rb
204
+ - test/unit/bio/db/nexml/tc_factory.rb
205
+ - test/unit/bio/db/nexml/tc_mapper.rb
206
+ - test/unit/bio/db/nexml/tc_matrix.rb
207
+ - test/unit/bio/db/nexml/tc_parser.rb
208
+ - test/unit/bio/db/nexml/tc_taxa.rb
209
+ - test/unit/bio/db/nexml/tc_trees.rb
210
+ - test/unit/bio/db/nexml/tc_writer.rb
211
+ has_rdoc: true
212
+ homepage: http://github.com/rvosa/bioruby-nexml
213
+ licenses:
214
+ - MIT
215
+ post_install_message:
216
+ rdoc_options: []
217
+
218
+ require_paths:
219
+ - lib
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ none: false
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ hash: 3
226
+ segments:
227
+ - 0
228
+ version: "0"
229
+ required_rubygems_version: !ruby/object:Gem::Requirement
230
+ none: false
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ hash: 3
235
+ segments:
236
+ - 0
237
+ version: "0"
238
+ requirements: []
239
+
240
+ rubyforge_project:
241
+ rubygems_version: 1.4.2
242
+ signing_key:
243
+ specification_version: 3
244
+ summary: BioRuby plugin for reading and writing NeXML (http://nexml.org)
245
+ test_files:
246
+ - test/test_bio-nexml.rb
247
+ - test/unit/bio/db/nexml/tc_factory.rb
248
+ - test/unit/bio/db/nexml/tc_mapper.rb
249
+ - test/unit/bio/db/nexml/tc_matrix.rb
250
+ - test/unit/bio/db/nexml/tc_parser.rb
251
+ - test/unit/bio/db/nexml/tc_taxa.rb
252
+ - test/unit/bio/db/nexml/tc_trees.rb
253
+ - test/unit/bio/db/nexml/tc_writer.rb