- Update to 3.1.0

- Remove obsolete message about SwitchTower, it was removed in 2006
- Add message about 3.1.0 change:

With Capistrano version 3.1, deploy:restart task is no longer run by default.
From this version, developers who restart the app on each deploy need to declare
it in their deploy flow (eg after 'deploy:publishing', 'deploy:restart').

PR:		ports/185983
Submitted by:	Rustem Alimov
This commit is contained in:
Antoine Brodin 2014-01-24 22:23:51 +00:00
parent e27955c439
commit 89413946d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340937
3 changed files with 10 additions and 15 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= capistrano
PORTVERSION= 3.0.1
PORTVERSION= 3.1.0
CATEGORIES= sysutils rubygems
MASTER_SITES= RG
@ -13,23 +13,13 @@ LICENSE= MIT
RUN_DEPENDS= rubygem-i18n>=0:${PORTSDIR}/devel/rubygem-i18n \
rubygem-rake>=10:${PORTSDIR}/devel/rubygem-rake \
rubygem-sshkit>=0.0.23:${PORTSDIR}/security/rubygem-sshkit
rubygem-sshkit>=1.3:${PORTSDIR}/security/rubygem-sshkit
USE_RUBY= yes
USE_RAKE= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/cap
post-install:
@${ECHO_MSG} "======================================================================"
@${ECHO_MSG}
@${ECHO_MSG} "If upgrading/switching from SwitchTower to Capistrano, be sure to:"
@${ECHO_MSG} " - pkg_delete ${PKG_DBDIR}/rubygem-switchtower-*"
@${ECHO_MSG} " - for all Rails projects, execute \"cap -A .\", keeping deploy.rb"
@${ECHO_MSG} " - for all Rails projects, remove lib/tasks/switchtower.rake"
@${ECHO_MSG}
@${ECHO_MSG} "======================================================================"
PLIST_FILES= bin/cap bin/capify
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (rubygem/capistrano-3.0.1.gem) = 1abbb653c9213ace344dd86d9cee03115be47b5a3724e6a79ddbd75217f78408
SIZE (rubygem/capistrano-3.0.1.gem) = 31232
SHA256 (rubygem/capistrano-3.1.0.gem) = 1050effddeb41c587c0798bdbd4caaca86115d4291089b01e889a5e3fe93fdd5
SIZE (rubygem/capistrano-3.1.0.gem) = 38400

View file

@ -0,0 +1,5 @@
===
With Capistrano version 3.1, deploy:restart task is no longer run by default.
From this version, developers who restart the app on each deploy need to declare
it in their deploy flow (eg after 'deploy:publishing', 'deploy:restart').
===