capistrano-wpcli 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -62,10 +62,10 @@ A local temp dir which is read and writeable. Defaults to `/tmp`.
62
62
  You can pass arguments directly to WPCLI using this var. By default it will try to load values from `ENV['WPCLI_ARGS']`.
63
63
 
64
64
  * `set :wpcli_local_uploads_dir`<br/>
65
- Local dir where WP stores the uploads. IMPORTANT: Add trailing slash!
65
+ Local dir where WP stores the uploads. IMPORTANT: Add trailing slash! Optional if using [Bedrock Wordpress Stack](http://roots.io/wordpress-stack/)
66
66
 
67
67
  * `set :wpcli_remote_uploads_dir`<br/>
68
- Remote dir where WP stores the uploads. IMPORTANT: Add trailing slash!
68
+ Remote dir where WP stores the uploads. IMPORTANT: Add trailing slash! Optional if using [Bedrock Wordpress Stack](http://roots.io/wordpress-stack/)
69
69
 
70
70
  ## Contributing
71
71
 
@@ -7,11 +7,11 @@ namespace :load do
7
7
 
8
8
  # Local dir where WP stores the uploads
9
9
  # IMPORTANT: Add trailing slash!
10
- set :wpcli_local_uploads_dir, "wp-content/uploads/"
10
+ set :wpcli_local_uploads_dir, "web/app/uploads/"
11
11
 
12
12
  # Remote dir where WP stores the uploads
13
13
  # IMPORTANT: Add trailing slash!
14
- set :wpcli_remote_uploads_dir, "wp-content/uploads/"
14
+ set :wpcli_remote_uploads_dir, -> {"#{shared_path.to_s}/web/app/uploads/"}
15
15
  end
16
16
  end
17
17
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wpcli
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-wpcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
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: 2014-07-25 00:00:00.000000000 Z
12
+ date: 2014-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano