capistrano-ash 1.1.14 → 1.1.15
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/lib/ash/base.rb +1 -1
- data/lib/ash/zend_doctrine.rb +12 -12
- metadata +27 -19
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.15
|
data/lib/ash/base.rb
CHANGED
data/lib/ash/zend_doctrine.rb
CHANGED
@@ -41,21 +41,21 @@ configuration.load do
|
|
41
41
|
namespace :zend do
|
42
42
|
desc "Symlink shared directories"
|
43
43
|
task :symlink, :roles => :web, :except => { :no_release => true } do
|
44
|
-
run "ln -nfs #{shared_path}/var #{
|
45
|
-
run "ln -nfs #{shared_path}/system #{
|
46
|
-
run "mv #{
|
47
|
-
run "ln -nfs #{
|
48
|
-
run "mv #{
|
49
|
-
run "cp #{
|
44
|
+
run "ln -nfs #{shared_path}/var #{latest_release}/var"
|
45
|
+
run "ln -nfs #{shared_path}/system #{latest_release}/public/system"
|
46
|
+
run "mv #{latest_release}/application/configs/application.ini.dist #{latest_release}/application/configs/application.ini"
|
47
|
+
run "ln -nfs #{latest_release}/application/Application.#{stage}.php #{latest_release}/application/Application.php"
|
48
|
+
run "mv #{latest_release}/public/htaccess.#{stage} #{latest_release}/public/.htaccess"
|
49
|
+
run "cp #{latest_release}/scripts/doctrine-cli.#{stage} #{latest_release}/scripts/doctrine-cli"
|
50
50
|
|
51
51
|
|
52
|
-
try_sudo "chmod +x #{
|
52
|
+
try_sudo "chmod +x #{latest_release}/scripts/doctrine-cli"
|
53
53
|
|
54
54
|
# remove the example or other environment example files
|
55
|
-
run "rm -f #{
|
56
|
-
run "rm -f #{
|
57
|
-
run "rm -f #{
|
58
|
-
run "rm -f #{
|
55
|
+
run "rm -f #{latest_release}/scripts/doctrine-cli.dist"
|
56
|
+
run "rm -f #{latest_release}/scripts/doctrine-cli.staging"
|
57
|
+
run "rm -f #{latest_release}/scripts/doctrine-cli.production"
|
58
|
+
run "rm -f #{latest_release}/application/Application.example.php"
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
@@ -63,7 +63,7 @@ configuration.load do
|
|
63
63
|
desc "Run Doctrine Migrations"
|
64
64
|
task :migrate, :roles => :web, :except => { :no_release => true } do
|
65
65
|
puts "Running Doctrine Migrations..."
|
66
|
-
run "cd #{
|
66
|
+
run "cd #{latest_release} && ./scripts/doctrine-cli migrate"
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
metadata
CHANGED
@@ -1,23 +1,27 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-ash
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.14
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.1.15
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- August Ash
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
12
|
+
|
13
|
+
date: 2011-10-10 00:00:00 Z
|
13
14
|
dependencies: []
|
15
|
+
|
14
16
|
description: August Ash recipes for Capistrano
|
15
17
|
email: code@augustash.com
|
16
18
|
executables: []
|
19
|
+
|
17
20
|
extensions: []
|
18
|
-
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
19
23
|
- README.textile
|
20
|
-
files:
|
24
|
+
files:
|
21
25
|
- CHANGELOG.rdoc
|
22
26
|
- README.textile
|
23
27
|
- Rakefile
|
@@ -35,26 +39,30 @@ files:
|
|
35
39
|
- lib/ash/zend_doctrine_shared_hosting.rb
|
36
40
|
homepage: https://github.com/augustash/capistrano-ash
|
37
41
|
licenses: []
|
42
|
+
|
38
43
|
post_install_message:
|
39
44
|
rdoc_options: []
|
40
|
-
|
45
|
+
|
46
|
+
require_paths:
|
41
47
|
- lib
|
42
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
43
49
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
55
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version:
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: "0"
|
54
60
|
requirements: []
|
61
|
+
|
55
62
|
rubyforge_project:
|
56
|
-
rubygems_version: 1.8.
|
63
|
+
rubygems_version: 1.8.11
|
57
64
|
signing_key:
|
58
65
|
specification_version: 3
|
59
66
|
summary: Useful task libraries for August Ash recipes for Capistrano
|
60
67
|
test_files: []
|
68
|
+
|