From 65b17030194010fffb74b946eeed3ef4d0b841c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 4 Aug 2017 02:50:45 +0200 Subject: [PATCH] Use markdownlint and html-proofer from Gemfile and bump to latest versions --- .travis.yml | 8 +++----- Gemfile | 3 ++- Gemfile.lock | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3b971b739..869fd0a8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,11 @@ sudo: false install: - bundle config build.nokogiri --use-system-libraries - travis_retry bundle install - - gem install mdl -v 0.3.1 - - gem install html-proofer -v 3.0.6 script: - - jekyll build - - mdl -s markdownlint-config.rb . || true # markdownlint errors shouldn't fail the build for now - - htmlproofer ./_site --disable-external --allow-hash-href --check-html + - bundle exec jekyll build + - bundle exec mdl -s markdownlint-config.rb . || true # markdownlint errors shouldn't fail the build for now + - bundle exec htmlproofer ./_site --disable-external --allow-hash-href --check-html branches: only: diff --git a/Gemfile b/Gemfile index 538e1d2f4..b095df332 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' gem 'github-pages' - +gem 'html-proofer' +gem 'mdl' diff --git a/Gemfile.lock b/Gemfile.lock index b8a97d3eb..b59cf6837 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,6 +13,7 @@ GEM execjs coffee-script-source (1.12.2) colorator (1.1.0) + colored (1.2) ethon (0.10.1) ffi (>= 1.3.0) execjs (2.7.0) @@ -72,6 +73,15 @@ GEM html-pipeline (2.6.0) activesupport (>= 2) nokogiri (>= 1.4) + html-proofer (3.7.2) + activesupport (>= 4.2, < 6.0) + addressable (~> 2.3) + colored (~> 1.2) + mercenary (~> 0.3.2) + nokogiri (~> 1.7) + parallel (~> 1.3) + typhoeus (~> 0.7) + yell (~> 2.0) i18n (0.8.6) jekyll (3.4.5) addressable (~> 2.4) @@ -157,17 +167,24 @@ GEM listen (3.0.6) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) + mdl (0.4.0) + kramdown (~> 1.12, >= 1.12.0) + mixlib-cli (~> 1.7, >= 1.7.0) + mixlib-config (~> 2.2, >= 2.2.1) mercenary (0.3.6) mini_portile2 (2.2.0) minima (2.1.1) jekyll (~> 3.3) minitest (5.10.3) + mixlib-cli (1.7.0) + mixlib-config (2.2.4) multipart-post (2.0.0) net-dns (0.8.0) nokogiri (1.8.0) mini_portile2 (~> 2.2.0) octokit (4.7.0) sawyer (~> 0.8.0, >= 0.5.3) + parallel (1.12.0) pathutil (0.14.0) forwardable-extended (~> 2.6) public_suffix (2.0.5) @@ -192,12 +209,15 @@ GEM tzinfo (1.2.3) thread_safe (~> 0.1) unicode-display_width (1.3.0) + yell (2.0.7) PLATFORMS ruby DEPENDENCIES github-pages + html-proofer + mdl BUNDLED WITH 1.15.3