miga-base 0.6.3.1 → 0.6.3.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/cli/action/get_db.rb +3 -1
- data/lib/miga/remote_dataset.rb +0 -1
- data/lib/miga/result.rb +1 -1
- data/lib/miga/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e975745242a5e71b84fbc5fdea4610eb58c67f43fa08b59344b44dfd83ac5791
|
4
|
+
data.tar.gz: c57a5780ac419c290448d06fda58ba16dc953d7a6be96d3612407bafdfedef3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1860bbd81459d9adb4022b60efa380ca6ce6894418e27cbe961f3e85b63b89026c8ee278aaee1f440bf625e869c81862bf0ab55f60b43cf7e3866bb7a211198b
|
7
|
+
data.tar.gz: 79f463ecd256b866a3a52e3f4adb5102fbef2b130131b9febe4b7d81372e00df00b6adb90a9b57ced423087fa0c6fa86dee853bff1041821e42569d8795b79b5
|
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'miga/cli/action'
|
5
5
|
require 'net/ftp'
|
6
6
|
require 'digest/md5'
|
7
|
+
require 'open-uri'
|
7
8
|
|
8
9
|
class MiGA::Cli::Action::GetDb < MiGA::Cli::Action
|
9
10
|
|
@@ -80,7 +81,8 @@ class MiGA::Cli::Action::GetDb < MiGA::Cli::Action
|
|
80
81
|
cli.say "Connecting to '#{cli[:host]}'"
|
81
82
|
uri = URI.parse(cli[:host])
|
82
83
|
raise 'Only FTP hosts are supported' unless uri.scheme == 'ftp'
|
83
|
-
ftp = Net::FTP.
|
84
|
+
ftp = Net::FTP.new(uri.host)
|
85
|
+
ftp.passive = true
|
84
86
|
ftp.login
|
85
87
|
ftp.chdir(uri.path)
|
86
88
|
ftp
|
data/lib/miga/remote_dataset.rb
CHANGED
data/lib/miga/result.rb
CHANGED
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.6, 3,
|
13
|
+
VERSION = [0.6, 3, 2]
|
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(2020, 4,
|
21
|
+
VERSION_DATE = Date.new(2020, 4, 13)
|
22
22
|
|
23
23
|
##
|
24
24
|
# Reference of MiGA.
|
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.6.3.
|
4
|
+
version: 0.6.3.2
|
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: 2020-04-
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|