Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 51 lines (41 sloc) 1.363 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
require 'rake'
require 'fileutils'
require 'pathname'

$:.unshift File.expand_path(File.join(File.dirname(__FILE__),'lib'))

require 'rspec/version'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "rspec"
    gem.version = Rspec::Version::STRING
    gem.summary = "rspec-#{Rspec::Version::STRING}"
    gem.description = "Meta-gem that depends on the other rspec gems"
    gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
    gem.homepage = "http://github.com/rspec/meta"
    gem.authors = ["David Chelimsky", "Chad Humphries"]
    gem.rubyforge_project = "rspec"
    gem.add_dependency "rspec-core", Rspec::Version::STRING
    gem.add_dependency "rspec-expectations", Rspec::Version::STRING
    gem.add_dependency "rspec-mocks", Rspec::Version::STRING
    gem.post_install_message = <<-EOM
#{"*"*50}

Thank you for installing #{gem.summary}

This is beta software. If you are looking
for a supported production release, please
"gem install rspec" (without --pre).
#{"*"*50}
EOM
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

namespace :gem do
  desc "push to gemcutter"
  task :push => :build do
    system "gem push pkg/rspec-#{Rspec::Version::STRING}.gem"
  end
end

task :clobber do
  rm_rf 'pkg'
end

task :default => [:check_dependencies]
Something went wrong with that request. Please try again.