Revert to using "\x0" as INPUT_RECORD_SEPARATOR

This reverts commit 4536edb1b0
because the gem built doesn't include all the expected files.
This commit is contained in:
Ashwin Maroli 2020-04-13 19:26:59 +05:30
parent 4536edb1b0
commit 3b32fa27d1
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
# frozen_string_literal: true
require "English"
require_relative "lib/jekyll/version"
Gem::Specification.new do |s|
@ -13,7 +12,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($INPUT_RECORD_SEPARATOR)
all_files = `git ls-files -z`.split("\x0")
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"