user/ruby3.0-power_assert: new aport
This commit is contained in:
parent
a6da99a83e
commit
a792c1fee7
2 changed files with 85 additions and 0 deletions
23
user/ruby3.0-power_assert/gemspec.patch
Normal file
23
user/ruby3.0-power_assert/gemspec.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- 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
|
Loading…
Add table
Add a link
Reference in a new issue