drush-deploy 1.0.12.pre1 → 1.0.12.pre2
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/drush-deploy.gemspec +1 -1
- data/lib/drush_deploy.rb +15 -0
- metadata +2 -2
data/drush-deploy.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'drush-deploy'
|
3
|
-
s.version = '1.0.12.
|
3
|
+
s.version = '1.0.12.pre2'
|
4
4
|
s.summary = "Deployment strategy for Drupal using Drush"
|
5
5
|
s.description = "Utilizes capistrano to allow for doing intellegent deployments of drupal projects."
|
6
6
|
s.authors = ["Matt Edlefsen"]
|
data/lib/drush_deploy.rb
CHANGED
@@ -1,4 +1,19 @@
|
|
1
1
|
require 'railsless-deploy'
|
2
2
|
require 'drush_deploy/paths'
|
3
3
|
|
4
|
+
class Capistrano::Configuration
|
5
|
+
alias_method :filter_deprecated_tasks_without_drush_deploy, :filter_deprecated_tasks
|
6
|
+
def filter_deprecated_tasks_with_drush_deploy(names)
|
7
|
+
if names == "deploy:symlink"
|
8
|
+
names
|
9
|
+
elsif names.is_a?(Array)
|
10
|
+
filter_deprecated_tasks_without_drush_deploy (names.reject {|n| n == "deploy:symlink"})
|
11
|
+
else
|
12
|
+
filter_deprecated_tasks_without_drush_deploy names
|
13
|
+
end
|
14
|
+
end
|
15
|
+
alias_method :filter_deprecated_tasks, :filter_deprecated_tasks_with_drush_deploy
|
16
|
+
end
|
17
|
+
|
4
18
|
Capistrano::Configuration.instance(:must_exist).load DrushDeploy::Paths.recipe('all')
|
19
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drush-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.12.
|
4
|
+
version: 1.0.12.pre2
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|