wordmove 1.0.17 → 1.0.18

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
2
  SHA1:
3
- metadata.gz: 3549f4e13c24fbfd6f30be7c4f650a44dae08dc3
4
- data.tar.gz: 3ee7a9de50b488a2189835bdf3177f025e50f0e0
3
+ metadata.gz: 14c7b261ad61d661daceed111e134f9cd2231476
4
+ data.tar.gz: 8c2b90fb373c8c3447bd96e82d6e53a029a59a45
5
5
  SHA512:
6
- metadata.gz: a034638d676c4d72b98167d84fbab7d9f1e85d425cf44e5832ee1c9fcf71f66601d8f96f54276c3da73b5ba6eb99b00b3c868978cdaaae3368de632f67aab36f
7
- data.tar.gz: 964e781bdda6cb3258b43f4fc5a5aa7c37f6085f33adb711deebb5d4a07db0af60e3401047c95ed009b5fd1da8a1802d37c5ae188bac6d126ab1afa1e8244764
6
+ metadata.gz: d85795c02430c433707e8df4ee6ece447508250436469da93ea91425782e9c83181a865171f43446314c24ca9c59bb3fe1ae9fe2917cdc8c83b7d86a20338ca3
7
+ data.tar.gz: 5c5b29973ab30ad6ed3405c1c5008fd565bb8c1315b1b372f8e7f80b6aff73dc4fbe85a4566efa44cbabe65fbc6662b072ab139b19dbaf3c35bbf99486b93e71
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wordmove (1.0.17)
4
+ wordmove (1.0.18)
5
5
  activesupport
6
6
  colored
7
7
  i18n
@@ -24,7 +24,7 @@ GEM
24
24
  escape (0.0.4)
25
25
  i18n (0.6.5)
26
26
  minitest (4.7.5)
27
- multi_json (1.7.9)
27
+ multi_json (1.8.0)
28
28
  net-scp (1.1.2)
29
29
  net-ssh (>= 2.6.5)
30
30
  net-ssh (2.6.8)
data/README.mdown CHANGED
@@ -8,6 +8,12 @@ Think of it like Capistrano for Wordpress, complete with push/pull capabilities.
8
8
 
