root / tags / 1.4.1 / camping.gemspec

Revision 85, 1.3 kB (checked in by why, 3 years ago)
  • camping.gemspec: markaby 0.4, activerecord 1.14.0 required.
Line 
1require 'rubygems'
2spec = Gem::Specification.new do |s|
3  s.name = 'camping'
4  s.version = "1.4"
5  s.platform = Gem::Platform::RUBY
6  s.summary = "miniature rails for stay-at-home moms"
7  s.add_dependency('activerecord', '>=1.14.0')
8  s.add_dependency('markaby', '>=0.4')
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/"
30end
31if $0==__FILE__
32  Gem::Builder.new(spec).build
33end
Note: See TracBrowser for help on using the browser.