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
|
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rspec/support/version'
Gem::Specification.new do |spec|
spec.name = "rspec-support"
spec.version = RSpec::Support::Version::STRING
spec.authors = ["David Chelimsky","Myron Marson","Jon Rowe","Sam Phippen","Xaviery Shay","Bradley Schaefer"]
spec.email = "rspec-users@rubyforge.org"
spec.homepage = "https://github.com/rspec/rspec-support"
spec.summary = "rspec-support-#{RSpec::Support::Version::STRING}"
spec.description = "Support utilities for RSpec gems"
spec.license = "MIT"
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/rspec/rspec-support/issues',
'changelog_uri' => "https://github.com/rspec/rspec-support/blob/v#{spec.version}/Changelog.md",
'documentation_uri' => 'https://rspec.info/documentation/',
'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/rspec',
'source_code_uri' => 'https://github.com/rspec/rspec-support',
}
spec.files = Dir.glob('lib/**/*', File::FNM_DOTMATCH)
spec.files += %w[README.md LICENSE.md Changelog.md]
spec.test_files = []
spec.rdoc_options = ["--charset=UTF-8"]
spec.require_paths = ["lib"]
private_key = File.expand_path('~/.gem/rspec-gem-private_key.pem')
if File.exist?(private_key)
spec.signing_key = private_key
spec.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
end
spec.required_ruby_version = '>= 1.8.7'
spec.add_development_dependency "rake", "> 10.0.0"
spec.add_development_dependency "thread_order", "~> 1.1.0"
end
|