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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a66176a9b04ef20b3c415e195d4acdb38c18f681b3f7ee52899d79fe0672b570
4
- data.tar.gz: d6b98ea8416dec7abd29d1255f512d5ca352efd58dd002616377b88079beb09b
3
+ metadata.gz: 77f8bfc9a80f71c72e391d1a87f5ecadf2fd072106a9b00b59f5435e838dc1e7
4
+ data.tar.gz: 91d2ea45896ced1ac520ff9e8ee64328bd4c2507875b996f1d36598fd5cb16f7
5
5
  SHA512:
6
- metadata.gz: dea24c16ab06cb21d0f8130cccbfe8d9edddbf96f7de9329a10218e086bcd90c25d1f672f61b94ae115e8cdc4fbf24d3febf3009d3c11f0f0e3129c134100d39
7
- data.tar.gz: 7a40aa1e7fc58efd768aec30e9e21110d2b8ab7ab938b8ccc8f6ff5737ef9b44624e926f955d05239099289407f990dcd0f13da36ae065064dbf301bbe355091
6
+ metadata.gz: 0a637803294e81239018c73840aae43f3313d7d9fd1c9ce95ea2b47063adb0c349193479af7072aa369aea66030b40e52533f494199dc29601f11aa8393c3217
7
+ data.tar.gz: 81246c2bd29b4dd1de96183ccd366b6b77f9067f3a0d138c19aba3e1b09e22f1e54d564762670e4418d388dd380ca40f8c9dc1853e65460e0484b93cac03c59a
@@ -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
- 'ftp://microbial-genomes.org//' # <- // to simplify chdir in connection
18
+ "ftp://#{main_server}//" # <- // to simplify chdir in connection
19
19
  when :miga_db
20
- 'ftp://microbial-genomes.org/db'
20
+ "ftp://#{main_server}/db"
21
21
  when :miga_dist
22
- 'ftp://microbial-genomes.org/dist'
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, 1].freeze
15
+ VERSION = [1.2, 16, 2].freeze
16
16
 
17
17
  ##
18
18
  # 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: 1.2.16.1
4
+ version: 1.2.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R