style: Style/SpecialGlobalVars

see: https://rubystyle.guide/#no-cryptic-perlisms
This commit is contained in:
Frank Taillandier 2020-04-13 15:21:20 +02:00 committed by GitHub
parent 4e25c36d86
commit 4536edb1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# frozen_string_literal: true
require "English"
require_relative "lib/jekyll/version"
Gem::Specification.new do |s|
@ -12,7 +13,7 @@ Gem::Specification.new do |s|
s.summary = "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.executables = all_files.grep(%r!^exe/!) { |f| File.basename(f) }
s.bindir = "exe"