capistrano-ash 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.2.3
2
+ * FIXED: Issue #27 - Wordpress symlinking uploads and cache directories to the previous release instead of the newest release
3
+
1
4
  == 1.1.18
2
5
  * FIXED: deploy:setup_backup now also attempts to create the :tmp_backups_path directory
3
6
  * added deploy:setup_backup to the backup:default stack so it's always called first (no more messy task chains!)
@@ -23,7 +26,7 @@
23
26
 
24
27
  == 1.1.12
25
28
  * Applied dficker's proposed patch for issue #11
26
- * Added the `remote_dir_exists?` method to the `lib/ash/common.rb`
29
+ * Added the `remote_dir_exists?` method to the `lib/ash/common.rb`
27
30
  ** TODO: better tasks to test if a remote directory exists
28
31
  * Added some Drupal Ubercart methods to help secure Ubercart encryption keys and downloadable products
29
32
 
@@ -68,7 +71,7 @@
68
71
 
69
72
  == 0.0.13
70
73
 
71
- * Jake added WordPress recipe
74
+ * Jake added WordPress recipe
72
75
 
73
76
  == 0.0.12
74
77
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-ash"
8
- s.version = "1.2.2"
8
+ s.version = "1.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["August Ash"]
12
- s.date = "2012-10-11"
12
+ s.date = "2012-11-27"
13
13
  s.description = "August Ash recipes for Capistrano"
14
14
  s.email = "code@augustash.com"
15
15
  s.extra_rdoc_files = [
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
  ]
35
35
  s.homepage = "https://github.com/augustash/capistrano-ash"
36
36
  s.require_paths = ["lib"]
37
- s.rubygems_version = "1.8.23"
37
+ s.rubygems_version = "1.8.24"
38
38
  s.summary = "Useful task libraries for August Ash recipes for Capistrano"
39
39
 
40
40
  if s.respond_to? :specification_version then
data/lib/ash/wordpress.rb CHANGED
@@ -61,10 +61,10 @@ configuration.load do
61
61
  # Wordpress-specific methods
62
62
  # --------------------------------------------
63
63
  namespace :wordpress do
64
- desc "Links the correct settings file"
64
+ desc "Links the correct settings file as well as the uploads and cache directories"
65
65
  task :symlink, :roles => :web, :except => { :no_release => true } do
66
- run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
67
- run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
66
+ run "ln -nfs #{shared_path}/uploads #{latest_release}/#{uploads_path}"
67
+ run "ln -nfs #{shared_path}/cache #{latest_release}/wp-content/cache"
68
68
  symlink_confg
69
69
  end
70
70
 
@@ -99,4 +99,4 @@ configuration.load do
99
99
  end
100
100
  end
101
101
 
102
- end
102
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
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-10-11 00:00:00.000000000 Z
12
+ date: 2012-11-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: August Ash recipes for Capistrano
15
15
  email: code@augustash.com
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 1.8.23
56
+ rubygems_version: 1.8.24
57
57
  signing_key:
58
58
  specification_version: 3
59
59
  summary: Useful task libraries for August Ash recipes for Capistrano