wordmove 2.0.2 → 2.1.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: 3a762955f39ede9419fff7731b293f7821981dfd
4
- data.tar.gz: 996483c5f5ca2a2393106ef30fcc1061ac8657aa
3
+ metadata.gz: 795b9483a40c9259876d61fb3f33fa0164c96c5d
4
+ data.tar.gz: 776c71b90edc6b78ae894bcbb844359f8e3f0dde
5
5
  SHA512:
6
- metadata.gz: fb55e548be080e8775521c7bde3590115f6955f41a9607642bbbf3258755801bec0cf63a6f04565682c2989c897ca12b35bae7aa913065a6abef2bbe503c71c0
7
- data.tar.gz: 502a3c0b92309ecc3ca64eaf514446303d60634c944574a0d85a940f6795980f09dde17ff80bea671b2897bd0dea9be5f15fdabba1b85ba08ea7e74036663377
6
+ metadata.gz: c597d1b741d9b70b4b72a25929376c6f7fa7b8b52c6cb295186ff49d100d8cd9957785bb73e0d49bccd2712ba067029de6b3a6607a92424da81fe1ca9be7c571
7
+ data.tar.gz: 730be2139371bae5d8999dbfb15063e1f07b4da8f22b63cbb1d5c49d5d4c11580f15ed514c60a065a46c23a58c7849fa1d970e7e073348e1c2605647c1573829
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  Rails:
2
- Enabled: true
2
+ Enabled: false
3
3
 
4
4
  Rails/Output:
5
5
  Enabled: false
@@ -21,9 +21,18 @@ Metrics/MethodLength:
21
21
  Metrics/ClassLength:
22
22
  Max: 200
23
23
 
24
+ Metrics/BlockLength:
25
+ Exclude:
26
+ - 'spec/**/*_spec.rb'
27
+ - 'spec/factories/*.rb'
28
+ - '*.gemspec'
29
+
24
30
  Metrics/CyclomaticComplexity:
25
31
  Max: 10
26
32
 
33
+ Metrics/PerceivedComplexity:
34
+ Max: 10
35
+
27
36
  Style/StringLiterals:
28
37
  Enabled: false
29
38
  EnforcedStyle: double_quotes
data/.travis.yml CHANGED
@@ -1,6 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.7
5
- - 2.2.3
6
- - 2.3.0
3
+ - 2.4.1
@@ -0,0 +1,73 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Debug Local File",
6
+ "type": "Ruby",
7
+ "request": "launch",
8
+ "cwd": "${workspaceRoot}",
9
+ "program": "${workspaceRoot}/main.rb"
10
+ },
11
+ {
12
+ "name": "Listen for rdebug-ide",
13
+ "type": "Ruby",
14
+ "request": "attach",
15
+ "cwd": "${workspaceRoot}",
16
+ "remoteHost": "127.0.0.1",
17
+ "remotePort": "1234",
18
+ "remoteWorkspaceRoot": "${workspaceRoot}"
19
+ },
20
+ {
21
+ "name": "Rails server",
22
+ "type": "Ruby",
23
+ "request": "launch",
24
+ "cwd": "${workspaceRoot}",
25
+ "program": "${workspaceRoot}/bin/rails",
26
+ "args": [
27
+ "server"
28
+ ]
29
+ },
30
+ {
31
+ "name": "RSpec - all",
32
+ "type": "Ruby",
33
+ "request": "launch",
34
+ "cwd": "${workspaceRoot}",
35
+ "program": "${workspaceRoot}/bin/rspec",
36
+ "args": [
37
+ "-I",
38
+ "${workspaceRoot}"
39
+ ]
40
+ },
41
+ {
42
+ "name": "RSpec - active spec file only",
43
+ "type": "Ruby",
44
+ "request": "launch",
45
+ "cwd": "${workspaceRoot}",
46
+ "program": "${workspaceRoot}/bin/rspec",
47
+ "args": [
48
+ "-I",
49
+ "${workspaceRoot}",
50
+ "${file}"
51
+ ]
52
+ },
53
+ {
54
+ "name": "RSpec - active test only",
55
+ "type": "Ruby",
56
+ "request": "launch",
57
+ "cwd": "${workspaceRoot}",
58
+ "program": "${workspaceRoot}/bin/rspec",
59
+ "args": [
60
+ "-I",
61
+ "${workspaceRoot}",
62
+ "${file}:${lineNumber}"
63
+ ]
64
+ },
65
+ {
66
+ "name": "Cucumber",
67
+ "type": "Ruby",
68
+ "request": "launch",
69
+ "cwd": "${workspaceRoot}",
70
+ "program": "${workspaceRoot}/bin/cucumber"
71
+ }
72
+ ]
73
+ }
data/README.mdown CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Wordmove is a gem that lets you automatically mirror local Wordpress
6
6
  installations and DB data back and forth from your local development machine to
