capistrano-ash 1.1.14 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ash/base.rb +1 -1
  3. data/lib/ash/zend_doctrine.rb +12 -12
  4. metadata +27 -19
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.14
1
+ 1.1.15
@@ -16,7 +16,7 @@ configuration.load do
16
16
 
17
17
  # Set default stages
18
18
  set :stages, %w(staging production)
19
- set :default_stge, "staging"
19
+ set :default_stage, "staging"
20
20
 
21
21
  # --------------------------------------------
22
22
  # Task chains
@@ -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 #{current_release}/var"
45
- run "ln -nfs #{shared_path}/system #{current_release}/public/system"
46
- run "mv #{current_release}/application/configs/application.ini.dist #{current_release}/application/configs/application.ini"
47
- run "ln -nfs #{current_release}/application/Application.#{stage}.php #{current_release}/application/Application.php"
48
- run "mv #{current_release}/public/htaccess.#{stage} #{current_release}/public/.htaccess"
49
- run "cp #{current_release}/scripts/doctrine-cli.#{stage} #{current_release}/scripts/doctrine-cli"
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 #{current_release}/scripts/doctrine-cli"
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 #{current_release}/scripts/doctrine-cli.dist"
56
- run "rm -f #{current_release}/scripts/doctrine-cli.staging"
57
- run "rm -f #{current_release}/scripts/doctrine-cli.production"
58
- run "rm -f #{current_release}/application/Application.example.php"
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 #{current_release} && ./scripts/doctrine-cli migrate"
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
- date: 2011-10-04 00:00:00.000000000Z
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
- extra_rdoc_files:
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
- require_paths:
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: '0'
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: '0'
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: "0"
54
60
  requirements: []
61
+
55
62
  rubyforge_project:
56
- rubygems_version: 1.8.10
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
+