root / tags / 1.2 / camping.gemspec
| Revision 34, 1.1 kB (checked in by why, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | require 'rubygems' |
| 2 | spec = Gem::Specification.new do |s| |
| 3 | s.name = 'camping' |
| 4 | s.version = "1.2" |
| 5 | s.platform = Gem::Platform::RUBY |
| 6 | s.summary = "miniature rails for stay-at-home moms" |
| 7 | s.add_dependency('activerecord') |
| 8 | s.add_dependency('markaby') |
| 9 | s.add_dependency('metaid') |
| 10 | s.has_rdoc = true |
| 11 | s.files = ['README', 'examples/**/*', 'lib/**/*', 'bin/**/*'].collect do |dirglob| |
| 12 | Dir.glob(dirglob) |
| 13 | end.flatten.delete_if {|item| item.include?(".svn")} |
| 14 | s.extra_rdoc_files = ['README'] |
| 15 | s.rdoc_options << "--title" << "Camping Documentation" << |
| 16 | "--line-numbers" << |
| 17 | "--inline-source" << |
| 18 | "--main" << "README" << |
| 19 | "--exclude" << "^examples\/" << |
| 20 | "--exclude" << "lib/camping.rb" |
| 21 | s.require_path = 'lib' |
| 22 | s.autorequire = 'camping' |
| 23 | s.author = "why the lucky stiff" |
| 24 | s.email = "why@ruby-lang.org" |
| 25 | s.rubyforge_project = "camping" |
| 26 | s.homepage = "http://code.whytheluckystiff.net/camping/" |
| 27 | end |
| 28 | if $0==__FILE__ |
| 29 | Gem::Builder.new(spec).build |
| 30 | end |
Note: See TracBrowser
for help on using the browser.
