capistrano-wpcli 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-wpcli (0.0.1)
4
+ capistrano-wpcli (0.0.2)
5
5
  capistrano (>= 3.0)
6
+ dotenv
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -12,6 +13,9 @@ GEM
12
13
  rake (>= 10.0.0)
13
14
  sshkit (~> 1.3)
14
15
  colorize (0.7.3)
16
+ dotenv (0.11.1)
17
+ dotenv-deployment (~> 0.0.2)
18
+ dotenv-deployment (0.0.2)
15
19
  i18n (0.6.9)
16
20
  net-scp (1.2.1)
17
21
  net-ssh (>= 2.6.5)
data/README.md CHANGED
@@ -37,7 +37,7 @@ Pulls the remote server WP database to local and replaces the urls.
37
37
 
38
38
  ### Configuration
39
39
 
40
- This plugin needs some configuration to work properly. It will try to load these configuration from the env vars. To do so all you need to do is put the following in `.env` file:
40
+ This plugin needs some configuration to work properly. It will try to load these configurations from the env vars. To do so all you need to do is put the following in `.env` file:
41
41
 
42
42
  WP_APP_NAME=example
43
43
  WP_HOME=http://example.dev
@@ -56,6 +56,12 @@ Url of the Wordpress root installation on the remote server (used by search-repl
56
56
  * `set :local_url`<br/>
57
57
  Url of the Wordpress root installation on the local server (used by search-replace command).
58
58
 
59
+ * `set :remote_tmp_dir`<br/>
60
+ A temp dir on the remote server which is read and writeable by the capistrano deploy user. Defaults to `/tmp`.
61
+
62
+ * `set :local_tmp_dir`<br/>
63
+ A local temp dir which is read and writeable. Defaults to `/tmp`.
64
+
59
65
  ## Contributing
60
66
 
61
67
  1. Fork it ( https://github.com/lavmeiker/capistrano-wpcli/fork )
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency 'capistrano', '>= 3.0'
22
+ spec.add_dependency 'dotenv'
22
23
 
23
24
  spec.add_development_dependency "bundler", "~> 1.6"
24
25
  spec.add_development_dependency "rake"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wpcli
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: dotenv
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: bundler
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -94,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
110
  version: '0'
95
111
  segments:
96
112
  - 0
97
- hash: 2580052462737984893
113
+ hash: 3608175918401034373
98
114
  required_rubygems_version: !ruby/object:Gem::Requirement
99
115
  none: false
100
116
  requirements:
@@ -103,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
119
  version: '0'
104
120
  segments:
105
121
  - 0
106
- hash: 2580052462737984893
122
+ hash: 3608175918401034373
107
123
  requirements: []
108
124
  rubyforge_project:
109
125
  rubygems_version: 1.8.23