7
- the remote staging server.
7
+ the remote server.
8
8
 
9
9
  **SSH** connections are fully supported, while [FTP support is planned to be discontinued](https://github.com/welaika/wordmove/wiki/FTP-support-disclaimer) when new features will be introduced.
10
10
 
@@ -22,6 +22,19 @@ gem install wordmove
22
22
  ```
23
23
 
24
24
 
25
+
26
+ ## Peer dependencies
27
+
28
+ Wordmove just acts as automation glue bewtween tools you already have and love. These are its peer dependencies which you need to have installed and in your $PATH:
29
+
30
+ | Program | Actions | Mandatory? |
31
+ | ------- | ---------------------------- | ------------------------------- |
32
+ | rsync | Push and pull files and dirs | Yes for SSH connections |
33
+ | mysql | Import and dump database | Yes |
34
+ | wp-cli | DB adapt | Nope: experimental and optional |
35
+ | lftp | all | Yes, for FTP connections |
36
+ | ssh | all | Yes, for SSH connections |
37
+
25
38
  ## Usage
26
39
 
27
40
  ```
@@ -35,7 +48,7 @@ Tasks:
35
48
 
36
49
  Move inside the Wordpress folder and use `wordmove init` to generate a new `Movefile` and edit it with your settings. Read the next paragraph for more info.
37
50
 
38
- See the wiki article: [Usage and flags explained](https://github.com/welaika/wordmove/wiki/Usage-and-flags-explained) for more info.
51
+ **See the wiki article: [Usage and flags explained](https://github.com/welaika/wordmove/wiki/Usage-and-flags-explained) for more info.**
39
52
 
40
53
  ### Screencasts
41
54
 
@@ -48,6 +61,9 @@ See the wiki article: [Usage and flags explained](https://github.com/welaika/wor
48
61
  You can configure Wordmove creating a `Movefile`. That's just a YAML file with local and remote host infos:
49
62
 
50
63
  ```
64
+ global:
65
+ sql_adapter: "default"
66
+
51
67
  local:
52
68
  vhost: "http://vhost.local"
53
69
  wordpress_path: "/home/john/sites/your_site" # use an absolute path here
@@ -93,8 +109,8 @@ production:
93
109
  user: "user"
94
110
  ```
95
111
 
96
- We warmly **recommend** to read the wiki article [Multiple environments explained
97
- ](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-configurations-explained) to understand about the supported configurations.
112
+ **We warmly recommend to read the wiki article [Multiple environments explained**
113
+ **](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-configurations-explained) to understand about the supported configurations.**
98
114
 
99
115
  ## Supports
100
116
 
@@ -108,7 +124,7 @@ See the [Windows (un)support disclaimer](https://github.com/welaika/wordmove/wik
108
124
 
109
125
  * You need `rsync` on your machine; as far as we know it's already installed on OS X and Linux.
110
126
  * if you want to use your SSH public key for authentication,just delete the `production.ssh.password` field in your `Movefile`. Easy peasy.
111
- * writing the password inside the move file 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.
127
+ * writing the password inside the move file 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.
112
128
 
113
129
  ### FTP
114
130