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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d90f1081fc7aaec443723334fcf71297ad403006
4
- data.tar.gz: e2e7b12e93bc91f0603a96919dd6ff40fa0d77c5
2
+ SHA256:
3
+ metadata.gz: bff5ed912d5b107c27d4568c001bbc0c7f1ad0aa8b7fe05d9e7b54a58cd5c511
4
+ data.tar.gz: 4c8843b7032475bdd1fffec02bfa0bbe5060b74c968886320716a59c92beda20
5
5
  SHA512:
6
- metadata.gz: 34da2852badf17ab982022675137d38a8b8435994392a2d142a3ea89e07db9776f8bc2b1e6c830589d891dec086c142f2b65081bdc0821b6ea8c8b9741e3dd23
7
- data.tar.gz: fcd6f5d290fd9f9f26b443de0d0785edbc88457d5aff054d23b6c67e0fd0e50569827023e8ef250b7371bd0f680961cf19e0d1a321aded6b2881200ac8ccb125
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wearerequired
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  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.1.0
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: 2017-11-02 00:00:00.000000000 Z
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.6.14
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