wp-capistrano3 0.0.37 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/tasks/install_plugins.rake +5 -5
- data/wp-capistrano.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40f206837328d69794d78d494eb166b824cb2b80e0a7f9c332a94353df415eee
|
4
|
+
data.tar.gz: 872356e78f1c74cb4f76adde179111bb2d1dfb27b2ac95684802c3bfd7707d6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bca3c81c216c2da7f276827e35ba2d2b32fbb063d806ea7ec1d1800fce3e950b671aa3d2dbf346dfccc7e80417a1b84e6c0d2df424cc64b55a60ef1a063f52a
|
7
|
+
data.tar.gz: 790e319db40815a549ae574a968fe477a13caa0512ce5d915335076db223e62a0c4f7e7b8ee03f2d78a329952c382754bdbdf672ae44df1c176825416175bba5
|
@@ -52,17 +52,17 @@ namespace "wp-capistrano" do
|
|
52
52
|
|
53
53
|
|
54
54
|
plugins.each do |plugin|
|
55
|
+
if (plugin[:version] == "uninstall")
|
56
|
+
warn "Uninstall pluggin #{plugin[:slug]}"
|
57
|
+
next
|
58
|
+
end
|
59
|
+
|
55
60
|
existingPlugins = capture("/usr/bin/env php #{fetch(:tmp_dir)}/wp-cli.phar plugin search #{plugin[:slug]} --path=#{release_path} --field=slug --per-page=999999")
|
56
61
|
if (existingPlugins.to_s.gsub(/\n/, '|').split("|").include?("#{plugin[:slug]}") == false)
|
57
62
|
warn "Pluggin #{plugin[:slug]} not known in wordpress repository. skip installation"
|
58
63
|
next
|
59
64
|
end
|
60
65
|
|
61
|
-
if (plugin[:version] == "uninstall")
|
62
|
-
warn "Uninstall pluggin #{plugin[:slug]}"
|
63
|
-
next
|
64
|
-
end
|
65
|
-
|
66
66
|
info "install #{plugin[:slug]}:#{plugin[:version]}"
|
67
67
|
if(plugin[:version]) == "latest"
|
68
68
|
execute "/usr/bin/env php #{fetch(:tmp_dir)}/wp-cli.phar plugin install #{plugin[:slug]} --path=#{release_path} --force"
|
data/wp-capistrano.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'wp-capistrano3'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.38'
|
8
8
|
spec.authors = ['Nicolas RENAULT']
|
9
9
|
spec.email = ['nrenault@tangkoko.com']
|
10
10
|
spec.description = %q{Wordpress tasks for Capistrano 3.x}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wp-capistrano3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas RENAULT
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -81,7 +81,7 @@ homepage: https://github.com/nicoren-tangkoko/wp-capistrano
|
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|
84
|
-
post_install_message:
|
84
|
+
post_install_message:
|
85
85
|
rdoc_options: []
|
86
86
|
require_paths:
|
87
87
|
- lib
|
@@ -96,8 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
99
|
+
rubygems_version: 3.3.15
|
100
|
+
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Wordpress tasks for Capistrano 3.x
|
103
103
|
test_files: []
|