ayaports/user/ruby3.0-power_assert/gemspec.patch

24 lines
1,006 B
Diff
Raw Normal View History

2023-03-31 16:52:18 +00:00
--- a/power_assert.gemspec
+++ b/power_assert.gemspec
@@ -12,11 +12,7 @@
s.summary = "Power Assert for Ruby"
s.description = "Power Assert for Ruby. Power Assert shows each value of variables and method calls in the expression. It is useful for testing, providing which value wasn't correct when the condition is not satisfied."
- s.files = `git ls-files -z`.split("\x0").reject do |f|
- f.match(%r{^(test|spec|features|benchmark)/})
- end
- s.bindir = 'exe'
- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ s.files = Dir['lib/**/*.rb']
s.require_paths = ['lib']
s.add_development_dependency 'test-unit'
s.add_development_dependency 'rake'
@@ -25,7 +21,6 @@
s.add_development_dependency 'pry'
s.add_development_dependency 'byebug'
s.add_development_dependency 'benchmark-ips'
- s.extra_rdoc_files = ['README.rdoc']
s.rdoc_options = ['--main', 'README.rdoc']
s.licenses = ['2-clause BSDL', "Ruby's"]
end