tms 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tms/backup.rb +6 -1
- data/tms.gemspec +1 -1
- metadata +5 -5
data/lib/tms/backup.rb
CHANGED
@@ -20,7 +20,12 @@ module Tms
|
|
20
20
|
|
21
21
|
def backups_dir
|
22
22
|
unless @backups_dir
|
23
|
-
|
23
|
+
if system('which -s tmutil')
|
24
|
+
$stderr.puts "Using tmutil to detect and mount Time Machine volume"
|
25
|
+
self.backups_dir = `tmutil machinedirectory`.strip
|
26
|
+
else
|
27
|
+
self.backups_dir = Path.new(backup_volume) / 'Backups.backupdb' / computer_name
|
28
|
+
end
|
24
29
|
end
|
25
30
|
@backups_dir
|
26
31
|
end
|
data/tms.gemspec
CHANGED
metadata
CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 1.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ivan Kuchin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-10-17 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: colored
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements: []
|
100
100
|
|
101
101
|
rubyforge_project: tms
|
102
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.24
|
103
103
|
signing_key:
|
104
104
|
specification_version: 3
|
105
105
|
summary: Time Machine Status
|