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 +2 -2
- data/lib/capistrano/tasks/wpuploads.rake +2 -2
- data/lib/capistrano/wpcli/version.rb +1 -1
- metadata +2 -2
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, "
|
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, "
|
14
|
+
set :wpcli_remote_uploads_dir, -> {"#{shared_path.to_s}/web/app/uploads/"}
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
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.
|
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-
|
12
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|