2010-03-04 08:54:20 -06:00
|
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
|
2010-09-02 13:17:16 -07:00
|
|
|
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
|
|
require "rspec/version"
|
|
|
|
|
2010-03-04 08:54:20 -06:00
|
|
|
Gem::Specification.new do |s|
|
2010-09-02 13:17:16 -07:00
|
|
|
s.name = "rspec"
|
|
|
|
s.version = RSpec::Version::STRING
|
|
|
|
s.platform = Gem::Platform::RUBY
|
2011-02-27 09:49:25 -06:00
|
|
|
s.authors = ["Steven Baker", "David Chelimsky"]
|
|
|
|
s.email = "rspec-users@rubyforge.org;"
|
2010-09-02 13:17:16 -07:00
|
|
|
s.homepage = "http://github.com/rspec/rspec"
|
|
|
|
s.summary = "rspec-#{RSpec::Version::STRING}"
|
|
|
|
s.description = "Meta-gem that depends on the other rspec gems"
|
2010-03-04 08:54:20 -06:00
|
|
|
|
2010-09-02 13:17:16 -07:00
|
|
|
s.rubygems_version = "1.3.7"
|
|
|
|
s.rubyforge_project = "rspec"
|
2010-03-04 08:54:20 -06:00
|
|
|
|
2010-09-02 13:17:16 -07:00
|
|
|
s.files = `git ls-files`.split("\n")
|
|
|
|
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
|
|
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
|
|
s.extra_rdoc_files = [ "README.markdown" ]
|
|
|
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
|
|
s.require_path = "lib"
|
2010-03-04 08:54:20 -06:00
|
|
|
|
2010-09-02 13:17:16 -07:00
|
|
|
%w[core expectations mocks].each do |name|
|
2010-11-28 23:02:56 -06:00
|
|
|
s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
|
2010-03-04 08:54:20 -06:00
|
|
|
end
|
|
|
|
end
|