capistrano-drupal 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/capistrano-drupal.gemspec +2 -2
- data/lib/capistrano-drupal.rb +6 -5
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/capistrano-drupal.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capistrano-drupal}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kim Pepper"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-12}
|
13
13
|
s.description = %q{A set of tasks for deploying Drupal projects with Capistrano. Includes tasks for configuring apache and mysql}
|
14
14
|
s.email = %q{kim@previousnext.com.au}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/capistrano-drupal.rb
CHANGED
@@ -29,13 +29,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
29
29
|
Capistrano::CLI.ui.ask("MySQL password:")
|
30
30
|
}
|
31
31
|
|
32
|
-
|
32
|
+
|
33
33
|
after "deploy:setup", "drush:createdb"
|
34
34
|
after "deploy:setup", "drush:init_settings"
|
35
35
|
before "drush:updatedb", "drush:backupdb"
|
36
|
-
after "deploy:
|
37
|
-
after "deploy:
|
38
|
-
after "deploy:
|
36
|
+
after "deploy:symlink", "drupal:symlink_shared"
|
37
|
+
after "deploy:symlink", "drush:updatedb"
|
38
|
+
after "deploy:symlink", "drush:cache_clear"
|
39
|
+
after "deploy:symlink", "git:push_deploy_tag"
|
39
40
|
after "deploy:cleanup", "git:cleanup_deploy_tag"
|
40
41
|
|
41
42
|
namespace :deploy do
|
@@ -102,7 +103,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
102
103
|
desc "Backup the database"
|
103
104
|
task :backupdb, :on_error => :continue do
|
104
105
|
t = Time.now.utc.strftime("%Y-%m-%dT%H-%M-%S")
|
105
|
-
run "drush -r #{
|
106
|
+
run "drush -r #{app_path} bam backup --allow-spaces-in-commands"
|
106
107
|
end
|
107
108
|
|
108
109
|
desc "Run Drupal database migrations if required"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-drupal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.9
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kim Pepper
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-08-12 00:00:00 +10:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|