wordmove 3.1.2 → 3.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
2
  SHA1:
3
- metadata.gz: 96d301e52030349a20765766220b192a5ba8b1a2
4
- data.tar.gz: dc73043fc25c4cd01e41f992c82f016459b16655
3
+ metadata.gz: eca9667d877fc36c9f844cda54ca58945a73bfe9
4
+ data.tar.gz: c49609ba53e955b4845de883fc6d65f2a0a1e54d
5
5
  SHA512:
6
- metadata.gz: 28ea78d91e99dda429aefd64e258a297827065995707e506bc90b52ba79f69b861d3e7e4c2710e4bda1ed56a644cd8b18a6adf6ea3759a38f7ea6123506160ce
7
- data.tar.gz: 3a260c1b7fd9b885195722aa19434de3a37f7892b4201b85e736374a2ebcf510973781af760e0f770b4bdde4862aebb4eb909ca9994dd99d5b1d9dec6c84882e
6
+ metadata.gz: f44f599279ba2cdd9e46fa549ab7bad62d3035aa399a2003b376a5b734df25c7e59ab4868297457656e68e4d57cf34e4960445f7f805dd9a79a10b0b5cc32725
7
+ data.tar.gz: 7f7571cd662b255a365249741ca9c0c9ced3a77723390f3e568cb8187920e3c62ac5186f7e0b7abecbee2d0ccf1be9757e3124f2df00cf35745d22df559eea0a
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ spec/examples.txt
18
18
  test/tmp
19
19
  test/version_tmp
20
20
  tmp
21
+ .vs/
data/README.mdown CHANGED
@@ -39,7 +39,6 @@ Wordmove just acts as automation glue bewtween tools you already have and love.
39
39
  | mysqldump | Dump database | Yes |
40
40
  | wp-cli | Adapt database | Yes by defalut, but configurable|
41
41
  | lftp | all | Yes, for FTP connections |
42
- | ssh | all | Yes, for SSH connections |
43
42
 
44
43
  ## Usage
45
44
 
@@ -147,7 +146,9 @@ production:
147
146
  ```
148
147
 
149
148
  **We warmly recommend to read the wiki article [Multiple environments explained
150
- ](https://github.com/welaika/wordmove/wiki/Multiple-environments-explained) if you need multi-stage support, and the wiki article [Movefile configurations explained](https://github.com/welaika/wordmove/wiki/movefile.yml-configurations-explained) to understand about the supported configurations.**
149
+ ](https://github.com/welaika/wordmove/wiki/Multiple-environments-explained) if you need multi-stage support,
150
+ and the wiki article [Movefile configurations explained](https://github.com/welaika/wordmove/wiki/movefile.yml-configurations-explained)
151
+ to understand about the supported configurations.**
151
152
 
152
153
  ## Multistage
153
154
 
@@ -211,7 +212,7 @@ See the [Windows (un)support disclaimer](https://github.com/welaika/wordmove/wik
211
212
  * To use your SSH public key for authentication, just delete the `production.ssh.password` field in your `movefile.yml`. Easy peasy.
212
213
  * writing the password inside `movefile.yml` was and is somewhat supported, but **we discourage this practice** in favor of password-less authentication with pub key. Read [here](https://github.com/welaika/wordmove/wiki/%5Bdeprecated%5D-SSH-password-inside-Movefile) for old informations.
213
214
 
214
- ### FTP
215
+ ### FTP and SFTP
215
216
 
216
217
  * You need to install `lftp` on your machine. See community wiki article: [Install lftp on OSX yosemite](https://github.com/welaika/wordmove/wiki/Install-lftp-on-OSX-yosemite)).
217
218
  * Use the relative FTP path as `production.wordpress_path`
@@ -220,6 +221,9 @@ See the [Windows (un)support disclaimer](https://github.com/welaika/wordmove/wik
220
221
 
221
222
  FTP support development is [discontinued](https://github.com/welaika/wordmove/wiki/FTP-support-disclaimer), but it's always there.
222
223
 
224
+ Sice version 3.2.0 SFTP is fully supported, with same functionalities as FTP, through `production.ftp.scheme`
225
+ configuration. More information found in the wiki.
226
+
223
227
  ## Notes
224
228
 
225
229
  ### Mirroring
@@ -76,6 +76,10 @@ mapping:
76
76
  passive:
77
77
  type: bool
78
78
  scheme:
79
+ type: str
80
+ pattern: /\Aftp\Z|\Aftps\Z|\Asftp\Z/
81
+ port:
82
+ type: int
79
83
  hooks:
80
84
  type: map
81
85
  mapping:
@@ -65,7 +65,8 @@ production:
65
65
  # password: password
66
66
  # host: host
67
67
  # passive: true
68
- # scheme: ftps # default ftp
68
+ # port: 21 # Port is optional
69
+ # scheme: ftps # default `ftp`. alternative `sftp`
69
70
 
70
71
  # hooks: # Remote hooks won't work with FTP
71
72
  # push:
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "3.1.2".freeze
2
+ VERSION = "3.2.0".freeze
3
3
  end
data/wordmove.gemspec CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.add_runtime_dependency "colorize", "~> 0.8.1"
34
34
  spec.add_runtime_dependency "dotenv", "~> 2.2.1"
35
35
  spec.add_runtime_dependency "kwalify", "~> 0"
36
- spec.add_runtime_dependency "photocopier", "~> 1.2", ">= 1.2.0"
36
+ spec.add_runtime_dependency "photocopier", "~> 1.3", ">= 1.3.0"
37
37
  spec.add_runtime_dependency "thor", "~> 0.19.4"
38
38
 
39
39
  spec.required_ruby_version = ">= 2.4.0"
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: 3.1.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2018-06-06 00:00:00.000000000 Z
15
+ date: 2018-08-01 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport
@@ -82,20 +82,20 @@ dependencies:
82
82
  requirements:
83
83
  - - "~>"
84
84
  - !ruby/object:Gem::Version
85
- version: '1.2'
85
+ version: '1.3'
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 1.2.0
88
+ version: 1.3.0
89
89
  type: :runtime
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '1.2'
95
+ version: '1.3'
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: 1.2.0
98
+ version: 1.3.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: thor
101
101
  requirement: !ruby/object:Gem::Requirement