trackman 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module Trackman
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def assets
|
16
|
-
internals = children_paths.select{|p| p.internal_path? }.map{|p| {old
|
16
|
+
internals = children_paths.select{|p| p.internal_path? }.map{|p| {:old => p, :new_path => translate(p, path)} }
|
17
17
|
internals = internals.select{|p| !p[:new_path].nil? }.map{|p| asset_from(p[:old], p[:new_path])}
|
18
18
|
internals.inject([]) do |sum, a|
|
19
19
|
(sum << a) + a.assets.select{|child| !sum.include?(child) }
|
data/lib/trackman/version.rb
CHANGED