diff --git a/.travis.yml b/.travis.yml index 0c7c8ed..a871f2a 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 fa75df1..7f4f5e9 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 f7bbef9..e039c9a 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-hacker.gemspec b/jekyll-theme-hacker.gemspec index e59fa4a..f642fb3 100644 --- a/jekyll-theme-hacker.gemspec +++ b/jekyll-theme-hacker.gemspec @@ -1,3 +1,5 @@ +# frozen_string_literal: true + Gem::Specification.new do |s| s.name = 'jekyll-theme-hacker' s.version = '0.1.1' diff --git a/script/cibuild b/script/cibuild index af2ff46..ad3c614 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-hacker.gemspec diff --git a/script/validate-html b/script/validate-html index f6b17eb..df4ec22 100755 --- a/script/validate-html +++ b/script/validate-html @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require 'w3c_validators'