drush-deploy 1.0.13.pre20130123003441 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ca6949e0b971048a39b197cd344cb628e8769db1
4
+ data.tar.gz: 424780a69dce75961fbc50a95ae74ccd512b994b
5
+ SHA512:
6
+ metadata.gz: b6f8dcac0276125ea29cc90ca161ff1d9f373b39a6a2703476228d609af0d7bd571c24311fcc6bfb7372730d9b94d8bbf86e096d716afaeab7fb1fbeec32fb7d
7
+ data.tar.gz: af509e0fe9e7cfef95fae25f4a5dc2bc02e9bfeb949e96860a8bb62fd6bced5a457dc07d7f3d58ffa8cdb96c5c07077d9bb3e23c78b040a8583608786d1a484a
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- version 1.0.12
1
+ version 1.0.13
2
2
 
3
3
  ## DESCRIPTION
4
4
 
@@ -2,15 +2,15 @@
2
2
 
3
3
  require 'capistrano/cli'
4
4
  require 'drush_deploy/paths'
5
-
6
- aliases,args = ARGV.partition {|a| a =~ /^@./}
7
-
8
- args = ['--set-before', 'cmdline_target='+aliases.map {|a| a[1..-1] }.join(','),
9
- '--file', DrushDeploy::Paths.recipe('bootstrap')] + args
10
-
11
- cli = Capistrano::CLI.parse(args)
12
- if cli.options[:actions].empty?
13
- args << 'deploy'
14
- cli = Capistrano::CLI.parse(args)
5
+ module Capistrano
6
+ class CLI
7
+ alias_method :execute_without_drush, :execute!
8
+ def execute_with_drush
9
+ options[:recipes] << DrushDeploy::Paths.recipe('bootstrap')
10
+ options[:actions] << 'deploy' if options[:actions].empty?
11
+ execute_without_drush
12
+ end
13
+ alias_method :execute!, :execute_with_drush
14
+ end
15
15
  end
16
- cli.execute!
16
+ Capistrano::CLI.execute
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'drush-deploy'
3
- s.version = '1.0.13.pre20130123003441'
3
+ s.version = '1.0.13'
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"]
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  "README.md"
14
14
  ]
15
15
 
16
- s.add_runtime_dependency(%q<capistrano>, [">=2.12"])
17
- s.add_runtime_dependency(%q<railsless-deploy>, [">=1.0.2"])
18
- s.add_runtime_dependency(%q<php_serialize>, [">=1.2"])
16
+ s.add_runtime_dependency(%q<capistrano>, ["~>2.12"])
17
+ s.add_runtime_dependency(%q<railsless-deploy>, ["~>1.0.2"])
18
+ s.add_runtime_dependency(%q<php_serialize>, ["~>1.2"])
19
19
  end
@@ -75,9 +75,6 @@ module DrushDeploy
75
75
  if site["version_database"]
76
76
  set :version_database, (site["version_database"] == 1)
77
77
  end
78
- if site["versioned_databases"]
79
- set :versioned_databases, site["versioned_databases"]
80
- end
81
78
  end
82
79
  end
83
80
  end
@@ -3,7 +3,10 @@ require 'drush_deploy/database'
3
3
 
4
4
  after "deploy:update_code", "db:drupal:update_settings"
5
5
 
6
- after "drupal:load_targets", "db:version:init"
6
+ if version_database
7
+ after "deploy:update_code", "db:version:create"
8
+ before "deploy:rollback", "db:version:rollback"
9
+ end
7
10
 
8
11
  before "db:version:create", "db:drupal:configure"
9
12
  before "db:version:rollback", "db:drupal:configure"
@@ -65,14 +68,6 @@ namespace :db do
65
68
  end
66
69
 
67
70
  namespace :version do
68
- task :init do
69
- if version_database
70
- after "deploy:update_code", "db:version:create"
71
- before "deploy:rollback", "db:version:rollback"
72
- else
73
- logger.info "Skipping database versioning"
74
- end
75
- end
76
71
  desc "Create a versioned backup of the database"
77
72
  task :create, :roles => :web do
78
73
  if releases.size > 1
@@ -22,8 +22,6 @@ set :make_args, ENV['MAKE_ARGS'] if ENV['MAKE_ARGS']
22
22
  set :update_modules, (ENV['UPDATE_MODULES'] =~ true_values) if ENV['UPDATE_MODULES']
23
23
 
24
24
  set :target, ENV['TARGET'] if ENV['TARGET']
25
- set :target, cmdline_target if exists? :cmdline_target
26
-
27
25
  set :source, ENV['SOURCE'] if ENV['SOURCE']
28
26
 
29
27
  set :application, 'Drupal'
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drush-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13.pre20130123003441
5
- prerelease: 7
4
+ version: 1.0.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matt Edlefsen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
11
+ date: 2013-11-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: '2.12'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: '2.12'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: railsless-deploy
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ~>
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.0.2
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ~>
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.0.2
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: php_serialize
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ~>
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.2'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ~>
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.2'
62
55
  description: Utilizes capistrano to allow for doing intellegent deployments of drupal
@@ -90,26 +83,26 @@ files:
90
83
  - lib/drush_deploy/recipes/setup.rb
91
84
  homepage: https://github.com/xforty/drush-deploy
92
85
  licenses: []
86
+ metadata: {}
93
87
  post_install_message:
94
88
  rdoc_options: []
95
89
  require_paths:
96
90
  - lib
97
91
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
92
  requirements:
100
- - - ! '>='
93
+ - - '>='
101
94
  - !ruby/object:Gem::Version
102
95
  version: '0'
103
96
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
97
  requirements:
106
- - - ! '>'
98
+ - - '>='
107
99
  - !ruby/object:Gem::Version
108
- version: 1.3.1
100
+ version: '0'
109
101
  requirements: []
110
102
  rubyforge_project:
111
- rubygems_version: 1.8.23
103
+ rubygems_version: 2.0.0
112
104
  signing_key:
113
- specification_version: 3
105
+ specification_version: 4
114
106
  summary: Deployment strategy for Drupal using Drush
115
107
  test_files: []
108
+ has_rdoc: