File: coderay.gemspec

package info (click to toggle)
coderay 1.1.3-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,368 kB
  • sloc: ruby: 9,987; makefile: 14; sh: 4; python: 1
file content (33 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$:.push File.expand_path("../lib", __FILE__)

require 'coderay/version'

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.authors     = ['Kornelius Kalnbach']
  s.email       = ['murphy@rubychan.de']
  s.homepage    = 'http://coderay.rubychan.de'
  s.summary     = 'Fast syntax highlighting for selected languages.'
  s.description = 'Fast and easy syntax highlighting for selected languages, written in Ruby. Comes with RedCloth integration and LOC counter.'
  
  s.license = 'MIT'
  
  s.platform              = Gem::Platform::RUBY
  s.required_ruby_version = '>= 1.8.6'
  
  readme_file = 'README_INDEX.rdoc'
  
  s.files         = Dir['lib/*'] << readme_file << 'MIT-LICENSE'
  s.executables   = Dir['bin/*'].map { |f| File.basename(f) }
  s.require_paths = ['lib']
  
  s.rdoc_options      = '-SNw2', "-m#{readme_file}", '-t CodeRay Documentation'
  s.extra_rdoc_files  = readme_file
end