diff --git a/lib/skellington/cli.rb b/lib/skellington/cli.rb index ffb9c4b..dc6515d 100644 --- a/lib/skellington/cli.rb +++ b/lib/skellington/cli.rb @@ -18,22 +18,30 @@ def generate wormname desc 'postinstall', 'Show some helpful hints' def postinstall - s = 'Some other things you might find useful (sweeten to taste):' - s << "\n\n" - s << '* Set up continuous integration in Travis:' - s << "\n\n" - s << ' travis init' - s << "\n\n" - s << '* Configure a Heroku app:' - s << "\n\n" - s << " heroku apps:create YOUR-APP-NAME-HERE --region=eu" - s << "\n\n" - s << '* Get Travis to continuously deploy to Heroku:' - s << "\n\n" - s << ' travis setup heroku' - s << "\n\n" - s << "(This all depends on you having Travis and Heroku installed and configured)" + s = < README.md + git add README.md +HEREDOC puts s end end diff --git a/lib/skellington/version.rb b/lib/skellington/version.rb index 15fe825..3984e23 100644 --- a/lib/skellington/version.rb +++ b/lib/skellington/version.rb @@ -1,3 +1,3 @@ module Skellington - VERSION = '0.4.10' + VERSION = '0.4.11' end diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb index 123e7ce..1456e18 100644 --- a/spec/cli_spec.rb +++ b/spec/cli_spec.rb @@ -47,15 +47,24 @@ module Skellington \* Set up continuous integration in Travis: + gem install travis travis init + git add .travis.yml \* Configure a Heroku app: + gem install heroku heroku apps:create YOUR-APP-NAME-HERE --region=eu \* Get Travis to continuously deploy to Heroku: travis setup heroku + +\* Add some badges to your README + + gem install badgerbadgerbadger + badger > README.md + git add README.md /).to_stdout end end