9
9
  [![Build Status](https://travis-ci.org/welaika/wordmove.png?branch=master)](https://travis-ci.org/welaika/wordmove)
10
10
 
11
+ ## Screencasts
12
+
13
+ * Push all WordPress, including database and uploads: http://vimeo.com/74648079
14
+ * Pull database and uploads, adapting paths and urls: http://vimeo.com/74646861
15
+ * Push only theme, transfer only modified files: http://vimeo.com/74647529
16
+
11
17
  ## Installation
12
18
 
13
19
  That's easy:
@@ -63,14 +69,15 @@ staging:
63
69
  host: "host"
64
70
 
65
71
  exclude:
66
- - ".sass-cache"
67
- - ".git"
68
- - "bin"
72
+ - ".git/"
73
+ - ".gitignore"
74
+ - ".sass-cache/"
75
+ - "bin/"
69
76
  - "tmp/*"
70
- - "wp-content/*.sql"
71
77
  - "Gemfile*"
72
78
  - "Movefile"
73
79
  - "wp-config.php"
80
+ - "wp-content/*.sql"
74
81
 
75
82
  # paths: # you can customize wordpress internal paths
76
83
  # wp_content: "wp-content"
@@ -101,12 +108,28 @@ staging:
101
108
  # [...]
102
109
  ```
103
110
 
104
- ### If you have your local SSH public key already installed on the remote machine.. (recommended)
105
- Just not use the `remote.ssh.password` field on your `Movefile`. Easy peasy.
111
+ ## SSH support
112
+
113
+ In order for wordmove to work with SSH, you need to install `rsync` on your
114
+ machine.
115
+
116
+ ### If you want to use your SSH public key for authentication
117
+ Just delete the `remote.ssh.password` field in your `Movefile`. Easy peasy.
106
118
 
107
119
  ### If you want to specify SSH password on the Movefile
108
120
  Please take a look at the various gotchas of the underlying [`photocopier` gem](https://github.com/welaika/photocopier#password-gotchas).
109
121
 
122
+ ## FTP support
123
+
124
+ In order for wordmove to work with FTP, you need to install `lftp` on your
125
+ machine. Then in the remote host section in your Movefile:
126
+
127
+ * Use the relative FTP path as `wordpress_path`
128
+ * Use the absolute FTP path as `wordpress_absolute_path` (you may need to recover this from the `__FILE__` constant)
129
+
130
+ ### If you want to specify a passive FTP connection
131
+ Add to the YAML config a `passive` flag set to `true`.
132
+
110
133
  ### How the heck you are able to sync the DB via FTP?
111
134
  We're glad you asked! We basically upload via FTP a PHP script that performs the various
112
135
  import/export operations. This script then gets executed via HTTP. Don't worry
@@ -114,13 +137,7 @@ too much about security though: the script is deleted just after the usage,
114
137
  and can only be executed by `wordmove`, as each time it requires a pre-shared
115
138
  one-time-password to be run.
116
139
 
117
- ### If you want to specify both relative and absolute wordpress path (FTP relative paths anyone?)
118
- Just add in the remote section of the Movefile a `wordpress_absolute_path` field
119
- specifying the absolute path (you may need to recover this from the `__FILE__` constant),
120
- while using `wordpress_path` for the relative folder path.
121
-
122
- ### If you want to specify a passive FTP connection
123
- Add to the YAML config a `passive` flag set to `true`.
140
+ ## Credits
124
141
 
125
142
  * The dump script is the [`MYSQL-dump` PHP package](https://github.com/dg/MySQL-dump) by David Grudl;
126
143
  * The import script used is the [BigDump](http://www.ozerov.de/bigdump/) library;
@@ -131,9 +148,20 @@ Add to the YAML config a `passive` flag set to `true`.
131
148
 
132
149
  Copyright © 2013 weLaika
133
150
 
134
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
135
-
136
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
137
-
138
- THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
151
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
152
+ this software and associated documentation files (the ‘Software’), to deal in
153
+ the Software without restriction, including without limitation the rights to
154
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
155
+ the Software, and to permit persons to whom the Software is furnished to do so,
156
+ subject to the following conditions:
157
+
158
+ The above copyright notice and this permission notice shall be included in all
159
+ copies or substantial portions of the Software.
160
+
161
+ THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
162
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
163
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
164
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
165
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
166
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
139
167
 
@@ -19,14 +19,15 @@ staging:
19
19
  host: "host"
20
20
 
21
21
  exclude:
22
- - ".sass-cache"
23
- - ".git"
24
- - "bin"
22
+ - ".git/"
23
+ - ".gitignore"
24
+ - ".sass-cache/"
25
+ - "bin/"
25
26
  - "tmp/*"
26
- - "wp-content/*.sql"
27
27
  - "Gemfile*"
28
28
  - "Movefile"
29
29
  - "wp-config.php"
30
+ - "wp-content/*.sql"
30
31
 
31
32
  # paths: # you can customize wordpress internal paths
32
33
  # wp_content: "wp-content"
@@ -1,4 +1,4 @@
1
1
  module Wordmove
2
- VERSION = "1.0.17"
2
+ VERSION = "1.0.18"
3
3
  end
4
4
 
data/wordmove.gemspec CHANGED
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{Wordmove deploys your WordPress websites at the speed of light.}
8
8
  gem.summary = %q{Wordmove, Capistrano for Wordpress}
9
9
  gem.homepage = "https://github.com/welaika/wordmove"
10
+ gem.license = "MIT"
10
11
 
11
12
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
13
  gem.files = `git ls-files`.split("\n")
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.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-30 00:00:00.000000000 Z
12
+ date: 2013-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored
@@ -150,7 +150,8 @@ files:
150
150
  - spec/sql_mover_spec.rb
151
151
  - wordmove.gemspec
152
152
  homepage: https://github.com/welaika/wordmove
153
- licenses: []
153
+ licenses:
154
+ - MIT
154
155
  metadata: {}
155
156
  post_install_message: |2+
156
157
 
@@ -185,3 +186,4 @@ test_files:
185
186
  - spec/fixtures/Movefile
186
187
  - spec/spec_helper.rb
187
188
  - spec/sql_mover_spec.rb
189
+ has_rdoc: