capistrano-wpcli 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gemrelease +3 -0
- data/Gemfile.lock +9 -9
- data/capistrano-wpcli.gemspec +4 -4
- data/lib/capistrano/tasks/wpdb.rake +3 -3
- data/lib/capistrano/wpcli/version.rb +1 -1
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a39ba4c80d31494ec4ad6a98b6c734f496a4b29
|
4
|
+
data.tar.gz: 1ed569cab40d7c8e712c1f26888ecc90a88f2729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a2a8523c70b437c2bdce596f85c982edfecdb2a402e03051516a723db9d600eac92f0f98fa2efa93c71bb11fbc11a2d8274877e377ca076f4065c190d69713d
|
7
|
+
data.tar.gz: 5cc8e9adb392f11788e42a9329b471f47e0584fa23d06998173792f34145da11cc6483da5be80abb9358ef83881a7d2964ec63f94083beaf5191a5e1932fc18e
|
data/.gemrelease
ADDED
data/Gemfile.lock
CHANGED
@@ -2,15 +2,15 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
capistrano-wpcli (0.1.3)
|
5
|
-
capistrano (~> 3.6
|
6
|
-
sshkit (~> 1.11
|
5
|
+
capistrano (~> 3.6)
|
6
|
+
sshkit (~> 1.11)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
airbrussh (1.1.
|
11
|
+
airbrussh (1.1.1)
|
12
12
|
sshkit (>= 1.6.1, != 1.7.0)
|
13
|
-
capistrano (3.
|
13
|
+
capistrano (3.7.1)
|
14
14
|
airbrussh (>= 1.0.0)
|
15
15
|
capistrano-harrow
|
16
16
|
i18n
|
@@ -21,8 +21,8 @@ GEM
|
|
21
21
|
net-scp (1.2.1)
|
22
22
|
net-ssh (>= 2.6.5)
|
23
23
|
net-ssh (3.2.0)
|
24
|
-
rake (11.
|
25
|
-
sshkit (1.11.
|
24
|
+
rake (11.3.0)
|
25
|
+
sshkit (1.11.5)
|
26
26
|
net-scp (>= 1.1.2)
|
27
27
|
net-ssh (>= 2.8.0)
|
28
28
|
|
@@ -30,9 +30,9 @@ PLATFORMS
|
|
30
30
|
ruby
|
31
31
|
|
32
32
|
DEPENDENCIES
|
33
|
-
bundler (~> 1.12
|
33
|
+
bundler (~> 1.12)
|
34
34
|
capistrano-wpcli!
|
35
|
-
rake (~> 11.2
|
35
|
+
rake (~> 11.2)
|
36
36
|
|
37
37
|
BUNDLED WITH
|
38
|
-
1.
|
38
|
+
1.13.6
|
data/capistrano-wpcli.gemspec
CHANGED
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'capistrano', '~> 3.6
|
22
|
-
spec.add_dependency 'sshkit', '~> 1.11
|
21
|
+
spec.add_dependency 'capistrano', '~> 3.6'
|
22
|
+
spec.add_dependency 'sshkit', '~> 1.11'
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler", "~> 1.12
|
25
|
-
spec.add_development_dependency "rake", "~> 11.2
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
25
|
+
spec.add_development_dependency "rake", "~> 11.2"
|
26
26
|
|
27
27
|
end
|
@@ -124,7 +124,7 @@ namespace :wpcli do
|
|
124
124
|
on roles(:web) do
|
125
125
|
within release_path do
|
126
126
|
execute :wp, :db, :export, "- |", :gzip, ">", fetch(:wpcli_remote_db_file)
|
127
|
-
download! fetch(:wpcli_remote_db_file),
|
127
|
+
download! fetch(:wpcli_remote_db_file), File.join(fetch(:wpcli_local_db_backup_dir), fetch(:wpcli_local_db_backup_filename))
|
128
128
|
execute :rm, fetch(:wpcli_remote_db_file)
|
129
129
|
end
|
130
130
|
end
|
@@ -134,7 +134,7 @@ namespace :wpcli do
|
|
134
134
|
task :local do
|
135
135
|
run_locally do
|
136
136
|
set :stage, :local
|
137
|
-
execute :wp, :db, :export, "- |", :gzip, ">",
|
137
|
+
execute :wp, :db, :export, "- |", :gzip, ">", File.join(fetch(:wpcli_local_db_backup_dir), fetch(:wpcli_local_db_backup_filename))
|
138
138
|
end
|
139
139
|
end
|
140
140
|
|
@@ -144,4 +144,4 @@ namespace :wpcli do
|
|
144
144
|
|
145
145
|
end
|
146
146
|
end
|
147
|
-
end
|
147
|
+
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.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juancito Arias
|
@@ -9,64 +9,64 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 3.6
|
20
|
+
version: '3.6'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 3.6
|
27
|
+
version: '3.6'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: sshkit
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.11
|
34
|
+
version: '1.11'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.11
|
41
|
+
version: '1.11'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bundler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.12
|
48
|
+
version: '1.12'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.12
|
55
|
+
version: '1.12'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 11.2
|
62
|
+
version: '11.2'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 11.2
|
69
|
+
version: '11.2'
|
70
70
|
description: Capistrano tasks for managing Wordpress
|
71
71
|
email:
|
72
72
|
- trasgofurioso@gmail.com
|
@@ -74,7 +74,8 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- .
|
77
|
+
- ".gemrelease"
|
78
|
+
- ".gitignore"
|
78
79
|
- Gemfile
|
79
80
|
- Gemfile.lock
|
80
81
|
- LICENSE
|
@@ -98,17 +99,17 @@ require_paths:
|
|
98
99
|
- lib
|
99
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
|
-
- -
|
102
|
+
- - ">="
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '0'
|
104
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
106
|
requirements:
|
106
|
-
- -
|
107
|
+
- - ">="
|
107
108
|
- !ruby/object:Gem::Version
|
108
109
|
version: '0'
|
109
110
|
requirements: []
|
110
111
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.5.2
|
112
113
|
signing_key:
|
113
114
|
specification_version: 4
|
114
115
|
summary: Simple Capistrano wrapper around WP-CLI
|