aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-public_suffix/gemspec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-public_suffix/gemspec.patch')
-rw-r--r--community/ruby-public_suffix/gemspec.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/ruby-public_suffix/gemspec.patch b/community/ruby-public_suffix/gemspec.patch
new file mode 100644
index 00000000000..ae418347745
--- /dev/null
+++ b/community/ruby-public_suffix/gemspec.patch
@@ -0,0 +1,16 @@
+--- a/public_suffix.gemspec
++++ b/public_suffix.gemspec
+@@ -22,12 +22,7 @@
+ "source_code_uri" => "https://github.com/weppos/publicsuffix-ruby/tree/v#{s.version}",
+ }
+
+- s.files = Dir.chdir(__dir__) do
+- `git ls-files -z`.split("\x0").reject do |f|
+- (File.expand_path(f) == __FILE__) ||
+- f.start_with?(*%w[bin/ test/ .git .rubocop Gemfile Rakefile])
+- end
+- end
++ s.files = Dir["data/**/*", "lib/**/*"]
+ s.require_paths = ["lib"]
+ s.extra_rdoc_files = %w( LICENSE.txt )
+ end