miga-base 0.2.1.2 → 0.2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a495f0a540632069724a9f30b87495532c74aa5
4
- data.tar.gz: 21e81ff7c152fbc6ef89e781b25aef2852190622
3
+ metadata.gz: 1e699399cc5b35cf984eb08b96a8c2b40ad67342
4
+ data.tar.gz: 8a2e41748f576d54d35dfc7faf56d0096ed8da67
5
5
  SHA512:
6
- metadata.gz: 7f0f38d7981e0f872af676b4e65341baa032a00b7dd491337b1c01bf72c1c4a9702b5808ce2eb19486d1c139658e303c1d39b9422f0ae6301e4af9dc4be5ce33
7
- data.tar.gz: 8b731945f0dc75f9f29c6dc92f943ad069e42038c6aec6fe64885832ce3ceeb1dad824b5d594ca03d25febb5d5f70599f7049ce2739c2892e8c2a0d330c955f9
6
+ metadata.gz: 885a3a93e25bfb7971acbb084a9a6140790076f5f8255300daf31ad4007bc8d1495282d8f6972ff3e473879cbdb20af55b3e076d455076060b922db696f2520b
7
+ data.tar.gz: 92f6cf6d5ecf3f24afa21964d3b7216e6f6250fc877b2058f46e32dd48d66b141edb3fb1234386c6c1ae51377d09c57a1ead62ea21fc2d55f8fdbd390ce00fcf
@@ -33,7 +33,8 @@ module MiGA::TaxDist
33
33
  keys.each do |i|
34
34
  v = row.shift
35
35
  next if v=="NA"
36
- vals[MiGA::Taxonomy.KNOWN_RANKS[i]] = v.to_f
36
+ rank = i==0 ? :root : MiGA::Taxonomy.KNOWN_RANKS[i-1]
37
+ vals[rank] = v.to_f
37
38
  end
38
39
  return vals
39
40
  end
@@ -10,7 +10,7 @@ module MiGA
10
10
  # - Float representing the major.minor version.
11
11
  # - Integer representing gem releases of the current version.
12
12
  # - Integer representing minor changes that require new version number.
13
- VERSION = [0.2, 1, 2]
13
+ VERSION = [0.2, 1, 3]
14
14
 
15
15
  ##
16
16
  # Nickname for the current major.minor version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.2
4
+ version: 0.2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R