From 358d012f6b3863f8646bfa953729d5c9aca8871c Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Sun, 21 Feb 2010 16:40:59 -0600 Subject: [PATCH] add post install message --- Rakefile | 11 +++++++++++ rspec-mocks.gemspec | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/Rakefile b/Rakefile index cb4f06388..4939d7a9b 100644 --- a/Rakefile +++ b/Rakefile @@ -21,6 +21,17 @@ begin gem.add_development_dependency('mocha') gem.add_development_dependency('flexmock') gem.add_development_dependency('rr') + 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 rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" diff --git a/rspec-mocks.gemspec b/rspec-mocks.gemspec index 11df1ba82..610729f0e 100644 --- a/rspec-mocks.gemspec +++ b/rspec-mocks.gemspec @@ -83,6 +83,16 @@ Gem::Specification.new do |s| "spec/support/macros.rb" ] s.homepage = %q{http://github.com/rspec/mocks} + s.post_install_message = %q{************************************************** + + Thank you for installing rspec-mocks-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}