| 1 | |
| 2 | |
| 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'
|