diff --git a/_ext/arquillian.rb b/_ext/arquillian.rb index 72805e4a6ba..eac568946d5 100644 --- a/_ext/arquillian.rb +++ b/_ext/arquillian.rb @@ -81,7 +81,7 @@ def visit(repository, site) clone_dir = File.join(repos_dir, repository.path) rc = nil if !File.directory? clone_dir - puts "Cloning repository #{repository.clone_url} -> #{clone_dir}" + # puts "Cloning repository #{repository.clone_url} -> #{clone_dir}" rc = Git.clone(repository.clone_url, clone_dir) if repository.master_branch.nil? rc.checkout(repository.master_branch) @@ -89,7 +89,7 @@ def visit(repository, site) repository.master_branch = rc.current_branch end else - puts "Using cloned repository #{clone_dir}" + # puts "Using cloned repository #{clone_dir}" rc = Git.open(clone_dir) master_branch = repository.master_branch if master_branch.nil? diff --git a/_ext/common.rb b/_ext/common.rb index f3947007c7b..0ed5b9be60a 100644 --- a/_ext/common.rb +++ b/_ext/common.rb @@ -1,8 +1,9 @@ # -*- encoding : utf-8 -*- + def getOrCache(tmp_file, url) response_body = "" if !File.exist?tmp_file - puts url + # puts url response_body = RestClient.get(url, :cache => false) { |response, request, result, &block| case response.code when 404 @@ -23,7 +24,7 @@ def getOrCache(tmp_file, url) def getOrCacheJSON(tmp_file, json_url) json = {} if !File.exist?tmp_file - puts 'Grabbing ' + json_url + # puts 'Grabbing ' + json_url response_body = RestClient.get(json_url, :cache => false, :accept => 'application/json') { |response, request, result, &block| case response.code when 404 @@ -42,7 +43,7 @@ def getOrCacheJSON(tmp_file, json_url) begin json = JSON.parse File.read(tmp_file) rescue => e - puts 'Could not parse JSON file ' + tmp_file + '; ' + e + # puts 'Could not parse JSON file ' + tmp_file + '; ' + e json = {} end end diff --git a/_ext/guide.rb b/_ext/guide.rb index 92b5ebbfc3b..abe34dd68ea 100644 --- a/_ext/guide.rb +++ b/_ext/guide.rb @@ -130,7 +130,7 @@ def transform(site, page, rendered) # Wrap