From 99119b10461543fbf3e6bf13eca5587454603624 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Tue, 24 Oct 2023 15:40:51 +0200 Subject: [PATCH] Don't ship POT files in gem. README.md is already translated when it reaches the gem form, no need to ship the files for translation. --- pg.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg.gemspec b/pg.gemspec index 43740a688..8444d63a5 100644 --- a/pg.gemspec +++ b/pg.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|translation)/}) } end spec.extensions = ["ext/extconf.rb"] spec.require_paths = ["lib"]