1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00

add post install message

This commit is contained in:
David Chelimsky 2010-02-21 16:41:32 -06:00
parent d11d02686f
commit 128c33a0f4
2 changed files with 21 additions and 2 deletions

View file

@ -22,9 +22,18 @@ begin
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 is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
gem.post_install_message = <<-EOM
#{"*"*50}
Thank you for installing #{gem.summary}
The 'a' in #{gem.version} means this is alpha software.
If you are looking for a supported production release,
please "gem install rspec" (without --pre).
#{"*"*50}
EOM
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

View file

@ -27,6 +27,16 @@ Gem::Specification.new do |s|
"rspec.gemspec"
]
s.homepage = %q{http://github.com/rspec/meta}
s.post_install_message = %q{**************************************************
Thank you for installing rspec-2.0.0.a7
The 'a' in 2.0.0.a7 means this is alpha software.
If you are looking for a supported production release,
please "gem install rspec" (without --pre).
**************************************************
}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{rspec}