add post_install migration message

This commit is contained in:
Thomas Reynolds 2011-08-06 14:39:04 -07:00
parent 992cb082f2
commit 841219cf45
2 changed files with 20 additions and 4 deletions

View file

@ -1,8 +1,7 @@
# middleman Middleman [![Build Status](http://travis-ci.org/tdreyno/middleman.png)](http://travis-ci.org/tdreyno/middleman)
=========
The Middleman is ever-vigilant against tag-soup, unreadable CSS and repetition. He stands-watch over your Haml, Sass, and CoffeeScript producing only the cleanest and most efficient markup. Middleman is ever-vigilant against tag-soup, unreadable CSS and repetition. He stands-watch over your Haml, Sass, and CoffeeScript producing only the cleanest and most efficient markup.
[![Build Status](http://travis-ci.org/tdreyno/middleman.png)](http://travis-ci.org/tdreyno/middleman)
[![Click here to lend your support to Middleman](http://www.pledgie.com/campaigns/15807.png)](http://www.pledgie.com/campaigns/15807) [![Click here to lend your support to Middleman](http://www.pledgie.com/campaigns/15807.png)](http://www.pledgie.com/campaigns/15807)

View file

@ -16,6 +16,23 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"] s.require_paths = ["lib"]
# TODO remove for 2.1.x
gem.post_install_message =<<eos
******************************************************************************
Welcome to Middleman 2.0
In addition to many new features, some backwards-incompatible
changes have been made to the structure of Middleman sites.
Before running you old, v1.x project on Middleman 2.0,
review the Migration guide:
http://middlemanapp.com/guides/migrating
******************************************************************************
eos
s.add_runtime_dependency("rack", ["~> 1.3.0"]) s.add_runtime_dependency("rack", ["~> 1.3.0"])
s.add_runtime_dependency("thin", ["~> 1.2.11"]) s.add_runtime_dependency("thin", ["~> 1.2.11"])
s.add_runtime_dependency("thor", ["~> 0.14.0"]) s.add_runtime_dependency("thor", ["~> 0.14.0"])