just adjusting spaces

This commit is contained in:
feu 2018-07-29 20:54:13 -03:00
parent ce3ac54e2c
commit 43d53a67b7
2 changed files with 4 additions and 4 deletions

View File

@ -554,19 +554,19 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
end end
def source_modified_time def source_modified_time
info = system_command("svn", args:["info", "--xml"], chdir: cached_location.to_s).stdout info = system_command("svn", args: ["info", "--xml"], chdir: cached_location.to_s).stdout
xml = REXML::Document.new(info) xml = REXML::Document.new(info)
Time.parse REXML::XPath.first(xml, "//date/text()").to_s Time.parse REXML::XPath.first(xml, "//date/text()").to_s
end end
def last_commit def last_commit
system_command("svn", args:["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip system_command("svn", args: ["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip
end end
private private
def repo_url def repo_url
system_command("svn", args:["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1] system_command("svn", args: ["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1]
end end
def externals def externals

View File

@ -9,7 +9,7 @@ module UnpackStrategy
private private
def extract_to_dir(unpack_dir, basename:, verbose:) def extract_to_dir(unpack_dir, basename:, verbose:)
system_command! "svn", system_command! "svn",
args: ["export", "--force", ".", unpack_dir], args: ["export", "--force", ".", unpack_dir],
chdir: path.to_s chdir: path.to_s
end end