capdrupal 0.9.1 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -44,4 +44,37 @@ Open your application's `Capfile` and make it begin like this:
44
44
  You should then be able to proceed as you would usually, you may want to familiarise yourself with the truncated list of tasks, you can get a full list with:
45
45
 
46
46
  $ cap -T
47
+
48
+ This show a list of all avaible commands:
49
+
50
+ cap deploy # Deploys your project.
51
+ cap deploy:check # Test deployment dependencies.
52
+ cap deploy:cleanup # Clean up old releases.
53
+ cap deploy:cold # Deploys and starts a `cold' application.
54
+ cap deploy:create_symlink # Updates the symlink to the most recently deployed version.
55
+ cap deploy:pending # Displays the commits since your last deploy.
56
+ cap deploy:pending:diff # Displays the `diff' since your last deploy.
57
+ cap deploy:rollback # Rolls back to a previous version and restarts.
58
+ cap deploy:rollback:code # Rolls back to the previously deployed version.
59
+ cap deploy:setup # Prepares one or more servers for deployment.
60
+ cap deploy:symlink # Deprecated.
61
+ cap deploy:update # Copies your project and updates the symlink.
62
+ cap deploy:update_code # Copies your project to the remote servers.
63
+ cap deploy:upload # Copy files to the currently deployed version.
64
+ cap dev # Set the target stage to `dev'.
65
+ cap drupal:symlink_shared # Symlinks static directories and static files that need to remain between d...
66
+ cap drush:backupdb # Backup the database
67
+ cap drush:cache_clear # Clear the drupal cache
68
+ cap drush:feature_revert # Revert feature
69
+ cap drush:get # Gets drush and installs it
70
+ cap drush:site_offline # Set the site offline
71
+ cap drush:site_online # Set the site online
72
+ cap drush:updatedb # Run Drupal database migrations if required
73
+ cap files:pull # Pull drupal sites files (from remote to local)
74
+ cap files:push # Push drupal sites files (from local to remote)
75
+ cap git:push_deploy_tag # Place release tag into Git and push it to origin server.
76
+ cap invoke # Invoke a single command on the remote servers.
77
+ cap multistage:prepare # Stub out the staging config files.
78
+ cap prod # Set the target stage to `prod'.
79
+ cap shell # Begin an interactive Capistrano session.
47
80
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.3
data/capdrupal.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'capdrupal'
5
- s.version = '0.9.1'
5
+ s.version = '0.9.3'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.description = <<-DESC
8
8
  A set of tasks for deploying Drupal projects with Capistrano and the help of Drush.
data/lib/capdrupal.rb CHANGED
@@ -2,7 +2,8 @@ Capistrano::Configuration.instance(:must_exist).load do
2
2
 
3
3
  require 'capistrano/recipes/deploy/scm'
4
4
  require 'capistrano/recipes/deploy/strategy'
5
-
5
+ require 'railsless-deploy'
6
+
6
7
  # =========================================================================
7
8
  # These variables may be set in the client capfile if their default values
8
9
  # are not sufficient.
@@ -23,12 +24,14 @@ Capistrano::Configuration.instance(:must_exist).load do
23
24
  _cset(:app_path) { "drupal" }
24
25
  _cset :shared_children, false
25
26
 
26
- after "deploy:update_code", "drupal:symlink_shared"
27
27
  after "deploy:finalize_update" do
28
+
28
29
  if download_drush
29
30
  drush.get
30
31
  end
31
-
32
+
33
+ drupal.symlink_shared
34
+
32
35
  drush.site_offline
33
36
  drush.updatedb
34
37
  drush.cache_clear
@@ -149,12 +152,12 @@ Capistrano::Configuration.instance(:must_exist).load do
149
152
 
150
153
  desc "Clear the drupal cache"
151
154
  task :cache_clear, :on_error => :continue do
152
- run "#{drush_cmd} -r #{latest_release}/#{app_path} cc all"
155
+ run "#{drush_cmd} -r #{latest_release}/#{app_path} cache-clear all"
153
156
  end
154
157
 
155
158
  desc "Revert feature"
156
159
  task :feature_revert, :on_error => :continue do
157
- run "#{drush_cmd} -r #{latest_release}/#{app_path} fr all"
160
+ run "#{drush_cmd} -r #{latest_release}/#{app_path} features-revert-all"
158
161
  end
159
162
 
160
163
  desc "Set the site online"
@@ -165,4 +168,4 @@ Capistrano::Configuration.instance(:must_exist).load do
165
168
 
166
169
  end
167
170
 
168
- end
171
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capdrupal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-05-29 00:00:00.000000000 Z
15
+ date: 2013-06-14 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: capistrano