style: align with latest jekyll-rubocop (#382)

Merge pull request 382
This commit is contained in:
Frank Taillandier 2020-03-20 11:55:32 +01:00 committed by GitHub
parent 76fd24544c
commit e22311ec1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 17 deletions

19
.gitignore vendored
View File

@ -1,12 +1,9 @@
/.bundle/
/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/
/bin/
*.gem
_site
.bundle
.yardoc
Gemfile.lock
pkg
spec/reports/
spec/fixtures/.jekyll-cache
tmp/
vendor/bundle

View File

@ -9,11 +9,11 @@ AllCops:
Exclude:
- vendor/**/*
Metrics/LineLength:
Layout/LineLength:
Exclude:
- spec/**/*
- jekyll-seo-tag.gemspec
Metrics/BlockLength:
Layout/BlockLength:
Exclude:
- spec/**/*

View File

@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-25 11:42:06 +0100 using RuboCop version 0.66.0.
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2020-03-20 11:41:46 +0100 using RuboCop version 0.80.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new

View File

@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", ">= 1.15"
spec.add_development_dependency "html-proofer", "~> 3.7"
spec.add_development_dependency "rspec", "~> 3.5"
spec.add_development_dependency "rubocop-jekyll", "~> 0.4"
spec.add_development_dependency "rubocop-jekyll", "~> 0.11"
end

View File

@ -14,7 +14,7 @@ module Jekyll
def initialize(text, context)
@obj = {}
@mutations = {}
@text = text
@text = text
@context = context
end