Skip to content
Browse files

add post install message

  • Loading branch information...
1 parent a6b764b commit bd16a6966f322cff09c91812b919bc37dd4165ca @dchelimsky dchelimsky committed Feb 21, 2010
Showing with 21 additions and 1 deletion.
  1. +11 −1 Rakefile
  2. +10 −0 rspec-expectations.gemspec
View
12 Rakefile
@@ -19,8 +19,18 @@ begin
gem.add_development_dependency('aruba', ">= 0.1.1")
gem.add_development_dependency('rspec-core', ">= #{Rspec::Expectations::Version::STRING}")
gem.add_development_dependency('rspec-mocks', ">= #{Rspec::Expectations::Version::STRING}")
+ 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: gem install jeweler"
end
View
10 rspec-expectations.gemspec
@@ -99,6 +99,16 @@ Gem::Specification.new do |s|
"spec/support/classes.rb"
]
s.homepage = %q{http://github.com/rspec/expectations}
+ s.post_install_message = %q{**************************************************
+
+ Thank you for installing rspec-expectations-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}

0 comments on commit bd16a69

Please sign in to comment.
Something went wrong with that request. Please try again.