style: Style/SpecialGlobalVars
see: https://rubystyle.guide/#no-cryptic-perlisms
This commit is contained in:
parent
4e25c36d86
commit
4536edb1b0
|
@ -1,5 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "English"
|
||||||
require_relative "lib/jekyll/version"
|
require_relative "lib/jekyll/version"
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
|
@ -12,7 +13,7 @@ Gem::Specification.new do |s|
|
||||||
s.summary = "A simple, blog aware, static site generator."
|
s.summary = "A simple, blog aware, static site generator."
|
||||||
s.description = "Jekyll is a simple, blog aware, static site generator."
|
s.description = "Jekyll is a simple, blog aware, static site generator."
|
||||||
|
|
||||||
all_files = `git ls-files -z`.split("\x0")
|
all_files = `git ls-files -z`.split($INPUT_RECORD_SEPARATOR)
|
||||||
s.files = all_files.grep(%r!^(exe|lib|rubocop)/|^.rubocop.yml$!)
|
s.files = all_files.grep(%r!^(exe|lib|rubocop)/|^.rubocop.yml$!)
|
||||||
s.executables = all_files.grep(%r!^exe/!) { |f| File.basename(f) }
|
s.executables = all_files.grep(%r!^exe/!) { |f| File.basename(f) }
|
||||||
s.bindir = "exe"
|
s.bindir = "exe"
|
||||||
|
|
Loading…
Reference in New Issue