Sha256: 4f848abcafe27d5c897ef7715f24f28c808782b98c8e88daf189edc94506095f
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
desc "Check broken links" task :check_links do require 'rawler' require 'active_support' require 'active_support/core_ext' require 'howitzer/helpers' log.settings_as_formatted_text opts = { wait: 0.1, logfile: File.expand_path(settings.rawler_log, settings.log_dir) } opts[:username] = settings.app_base_auth_login unless settings.app_base_auth_login.blank? opts[:password] = settings.app_base_auth_pass unless settings.app_base_auth_pass.blank? Rawler::Base.new(app_base_url, $stdout, opts).validate end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
howitzer-1.1.1 | generators/tasks/templates/common.rake |
howitzer-1.1.0 | generators/tasks/templates/common.rake |
howitzer-1.0.2 | generators/tasks/templates/common.rake |