keepitsafe 0.2.4 → 0.2.5
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.
- data/VERSION +1 -1
- data/keepitsafe.gemspec +1 -1
- data/lib/keepitsafe.rb +1 -1
- data/todo.txt +12 -0
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.5
|
data/keepitsafe.gemspec
CHANGED
data/lib/keepitsafe.rb
CHANGED
|
@@ -172,7 +172,7 @@ class Keepitsafe
|
|
|
172
172
|
|
|
173
173
|
def set_backup_size remote_path
|
|
174
174
|
|
|
175
|
-
raw = (run_cmd("du -hc #{remote_path}").gsub("\n",' ').gsub("\t",' ').strip.match(/([0-9kmgt.]{2,10})\s*total/i) || [0,0])[1]
|
|
175
|
+
raw = (run_cmd("du -hc #{remote_path}").gsub("\n",' ').gsub("\t",' ').strip.match(/([0-9kmgt.]{2,10})\s*total/i) || [0,"0"])[1]
|
|
176
176
|
@backup_size = raw_to_meg(raw)
|
|
177
177
|
end
|
|
178
178
|
|
data/todo.txt
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
- Include ip number in report
|
|
3
|
+
|
|
4
|
+
- Change to a per server model that uploads to another main repo.
|
|
5
|
+
|
|
6
|
+
- Write a report with each backup
|
|
7
|
+
|
|
8
|
+
- Create email reports from the saved to disk reports.
|
|
9
|
+
|
|
10
|
+
- Add command line tools
|
|
11
|
+
|
|
12
|
+
- Add server 2 server move of backups, both pull and push
|
|
13
|
+
|
|
2
14
|
- Add a stdout/stderr log to a file on the server to be able to debug problems
|
|
3
15
|
- Add localhost detection, that means detect if a domain is actually localhost so that things like downloading
|
|
4
16
|
doesn't have the strange effect of over writing the file its downloading.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: keepitsafe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -242,7 +242,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
242
242
|
version: '0'
|
|
243
243
|
segments:
|
|
244
244
|
- 0
|
|
245
|
-
hash:
|
|
245
|
+
hash: -2292570467653710082
|
|
246
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
none: false
|
|
248
248
|
requirements:
|