keepitsafe 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
data/keepitsafe.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "keepitsafe"
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darwin"]
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
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: 1516461565223966193
245
+ hash: -2292570467653710082
246
246
  required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  none: false
248
248
  requirements: