projects/aports·blob master · refs

26 lines · 893 B

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