aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-colorator/gemspec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-colorator/gemspec.patch')
-rw-r--r--community/ruby-colorator/gemspec.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/ruby-colorator/gemspec.patch b/community/ruby-colorator/gemspec.patch
new file mode 100644
index 00000000000..68b912737f4
--- /dev/null
+++ b/community/ruby-colorator/gemspec.patch
@@ -0,0 +1,16 @@
+--- a/colorator.gemspec
++++ b/colorator.gemspec
+@@ -11,12 +11,9 @@
+ spec.homepage = "https://github.com/octopress/colorator"
+ spec.licenses = ["MIT"]
+
+- all = `git ls-files -z`.split("\x0").reject { |f| f.start_with?(".") }
+- spec.files = all.select { |f| File.basename(f) == f || f =~ %r{^(bin|lib)/} }
+- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
++ spec.files = Dir["lib/**/*"]
+ spec.require_paths = ["lib"]
+
+- spec.extra_rdoc_files = ["README.markdown", "LICENSE"]
+ spec.rdoc_options = ["--charset=UTF-8"]
+
+ spec.add_development_dependency "rspec", "~> 3.1"