instiki/instiki.gemspec

45 lines
1.4 KiB
Ruby
Raw Permalink Normal View History

2005-04-07 08:11:22 +02:00
$__instiki_source_patterns = [
'[A-Z]*', 'instiki', 'instiki.rb', 'app/**/*', 'lib/**/*', 'vendor/**/*',
'public/**/*', 'natives/**/*', 'config/**/*', 'script/**/*'
]
2005-01-15 21:26:54 +01:00
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'instiki'
2005-04-07 08:11:22 +02:00
s.version = "0.10.0"
2005-01-15 21:26:54 +01:00
s.summary = 'Easy to install WikiClone running on WEBrick and Madeleine'
s.description = <<-EOF
Instiki is a Wiki Clone written in Ruby that ships with an embedded
webserver. You can setup up an Instiki in just a few steps.
Possibly the simplest wiki setup ever.
EOF
s.author = 'David Heinemeier Hansson'
s.email = 'david@loudthinking.com'
s.rubyforge_project = 'instiki'
s.homepage = 'http://www.instiki.org'
s.bindir = '.'
s.executables = ['instiki']
s.default_executable = 'instiki'
2005-04-07 08:11:22 +02:00
s.has_rdoc = false
2005-01-15 21:26:54 +01:00
s.add_dependency('madeleine', '= 0.7.1')
2005-04-07 08:11:22 +02:00
s.add_dependency('RedCloth', '= 3.0.3')
2005-01-15 21:26:54 +01:00
s.add_dependency('rubyzip', '= 0.5.5')
2005-04-07 08:11:22 +02:00
s.add_dependency('rails', '= 0.11.1')
2005-01-15 21:26:54 +01:00
s.requirements << 'none'
s.require_path = 'lib'
2005-01-15 21:26:54 +01:00
s.files = $__instiki_source_patterns.inject([]) { |list, glob|
list << Dir[glob].delete_if { |path|
File.directory?(path) or
path.include?('.svn/') or
2005-01-15 21:26:54 +01:00
path.include?('vendor/') or
path.include?('test/') or
path.include?('_test.rb')
}
}.flatten
end