backup_restore 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backup_restore.rb +4 -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: 52a3d02544e7d87169f6e59d87fb310df702b686595ad1710fdca391ef2a6f0e
|
4
|
+
data.tar.gz: 8e479224dd354eed4e1a0ad0c86e6b2aba9a4de1eedaec4d2c2eb168fe130415
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b2e650319d9938e0c636463a4cf4df33bacd744a9ac9777d31341598f03f923837f15e9ebae74244bfeb56bb4a2f9283a20b2515b43b0538f47e580d18d62ef
|
7
|
+
data.tar.gz: 50d801d332ebd95cb9f24fe8db8e81871a4a559d1cda4e9be7f943055b6a2cc8095ef6b4cd3203c709c52c8544fa653dfbb3ced06fd624e306f30512dcbde422
|
data/lib/backup_restore.rb
CHANGED
@@ -80,7 +80,7 @@ class BackupRestore
|
|
80
80
|
else
|
81
81
|
puts "files:"
|
82
82
|
end
|
83
|
-
|
83
|
+
files.each do |file|
|
84
84
|
puts file
|
85
85
|
end
|
86
86
|
raise "expected exactly one file, not handled!"
|
@@ -126,7 +126,9 @@ class BackupRestore
|
|
126
126
|
def self.unsplit_archive(archive_storage_root, archive_name)
|
127
127
|
storage = get_storage_folder(archive_storage_root, archive_name)
|
128
128
|
change_directory(storage)
|
129
|
-
|
129
|
+
if archive_name.include?(" ")
|
130
|
+
raise "archive name was assumed to not have spaces but it is #{archive_name}"
|
131
|
+
end
|
130
132
|
execute_command("cat #{archive_name}.tar.enc-* > '#{archive_name}.tar.enc'")
|
131
133
|
end
|
132
134
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backup_restore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Konieczny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: matkoniecz-ruby-style
|