$:.unshift('lib') require 'bones' task :default => 'spec:run' task 'gem:release' => 'spec:run' begin gem('rspec', '~> 2.6'); rescue LoadError; end Bones { name 'bones' authors 'Tim Pease' email 'tim.pease@gmail.com' url 'http://rubygems.org/gems/bones' spec.opts.concat %w[--color --format documentation] notes.exclude %w[^README\.rdoc$ ^data/] gem.extras[:post_install_message] = <<-MSG -------------------------- Keep rattlin' dem bones! -------------------------- MSG ann.paragraphs %w[install synopsis features] ann.text gem.extras[:post_install_message] use_gmail depend_on 'rake', '>= 0.8.7' depend_on 'little-plugger' depend_on 'loquacious' depend_on 'rspec', '~> 2.6', :development => true # These are commented out to avoid circular dependencies when installing # bones-git or bones-rspec in development mode #### # depend_on 'bones-git', :development => true # depend_on 'bones-rspec', :development => true } # don't want to depend on ourself ::Bones.config.gem._spec.dependencies.delete_if {|d| d.name == 'bones'}