diff options
Diffstat (limited to 'main/ruby-debug/gemspec.patch')
-rw-r--r-- | main/ruby-debug/gemspec.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ruby-debug/gemspec.patch b/main/ruby-debug/gemspec.patch new file mode 100644 index 00000000000..2092357b245 --- /dev/null +++ b/main/ruby-debug/gemspec.patch @@ -0,0 +1,11 @@ +--- a/debug.gemspec ++++ b/debug.gemspec +@@ -18,7 +18 @@ +- # 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 do |f| +- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) +- end +- end ++ spec.files = Dir["exe/*", "ext/**/*", "lib/**/*.rb"] |