Permalink
Browse files

Removing some deprecated shell methods (only output a warning)

  • Loading branch information...
1 parent fbcd9f0 commit b928e63b1f73bea136cf210c5ba6ab2f2e2a52fb Lee Hambley committed Jul 7, 2009
Showing with 6 additions and 14 deletions.
  1. +5 −0 CHANGELOG.markdown
  2. +0 −3 README.markdown
  3. +0 −10 lib/railsless-deploy.rb
  4. +1 −1 railsless-deploy.gemspec
View
@@ -1,5 +1,10 @@
# Lee Hambley's Railsless Deploy
+## 0.0.15 - July 7th 2009
+
+* Removed `require 'yaml'` as we don't use it
+* Removed the tasks (which contained only deprecation warnings) from deploy:start, deploy:stop and deploy:restart.
+
## 0.0.14 - July 7th 2009
* Added dates to changelog.
View
@@ -33,12 +33,9 @@ If you want to try before you buy, here's the list of tasks included with this v
cap deploy:cold # Deploys and starts a `cold' application.
cap deploy:pending # Displays the commits since your last deploy.
cap deploy:pending:diff # Displays the `diff' since your last deploy.
- cap deploy:restart # restart is deprecated.
cap deploy:rollback # Rolls back to a previous version and restarts.
cap deploy:rollback:code # Rolls back to the previously deployed version.
cap deploy:setup # Prepares one or more servers for deployment.
- cap deploy:start # start is deprecated.
- cap deploy:stop # stop is deprecated.
cap deploy:symlink # Updates the symlink to the most recently deployed ...
cap deploy:update # Copies your project and updates the symlink.
cap deploy:update_code # Copies your project to the remote servers.
View
@@ -1,6 +1,5 @@
Capistrano::Configuration.instance(:must_exist).load do
- require 'yaml'
require 'capistrano/recipes/deploy/scm'
require 'capistrano/recipes/deploy/strategy'
@@ -156,15 +155,6 @@ def try_runner(*args)
# restart
end
- [:start, :stop, :restart].each do |deprecated_task|
- desc "#{deprecated_task.to_s} is deprecated. Please see "
- task deprecated_task do
-
- end
- end
-
-
-
desc <<-DESC
Prepares one or more servers for deployment. Before you can use any \
of the Capistrano deployment tasks with your project, you will need to \
View
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'railsless-deploy'
- s.version = '0.0.14'
+ s.version = '0.0.15'
s.summary = "Deployment recipe for Capistrano without the Railsisms, "
s.description = %{Railsless deploy recipe for capistrano, replaces the default}
s.files = ['lib/railsless-deploy.rb', 'README.markdown', 'CHANGELOG.markdown']

0 comments on commit b928e63

Please sign in to comment.