-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rely on rubocop-github for Ruby formatting
- Loading branch information
Showing
4 changed files
with
25 additions
and
19 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,6 +1,10 @@ | ||
inherit_gem: | ||
rubocop-github: | ||
- config/default.yml | ||
|
||
AllCops: | ||
Exclude: | ||
- _site/**/* | ||
|
||
Metrics/LineLength: | ||
Layout/LineLength: | ||
Enabled: false |
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,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gemspec |
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,24 +1,26 @@ | ||
# frozen_string_literal: true | ||
|
||
Gem::Specification.new do |s| | ||
s.name = 'jekyll-theme-primer' | ||
s.version = '0.5.4' | ||
s.authors = ['GitHub, Inc.'] | ||
s.email = ['[email protected]'] | ||
s.homepage = 'https://github.com/pages-themes/jekyll-theme-primer' | ||
s.name = "jekyll-theme-primer" | ||
s.version = "0.5.4" | ||
s.authors = ["GitHub, Inc."] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/pages-themes/jekyll-theme-primer" | ||
s.summary = "Primer is a Jekyll theme for GitHub Pages based on GitHub's Primer styles" | ||
|
||
s.files = `git ls-files -z`.split("\x0").select do |f| | ||
f.match(%r{^(assets|_(includes|layouts|sass)/|(LICENSE|README)((\.(txt|md)|$)))}i) | ||
end | ||
|
||
s.platform = Gem::Platform::RUBY | ||
s.license = 'MIT' | ||
s.license = "MIT" | ||
|
||
s.add_dependency 'jekyll', '> 3.5', '< 5.0' | ||
s.add_runtime_dependency 'jekyll-github-metadata', '~> 2.9' | ||
s.add_runtime_dependency 'jekyll-seo-tag', '~> 2.0' | ||
s.add_development_dependency 'html-proofer', '~> 3.0' | ||
s.add_development_dependency 'rubocop', '~> 0.50' | ||
s.add_development_dependency 'w3c_validators', '~> 1.3' | ||
s.required_ruby_version = ">= 2.4.0" | ||
|
||
s.add_dependency "jekyll", "> 3.5", "< 5.0" | ||
s.add_runtime_dependency "jekyll-github-metadata", "~> 2.9" | ||
s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0" | ||
s.add_development_dependency "html-proofer", "~> 3.0" | ||
s.add_development_dependency "rubocop-github", "~> 0.16" | ||
s.add_development_dependency "w3c_validators", "~> 1.3" | ||
end |
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