|
Revision 60, 1.3 kB
(checked in by why, 3 years ago)
|
- camping.gemspec: version 1.3, at last.
- extras/Camping.gif: images on the docs.
- extras/flipbook_rdoc.rb: multi-page version of the docs.
|
| Line | |
|---|
| 1 | require 'rubygems' |
|---|
| 2 | spec = Gem::Specification.new do |s| |
|---|
| 3 | s.name = 'camping' |
|---|
| 4 | s.version = "1.3" |
|---|
| 5 | s.platform = Gem::Platform::RUBY |
|---|
| 6 | s.summary = "miniature rails for stay-at-home moms" |
|---|
| 7 | s.add_dependency('activerecord', '>=1.13') |
|---|
| 8 | s.add_dependency('markaby', '>0.2') |
|---|
| 9 | s.add_dependency('metaid') |
|---|
| 10 | s.has_rdoc = true |
|---|
| 11 | s.files = ['README', 'CHANGELOG', 'examples/**/*', 'lib/**/*', 'bin/**/*', 'extras/**/*'].collect do |dirglob| |
|---|
| 12 | Dir.glob(dirglob) |
|---|
| 13 | end.flatten.delete_if {|item| item.include?(".svn")} |
|---|
| 14 | s.extra_rdoc_files = ['README', 'CHANGELOG'] |
|---|
| 15 | s.rdoc_options << "--quiet" << |
|---|
| 16 | "--title" << "Camping, the Documentation" << |
|---|
| 17 | "--template" << "extras/flipbook_rdoc.rb" << |
|---|
| 18 | "--opname" << "index.html" << |
|---|
| 19 | "--line-numbers" << |
|---|
| 20 | "--main" << "README" << |
|---|
| 21 | "--inline-source" << |
|---|
| 22 | "--exclude" << "^(examples|extras)\/" << |
|---|
| 23 | "--exclude" << "lib/camping.rb" |
|---|
| 24 | s.require_path = 'lib' |
|---|
| 25 | s.executables << 'camping' |
|---|
| 26 | s.author = "why the lucky stiff" |
|---|
| 27 | s.email = "why@ruby-lang.org" |
|---|
| 28 | s.rubyforge_project = "camping" |
|---|
| 29 | s.homepage = "http://code.whytheluckystiff.net/camping/" |
|---|
| 30 | end |
|---|
| 31 | if $0==__FILE__ |
|---|
| 32 | Gem::Builder.new(spec).build |
|---|
| 33 | end |
|---|