wordmove 1.3.0 → 1.4.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.mdown +1 -1
- data/lib/wordmove/cli.rb +2 -1
- data/lib/wordmove/deployer/base.rb +2 -1
- data/lib/wordmove/generators/Movefile +1 -1
- data/lib/wordmove/version.rb +1 -1
- data/lib/wordmove/wordpress_directory.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cba31ce7dc0561ee15b0d6b537a8dd96b2d55e81
|
4
|
+
data.tar.gz: 6a66c7b6a6dbb57f278ba1f18459bcb11ccdf336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ab2d4b74f6172f6c38dd3c950a204cf64a133a2b4c62762765eb821cbeaa35f8a8bc604e268e7a784e056915dd4bf3464f055976cb5a0b873e6e036f1b87881
|
7
|
+
data.tar.gz: 8217bd61de24f5154a480253a0295077289ad67aa68d8f2cf3ca2d39a67143de68f0711d940cf3be461758bba557b91c4661f92629d66d9d7f9dbc108d57feae
|
data/README.mdown
CHANGED
@@ -86,6 +86,7 @@ staging:
|
|
86
86
|
# wp_content: "wp-content"
|
87
87
|
# uploads: "wp-content/uploads"
|
88
88
|
# plugins: "wp-content/plugins"
|
89
|
+
# mu_plugins: "wp-content/mu-plugins"
|
89
90
|
# themes: "wp-content/themes"
|
90
91
|
# languages: "wp-content/languages"
|
91
92
|
# themes: "wp-content/themes"
|
@@ -180,4 +181,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
180
181
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
181
182
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
182
183
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
183
|
-
|
data/lib/wordmove/cli.rb
CHANGED
@@ -17,6 +17,7 @@ module Wordmove
|
|
17
17
|
uploads: { aliases: "-u", type: :boolean },
|
18
18
|
themes: { aliases: "-t", type: :boolean },
|
19
19
|
plugins: { aliases: "-p", type: :boolean },
|
20
|
+
mu_plugins: { aliases: "-m", type: :boolean },
|
20
21
|
languages: { aliases: "-l", type: :boolean },
|
21
22
|
db: { aliases: "-d", type: :boolean },
|
22
23
|
|
@@ -31,7 +32,7 @@ module Wordmove
|
|
31
32
|
|
32
33
|
no_tasks do
|
33
34
|
def handle_options(options)
|
34
|
-
%w(wordpress uploads themes plugins languages db).map(&:to_sym).each do |task|
|
35
|
+
%w(wordpress uploads themes plugins mu_plugins languages db).map(&:to_sym).each do |task|
|
35
36
|
if options[task] || options[:all]
|
36
37
|
yield task
|
37
38
|
end
|
@@ -81,7 +81,7 @@ module Wordmove
|
|
81
81
|
def remote_get_directory(directory); end
|
82
82
|
def remote_put_directory(directory); end
|
83
83
|
|
84
|
-
%w(uploads themes plugins languages).each do |task|
|
84
|
+
%w(uploads themes plugins mu_plugins languages).each do |task|
|
85
85
|
define_method "push_#{task}" do
|
86
86
|
logger.task "Pushing #{task.titleize}"
|
87
87
|
local_path = send("local_#{task}_dir").path
|
@@ -152,6 +152,7 @@ module Wordmove
|
|
152
152
|
|
153
153
|
[ WordpressDirectory::PATH::WP_CONTENT,
|
154
154
|
WordpressDirectory::PATH::PLUGINS,
|
155
|
+
WordpressDirectory::PATH::MU_PLUGINS,
|
155
156
|
WordpressDirectory::PATH::THEMES,
|
156
157
|
WordpressDirectory::PATH::UPLOADS,
|
157
158
|
WordpressDirectory::PATH::LANGUAGES
|
@@ -35,6 +35,7 @@ staging:
|
|
35
35
|
# wp_content: "wp-content"
|
36
36
|
# uploads: "wp-content/uploads"
|
37
37
|
# plugins: "wp-content/plugins"
|
38
|
+
# mu_plugins: "wp-content/mu-plugins"
|
38
39
|
# themes: "wp-content/themes"
|
39
40
|
# languages: "wp-content/languages"
|
40
41
|
# themes: "wp-content/themes"
|
@@ -58,4 +59,3 @@ staging:
|
|
58
59
|
|
59
60
|
# production: # multiple environments can be specified
|
60
61
|
# [...]
|
61
|
-
|
data/lib/wordmove/version.rb
CHANGED
@@ -4,6 +4,7 @@ class WordpressDirectory < Struct.new(:type, :options)
|
|
4
4
|
WP_CONTENT = :wp_content
|
5
5
|
WP_CONFIG = :wp_config
|
6
6
|
PLUGINS = :plugins
|
7
|
+
MU_PLUGINS = :mu_plugins
|
7
8
|
THEMES = :themes
|
8
9
|
UPLOADS = :uploads
|
9
10
|
LANGUAGES = :languages
|
@@ -13,6 +14,7 @@ class WordpressDirectory < Struct.new(:type, :options)
|
|
13
14
|
PATH::WP_CONTENT => 'wp-content',
|
14
15
|
PATH::WP_CONFIG => 'wp-config.php',
|
15
16
|
PATH::PLUGINS => 'wp-content/plugins',
|
17
|
+
PATH::MU_PLUGINS => 'wp-content/mu-plugins',
|
16
18
|
PATH::THEMES => 'wp-content/themes',
|
17
19
|
PATH::UPLOADS => 'wp-content/uploads',
|
18
20
|
PATH::LANGUAGES => 'wp-content/languages'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordmove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
@@ -212,9 +212,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
212
|
version: '2.0'
|
213
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- - "
|
215
|
+
- - ">"
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
version:
|
217
|
+
version: 1.3.1
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project:
|
220
220
|
rubygems_version: 2.4.5
|