Debian Codegraph @

coderay.gemspec

raw ◀ ▶
1 Debian patch touch this file
1 $:.push File.expand_path("../lib", __FILE__)
2
3 require 'coderay/version'
4
5 Gem::Specification.new do |s|
6 s.name = 'coderay'
7
8 if ENV['RELEASE']
9 s.version = CodeRay::VERSION
10 else
11 s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}"
12 end
13
14 s.authors = ['Kornelius Kalnbach']
15 s.email = ['[email protected]']
16 s.homepage = 'http://coderay.rubychan.de'
17 s.summary = 'Fast syntax highlighting for selected languages.'
18 s.description = 'Fast and easy syntax highlighting for selected languages, written in Ruby. Comes with RedCloth integration and LOC counter.'
19
20 s.license = 'MIT'
21
22 s.platform = Gem::Platform::RUBY
23 s.required_ruby_version = '>= 1.8.6'
24
25 readme_file = 'README_INDEX.rdoc'
26
•27 s.files = Dir['lib/*'] << readme_file << 'MIT-LICENSE'
28 s.executables = Dir['bin/*'].map { |f| File.basename(f) }
29 s.require_paths = ['lib']
30
31 s.rdoc_options = '-SNw2', "-m#{readme_file}", '-t CodeRay Documentation'
32 s.extra_rdoc_files = readme_file
33 end