trackman 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/trackman/components/diffable.rb +3 -4
- data/lib/trackman/version.rb +1 -1
- metadata +1 -1
@@ -27,9 +27,9 @@ module Trackman
|
|
27
27
|
def define_update local, remote
|
28
28
|
to_update = local.select do |l|
|
29
29
|
remote.any? do |r|
|
30
|
-
path_eql =
|
31
|
-
hash_eql =
|
32
|
-
vp_eql =
|
30
|
+
path_eql = r.path == l.path
|
31
|
+
hash_eql = r.file_hash == l.file_hash
|
32
|
+
vp_eql = r.virtual_path == l.virtual_path
|
33
33
|
|
34
34
|
path_eql && (!hash_eql || !vp_eql)
|
35
35
|
end
|
@@ -40,7 +40,6 @@ module Trackman
|
|
40
40
|
a.to_remote(sibling.id)
|
41
41
|
end
|
42
42
|
end
|
43
|
-
|
44
43
|
end
|
45
44
|
end
|
46
45
|
end
|
data/lib/trackman/version.rb
CHANGED