1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/testing/ruby-coderay/gemspec.patch
2025-05-25 23:55:48 +00:00

26 lines
893 B
Diff

--- a/coderay.gemspec 2020-05-30 03:20:17.000000000 -0400
+++ b/coderay.gemspec 2024-09-17 14:30:39.750244140 -0400
@@ -5,11 +5,7 @@
Gem::Specification.new do |s|
s.name = 'coderay'
- if ENV['RELEASE']
- s.version = CodeRay::VERSION
- else
- s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}"
- end
+ s.version = CodeRay::VERSION
s.authors = ['Kornelius Kalnbach']
s.email = ['murphy@rubychan.de']
@@ -24,8 +20,8 @@
readme_file = 'README_INDEX.rdoc'
- s.files = `git ls-files -- lib/* #{readme_file} MIT-LICENSE`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
+ s.files = Dir['lib/**/*']
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ['lib']
s.rdoc_options = '-SNw2', "-m#{readme_file}", '-t CodeRay Documentation'