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:
parent
d11d02686f
commit
128c33a0f4
2 changed files with 21 additions and 2 deletions
13
Rakefile
13
Rakefile
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue