|
Revision 11, 0.8 kB
(checked in by why, 3 years ago)
|
|
camping.gemspec: 1.1
|
| Line | |
|---|
| 1 | # This gemspec is not recommended for install and is here |
|---|
| 2 | # as a stub to remind me that it's an option someday... |
|---|
| 3 | require 'rubygems' |
|---|
| 4 | spec = Gem::Specification.new do |s| |
|---|
| 5 | s.name = 'camping' |
|---|
| 6 | s.version = "1.1" |
|---|
| 7 | s.platform = Gem::Platform::RUBY |
|---|
| 8 | s.summary = "miniature rails for stay-at-home moms" |
|---|
| 9 | s.add_dependency('activerecord') |
|---|
| 10 | s.add_dependency('markaby') |
|---|
| 11 | s.add_dependency('metaid') |
|---|
| 12 | s.files = ['examples/**/*', 'lib/**/*', 'bin/**/*'].collect do |dirglob| |
|---|
| 13 | Dir.glob(dirglob) |
|---|
| 14 | end.flatten.delete_if {|item| item.include?(".svn")} |
|---|
| 15 | s.require_path = 'lib' |
|---|
| 16 | s.autorequire = 'camping' |
|---|
| 17 | s.author = "why the lucky stiff" |
|---|
| 18 | s.email = "why@ruby-lang.org" |
|---|
| 19 | s.rubyforge_project = "hobix" |
|---|
| 20 | s.homepage = "http://whytheluckystiff.net/camping/" |
|---|
| 21 | end |
|---|
| 22 | if $0==__FILE__ |
|---|
| 23 | Gem::Builder.new(spec).build |
|---|
| 24 | end |
|---|