From 3593ff3c3afd545d9d2e891a851951e4953524f0 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 28 May 2019 13:33:49 -0400 Subject: [PATCH] Fix linting errors & fix GitHub asset URL --- .travis.yml | 3 +-- Gemfile | 2 ++ index.md | 2 +- jekyll-theme-slate.gemspec | 2 ++ script/cibuild | 2 +- script/validate-html | 1 + 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c7c8ed7..a871f2a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: ruby cache: bundler -sudo: false -rvm: 2.5 +rvm: 2.6 install: script/bootstrap script: script/cibuild diff --git a/Gemfile b/Gemfile index fa75df15..7f4f5e95 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + source 'https://rubygems.org' gemspec diff --git a/index.md b/index.md index 4ea57371..86110519 100644 --- a/index.md +++ b/index.md @@ -94,7 +94,7 @@ end ### Small image -![Octocat](https://assets-cdn.github.com/images/icons/emoji/octocat.png) +![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png) ### Large image diff --git a/jekyll-theme-slate.gemspec b/jekyll-theme-slate.gemspec index 7031005f..b46514c3 100644 --- a/jekyll-theme-slate.gemspec +++ b/jekyll-theme-slate.gemspec @@ -1,3 +1,5 @@ +# frozen_string_literal: true + Gem::Specification.new do |s| s.name = 'jekyll-theme-slate' s.version = '0.1.1' diff --git a/script/cibuild b/script/cibuild index df18b743..02a6612a 100755 --- a/script/cibuild +++ b/script/cibuild @@ -3,7 +3,7 @@ set -e bundle exec jekyll build -bundle exec htmlproofer ./_site --check-html --check-sri --disable-external +bundle exec htmlproofer ./_site --check-html --check-sri bundle exec rubocop -D bundle exec script/validate-html gem build jekyll-theme-slate.gemspec diff --git a/script/validate-html b/script/validate-html index f6b17eb2..df4ec22e 100755 --- a/script/validate-html +++ b/script/validate-html @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require 'w3c_validators'