capistrano-wearerequired 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +6 -1
- data/lib/capistrano/wearerequired/tasks/wordpress.rake +4 -0
- data/lib/capistrano/wearerequired/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bff5ed912d5b107c27d4568c001bbc0c7f1ad0aa8b7fe05d9e7b54a58cd5c511
|
4
|
+
data.tar.gz: 4c8843b7032475bdd1fffec02bfa0bbe5060b74c968886320716a59c92beda20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89f3c6c0bf458c9b404eb6b3d4c6baf04320379638f867a2a661108a376ed9ee5372bb8c0e1eb17ef4aa7ebfc9122b01affe2e48a82ac56c1908075abe967cc3
|
7
|
+
data.tar.gz: f769d29e87e85baf3a3559e054ddf88a16c64be83b3faaf8f19a47220395b966442ef34a9f768cb853384547de74a7f2cedb5ffecddb7fc3b5f0b99dc7bc1b61
|
data/README.md
CHANGED
@@ -115,9 +115,14 @@ cap staging wordpress:clear_opcache
|
|
115
115
|
|
116
116
|
## Changelog
|
117
117
|
|
118
|
+
### 1.2.0
|
119
|
+
|
120
|
+
* Support WP-CLI 2.0.0 and newer
|
121
|
+
In WP-CLI 2.0.0 the `wp language plugin` and `wp language theme` commands were introduced.
|
122
|
+
|
118
123
|
### 1.1.0
|
119
124
|
|
120
|
-
* Support WP-CLI 1.2.0 and newer
|
125
|
+
* Support WP-CLI 1.2.0 and newer
|
121
126
|
In WP-CLI v1.2.0 the `wp core language` command was changed to `wp language core`.
|
122
127
|
* Get deployer's name from Git config in `SlackistranoMessagingElements`
|
123
128
|
|
@@ -10,6 +10,8 @@ namespace :wordpress do
|
|
10
10
|
within release_path do
|
11
11
|
fetch(:wp_languages).each do |language|
|
12
12
|
execute :wp, "language core install #{language}"
|
13
|
+
execute :wp, "plugin list --field=name | xargs -I % wp language plugin install % #{language}"
|
14
|
+
execute :wp, "theme list --field=name | xargs -I % wp language theme install % #{language}"
|
13
15
|
end
|
14
16
|
end
|
15
17
|
end
|
@@ -24,6 +26,8 @@ namespace :wordpress do
|
|
24
26
|
on roles(:app) do
|
25
27
|
within release_path do
|
26
28
|
execute :wp, "language core update"
|
29
|
+
execute :wp, "language plugin update --all"
|
30
|
+
execute :wp, "language theme update --all"
|
27
31
|
end
|
28
32
|
end
|
29
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-wearerequired
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wearerequired
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2018-09-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: capistrano
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.7.5
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Recipes for Capistrano used by required gmbh
|