miga-base 1.2.16.1 → 1.2.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miga/common/net.rb +9 -3
- data/lib/miga/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77f8bfc9a80f71c72e391d1a87f5ecadf2fd072106a9b00b59f5435e838dc1e7
|
4
|
+
data.tar.gz: 91d2ea45896ced1ac520ff9e8ee64328bd4c2507875b996f1d36598fd5cb16f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a637803294e81239018c73840aae43f3313d7d9fd1c9ce95ea2b47063adb0c349193479af7072aa369aea66030b40e52533f494199dc29601f11aa8393c3217
|
7
|
+
data.tar.gz: 81246c2bd29b4dd1de96183ccd366b6b77f9067f3a0d138c19aba3e1b09e22f1e54d564762670e4418d388dd380ca40f8c9dc1853e65460e0484b93cac03c59a
|
data/lib/miga/common/net.rb
CHANGED
@@ -15,16 +15,22 @@ module MiGA::Common::Net
|
|
15
15
|
def known_hosts(name)
|
16
16
|
case name.to_sym
|
17
17
|
when :miga_online_ftp
|
18
|
-
|
18
|
+
"ftp://#{main_server}//" # <- // to simplify chdir in connection
|
19
19
|
when :miga_db
|
20
|
-
|
20
|
+
"ftp://#{main_server}/db"
|
21
21
|
when :miga_dist
|
22
|
-
|
22
|
+
"ftp://#{main_server}/dist"
|
23
23
|
else
|
24
24
|
raise "Unrecognized server name: #{host}"
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
##
|
29
|
+
# Returns the address of the main MiGA server
|
30
|
+
def main_server
|
31
|
+
'gatech.microbial-genomes.org'
|
32
|
+
end
|
33
|
+
|
28
34
|
##
|
29
35
|
# Connect to an FTP +host+ (String) or a known host name (Symbol, see
|
30
36
|
# +.known_hosts+)
|
data/lib/miga/version.rb
CHANGED
@@ -12,7 +12,7 @@ module MiGA
|
|
12
12
|
# - String indicating release status:
|
13
13
|
# - rc* release candidate, not released as gem
|
14
14
|
# - [0-9]+ stable release, released as gem
|
15
|
-
VERSION = [1.2, 16,
|
15
|
+
VERSION = [1.2, 16, 2].freeze
|
16
16
|
|
17
17
|
##
|
18
18
|
# Nickname for the current major.minor version.
|