Skip to content

Commit e4fb738

Browse files
authored
style: Style/SpecialGlobalVars (#216)
Merge pull request 216
1 parent 5b5bacd commit e4fb738

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jekyll-redirect-from.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
require "English"
34
require_relative "lib/jekyll-redirect-from/version"
45

56
Gem::Specification.new do |spec|
@@ -12,9 +13,7 @@ Gem::Specification.new do |spec|
1213
spec.homepage = "https://github.com/jekyll/jekyll-redirect-from"
1314
spec.license = "MIT"
1415

15-
# rubocop:disable Style/SpecialGlobalVars
16-
spec.files = `git ls-files`.split($/)
17-
# rubocop:enable Style/SpecialGlobalVars
16+
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
1817

1918
spec.executables = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
2019
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)

0 commit comments

Comments
 (0)