Skip to content

Commit

Permalink
Adds post-install method to notify users of Padrino::Rendering #541
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena committed May 23, 2011
1 parent f7727c1 commit 6906869
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions padrino-core/padrino-core.gemspec
Expand Up @@ -13,6 +13,11 @@ Gem::Specification.new do |s|
s.version = Padrino.version
s.date = Time.now.strftime("%Y-%m-%d")

# TODO remove after a couple versions
# [\e[32m#{version}\e[0m]
s.post_install_message = "\e[32m When upgrading, please 'register Padrino::Rendering' for each application"
s.post_install_message << " as shown here:\e[0m https://gist.github.com/1d36a35794dbbd664ea4"

s.extra_rdoc_files = Dir["*.rdoc"]
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit 6906869

Please sign in to comment.