miga-base 0.2.6.2 → 0.2.6.3
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.
- checksums.yaml +4 -4
- data/lib/miga/version.rb +2 -2
- data/test/project_test.rb +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8133c51a0484162d71b96b9057e54b6647307980
|
4
|
+
data.tar.gz: 1aaee03b0186302ec054fb6e12bee0eaf4b38154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82862b5eefcc9ec32e5fd4ac8c863afbfc5253fa0d2ab2bb258ce02fd0629cc8617de8b67e82a803c82116132c7c620011fe64709dd2729f0fef974c55049339
|
7
|
+
data.tar.gz: d7e58a7381b3323304891c75bb719a8e4fb8a5a45b92d5cd0eae6f7d86e41bbeaf9c7e0be603b924b090bc216b09be318b48d0aeed41cf541e18b09c7637a1c4
|
data/lib/miga/version.rb
CHANGED
@@ -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, 6,
|
13
|
+
VERSION = [0.2, 6, 3]
|
14
14
|
|
15
15
|
##
|
16
16
|
# Nickname for the current major.minor version.
|
@@ -18,7 +18,7 @@ module MiGA
|
|
18
18
|
|
19
19
|
##
|
20
20
|
# Date of the current gem release.
|
21
|
-
VERSION_DATE = Date.new(2017, 4,
|
21
|
+
VERSION_DATE = Date.new(2017, 4, 15)
|
22
22
|
|
23
23
|
##
|
24
24
|
# Reference of MiGA.
|
data/test/project_test.rb
CHANGED
@@ -93,8 +93,21 @@ class ProjectTest < Test::Unit::TestCase
|
|
93
93
|
assert(! p1.done_preprocessing?)
|
94
94
|
FileUtils.touch(File.expand_path("data/90.stats/#{d1.name}.done", p1.path))
|
95
95
|
assert(p1.done_preprocessing?)
|
96
|
+
|
97
|
+
# Project stats
|
98
|
+
assert_equal(:project_stats, p1.next_distances)
|
99
|
+
d = MiGA::Project.RESULT_DIRS[:project_stats]
|
100
|
+
%w[.done .taxonomy.json .metadata.db].each do |x|
|
101
|
+
assert_nil(p1.add_result(:project_stats),
|
102
|
+
"Premature registration of result project_stats at extension #{x}.")
|
103
|
+
FileUtils.touch(File.expand_path("data/#{d}/miga-project#{x}", p1.path))
|
104
|
+
end
|
105
|
+
assert_equal(MiGA::Result, p1.add_result(:project_stats).class,
|
106
|
+
"Imposible to add project_stats result.")
|
107
|
+
|
96
108
|
# Distances
|
97
109
|
[:haai_distances, :aai_distances, :ani_distances].each do |r|
|
110
|
+
assert_equal(r, p1.next_distances)
|
98
111
|
assert_equal(Symbol, p1.next_distances.class)
|
99
112
|
d = MiGA::Project.RESULT_DIRS[r]
|
100
113
|
%w[.done .Rdata .log .txt].each do |x|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miga-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.6.
|
4
|
+
version: 0.2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luis M. Rodriguez-R
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|