forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add html-proofer, Fix Fidelity Notes, Update Various Sites (2factorau…
…th#2478) * html proofer + fixes add html check, fix & issues. all issues found by allowing external link checks * revert verify changes not ready yet, please keep git history * add external proofer * update for rubocop * add an external link check allowing for failures * add to include * move to trusty * test on non-trusty build * add bundler * update Domain4Bitcoins doc to https * fix SSLTrust url * update certificates and dist * trusty doesn't seem to work * update url to https * update rake * Update .travis.yml * remove oplerno * move zenbanx to com tld * move to trusty * Update .travis.yml * Update Rakefile * limit concurrency * update curl test for 137 error * try lower concurrency * try using nokogiri system libs * move to osx * change packet 2fa type * Update domains.yml * add lang tag for misshosting
- Loading branch information
1 parent
79818a4
commit 4532361
Showing
40 changed files
with
129 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
_site/ | ||
tmp/ | ||
*.DS_Store | ||
.idea/ | ||
Thumbs.db | ||
ehthumbs.db | ||
Gemfile.lock | ||
.sass-cache | ||
.sass-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,39 @@ | ||
require 'html-proofer' | ||
require 'rubocop/rake_task' | ||
require 'jekyll' | ||
|
||
RuboCop::RakeTask.new | ||
task default: %w[proof verify rubocop] | ||
|
||
task :build do | ||
config = Jekyll.configuration( | ||
'source' => './', | ||
'destination' => './_site' | ||
) | ||
site = Jekyll::Site.new(config) | ||
Jekyll::Commands::Build.build site, config | ||
end | ||
|
||
task proof: 'build' do | ||
HTMLProofer.check_directory( | ||
'./_site', \ | ||
assume_extension: true, \ | ||
check_html: true, \ | ||
disable_external: true | ||
).run | ||
end | ||
|
||
task default: %w[verify rubocop] | ||
task proof_external: 'build' do | ||
HTMLProofer.check_directory( | ||
'./_site', \ | ||
assume_extension: true, \ | ||
check_html: true, \ | ||
cache: { timeframe: '1w' }, \ | ||
hydra: { max_concurrency: 12 } | ||
).run | ||
end | ||
|
||
task :verify do | ||
ruby './verify.rb' | ||
end | ||
|
||
RuboCop::RakeTask.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ exclude: | |
- README.md | ||
- Rakefile | ||
- verify.rb | ||
- vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.