We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd261f commit f0ce29aCopy full SHA for f0ce29a
1 file changed
prawn-emoji.gemspec
@@ -13,8 +13,9 @@ Gem::Specification.new do |spec|
13
14
spec.required_ruby_version = '>= 2.4'
15
16
- spec.files = `git ls-files`.split("\n")
17
- spec.test_files = `git ls-files -- {test}/*`.split("\n")
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
18
+ end
19
spec.require_path = 'lib'
20
21
spec.add_runtime_dependency 'prawn', '~> 2.2.0'
0 commit comments