theme-juice 0.20.10 → 0.21.1

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: 48e428c8245b5e2de260f54ce52cb99540a7dc92
4
- data.tar.gz: c61120e63c942cbd65a7f4087ca08b4ba7604f78
3
+ metadata.gz: 666e00c9b2d0d0a81fed922d0b12c2fc9a0e7e6f
4
+ data.tar.gz: 480f193d3ef55de7cdab07dfb3dfea47826cbaeb
5
5
  SHA512:
6
- metadata.gz: acfc6030823d94812f2f2d29699012159d22abae453c58fbd76880efc6d0d083a96ab83a7acedd120b653658995b492b209f32e74fef824bd0ed0fe632a51c58
7
- data.tar.gz: c779ce4cdd180234ba9a7504d287d1900aa80166205ea5bd5f626527c141cc1c520681d84156e58d99e6b920705a225668ae4d52c73898e2483bdba5b6539297
6
+ metadata.gz: 2ca716d45416e22f9239c24869f37ec42a4bf1ff931fef111a2785e5dc7b9245bf98129526fa7671d13b01979b7a7ca088634143c6f7b220685fa3e2d08b08fb
7
+ data.tar.gz: d338bc871ea97449c27d5f27200ebd4f43aa83bd79901f6ee627032aeede498df0fb4f1408051ac10339d061da1db166f56669e8aaaeaff15f113753d5ad76a2
@@ -1,7 +1,7 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
1
+ .\" generated with Ronn/v0.7.0
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.0
3
3
  .
4
- .TH "TJ" "1" "January 2016" "" "Theme Juice Manual"
4
+ .TH "TJ" "1" "December 2015" "" "Theme Juice Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBtj\fR \- WordPress development made easy
@@ -28,7 +28,7 @@ Force IP address of VM*
28
28
  Force directory prefix for project in VM*
29
29
  .
30
30
  .TP
31
- \fB\-\-yolo\fR, \fB\-\-yes\fR
31
+ \fB\-\-yolo\fR
32
32
  Say yes to anything and everything, and maybe even get a few surprises
33
33
  .
34
34
  .TP
@@ -48,10 +48,6 @@ Prints all output without color
48
48
  Prints all output without animations**
49
49
  .
50
50
  .TP
51
- \fB\-\-robot\fR
52
- Prints all output with absolutely no formatting
53
- .
54
- .TP
55
51
  \fB\-\-no\-landrush\fR
56
52
  Disable the landrush(1) gem for managing DNS*
57
53
  .
@@ -115,10 +111,6 @@ Deploy and manage a project
115
111
  Print the current version
116
112
  .
117
113
  .TP
118
- \fBenv\fR, \fB\-\-env\fR=[\fIproperty\fR]
119
- Print environment properties
120
- .
121
- .TP
122
114
  \fBlist\fR, \fBls\fR, \fBprojects\fR, \fBapps\fR, \fBsites\fR
123
115
  List all projects
124
116
  .
@@ -1,7 +1,7 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
1
+ .\" generated with Ronn/v0.7.0
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.0
3
3
  .
4
- .TH "TJ\-CREATE" "1" "February 2016" "" "Theme Juice Manual"
4
+ .TH "TJ\-CREATE" "1" "December 2015" "" "Theme Juice Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBtj\-create\fR \- Create a new project
@@ -91,26 +91,6 @@ Skip all prompts and use default settings
91
91
  Project is not a wordpress(7) install
92
92
  .
93
93
  .TP
94
- \fB\-\-no\-wp\-cli\fR, \fB\-\-no\-wp\-cli\-config\fR
95
- Skip creating the local wp\-cli(1) config file
96
- .
97
- .TP
98
94
  \fB\-\-no\-db\fR
99
95
  Project does not need a database
100
- .
101
- .TP
102
- \fB\-\-no\-env\fR
103
- Project does not need a \fB\.env\fR file
104
- .
105
- .TP
106
- \fB\-\-no\-provision\fR, \fB\-\-no\-restart\fR
107
- Do not provision VM after create(1)
108
- .
109
- .TP
110
- \fB\-\-no\-config\fR, \fB\-\-no\-juicefile\fR
111
- Project does not have a Juicefile(5) config
112
- .
113
- .TP
114
- \fB\-\-modify\-wp\-config\fR, \fB\-\-wp\-config\-modify\fR
115
- Modify \fBwp\-config\.php\fR file contents with project configuration (this flag automatically disables the \fB\.env\fR file when used)
116
96
 
@@ -73,26 +73,10 @@ GLOBAL OPTIONS
73
73
  --no-wp
74
74
  Project is not a wordpress(7) install
75
75
 
76
- --no-wp-cli, --no-wp-cli-config
77
- Skip creating the local wp-cli(1) config file
78
-
79
76
  --no-db
80
77
  Project does not need a database
81
78
 
82
- --no-env
83
- Project does not need a .env file
84
-
85
- --no-provision, --no-restart
86
- Do not provision VM after create(1)
87
-
88
- --no-config, --no-juicefile
89
- Project does not have a Juicefile(5) config
90
-
91
- --modify-wp-config, --wp-config-modify
92
- Modify wp-config.php file contents with project configuration
93
- (this flag automatically disables the .env file when used)
94
-
95
79
 
96
80
 
97
81
 
98
- February 2016 TJ-CREATE(1)
82
+ December 2015 TJ-CREATE(1)
@@ -1,5 +1,5 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
1
+ .\" generated with Ronn/v0.7.0
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.0
3
3
  .
4
4
  .TH "TJ\-DELETE" "1" "December 2015" "" "Theme Juice Manual"
5
5
  .
@@ -1,7 +1,7 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
1
+ .\" generated with Ronn/v0.7.0
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.0
3
3
  .
4
- .TH "TJ\-DEPLOY" "1" "January 2016" "" "Theme Juice Manual"
4
+ .TH "TJ\-DEPLOY" "1" "December 2015" "" "Theme Juice Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBtj\-deploy\fR \- Deploy a project
@@ -12,9 +12,6 @@
12
12
  .SH "DESCRIPTION"
13
13
  Deploys a project to the passed \fBstage\fR\. All commands are transformed and then piped directly to capistrano(1) to handle deployment\.
14
14
  .
15
- .SH "REQUIREMENTS"
16
- The \fBremote\fR that is being deployed to needs to have wp\-cli(1) installed in order for tj(1) to be able to handle database migration\.
17
- .
18
15
  .SH "SETUP"
19
16
  Follow these steps to quickly get up and running:
20
17
  .
@@ -22,7 +19,7 @@ Follow these steps to quickly get up and running:
22
19
  Create a \fBdeploy\fR user on the \fBstage\fR server
23
20
  .
24
21
  .IP "2." 4
25
- Set up SSH keys for the new \fBdeploy\fR user to SSH in without a password
22
+ Create SSH keys for the new \fBdeploy\fR user
26
23
  .
27
24
  .IP "3." 4
28
25
  Confirm the \fBdeploy\fR user owns the deploy path
@@ -38,10 +35,6 @@ Deploy!
38
35
  .SH "GLOBAL OPTIONS"
39
36
  .
40
37
  .TP
41
- \fB\-b\fR, \fB\-\-branch\fR=\fIbranch\fR
42
- Use an alternate git(1) branch for current deployment
43
- .
44
- .TP
45
38
  \fB\-\-archive\fR, \fB\-\-tar\fR, \fB\-\-gzip\fR, \fB\-\-zip\fR
46
39
  Archive directories with tar(1) when performing file transfers
47
40
  .
@@ -12,17 +12,12 @@ DESCRIPTION
12
12
  Deploys a project to the passed stage. All commands are transformed and
13
13
  then piped directly to capistrano(1) to handle deployment.
14
14
 
15
- REQUIREMENTS
16
- The remote that is being deployed to needs to have wp-cli(1) installed
17
- in order for tj(1) to be able to handle database migration.
18
-
19
15
  SETUP
20
16
  Follow these steps to quickly get up and running:
21
17
 
22
18
  1. Create a deploy user on the stage server
23
19
 
24
- 2. Set up SSH keys for the new deploy user to SSH in without a pass-
25
- word
20
+ 2. Create SSH keys for the new deploy user
26
21
 
27
22
  3. Confirm the deploy user owns the deploy path
28
23
 
@@ -33,9 +28,6 @@ SETUP
33
28
 
34
29
 
35
30
  GLOBAL OPTIONS
36
- -b, --branch=branch
37
- Use an alternate git(1) branch for current deployment
38
-
39
31
  --archive, --tar, --gzip, --zip
40
32
  Archive directories with tar(1) when performing file transfers
41
33
 
@@ -185,4 +177,4 @@ CONFIG FILE
185
177
 
186
178
 
187
179
 
188
- January 2016 TJ-DEPLOY(1)
180
+ December 2015 TJ-DEPLOY(1)
@@ -1,7 +1,7 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
1
+ .\" generated with Ronn/v0.7.0
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.0
3
3
  .
4
- .TH "TJ\-SETUP" "1" "February 2016" "" "Theme Juice Manual"
4
+ .TH "TJ\-SETUP" "1" "December 2015" "" "Theme Juice Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBtj\-setup\fR \- Setup an existing project
@@ -51,26 +51,6 @@ Skip all prompts and use default settings
51
51
  Project is not a wordpress(7) install
52
52
  .
53
53
  .TP
54
- \fB\-\-no\-wp\-cli\fR, \fB\-\-no\-wp\-cli\-config\fR
55
- Skip creating the local wp\-cli(1) config file
56
- .
57
- .TP
58
54
  \fB\-\-no\-db\fR
59
55
  Project does not need a database
60
- .
61
- .TP
62
- \fB\-\-no\-env\fR
63
- Project does not need a \fB\.env\fR file
64
- .
65
- .TP
66
- \fB\-\-no\-provision\fR, \fB\-\-no\-restart\fR
67
- Do not provision VM after setup(1)
68
- .
69
- .TP
70
- \fB\-\-no\-config\fR, \fB\-\-no\-juicefile\fR
71
- Project does not have a Juicefile(5) config
72
- .
73
- .TP
74
- \fB\-\-modify\-wp\-config\fR, \fB\-\-wp\-config\-modify\fR
75
- Modify \fBwp\-config\.php\fR file contents with project configuration (this flag automatically disables the \fB\.env\fR file when used)
76
56
 
@@ -41,26 +41,10 @@ GLOBAL OPTIONS
41
41
  --no-wp
42
42
  Project is not a wordpress(7) install
43
43
 
44
- --no-wp-cli, --no-wp-cli-config
45
- Skip creating the local wp-cli(1) config file
46
-
47
44
  --no-db
48
45
  Project does not need a database
49
46
 
50
- --no-env
51
- Project does not need a .env file
52
-
53
- --no-provision, --no-restart
54
- Do not provision VM after setup(1)
55
-
56
- --no-config, --no-juicefile
57
- Project does not have a Juicefile(5) config
58
-
59
- --modify-wp-config, --wp-config-modify
60
- Modify wp-config.php file contents with project configuration
61
- (this flag automatically disables the .env file when used)
62
-
63
47
 
64
48
 
65
49
 
66
- February 2016 TJ-SETUP(1)
50
+ December 2015 TJ-SETUP(1)
@@ -21,8 +21,7 @@ GLOBAL OPTIONS
21
21
  --vm-prefix=string
22
22
  Force directory prefix for project in VM*
23
23
 
24
- --yolo, --yes
25
- Say yes to anything and everything, and maybe even get a few
24
+ --yolo Say yes to anything and everything, and maybe even get a few
26
25
  surprises
27
26
 
28
27
  --boring
@@ -37,9 +36,6 @@ GLOBAL OPTIONS
37
36
  --no-animations
38
37
  Prints all output without animations**
39
38
 
40
- --robot
41
- Prints all output with absolutely no formatting
42
-
43
39
  --no-landrush
44
40
  Disable the landrush(1) gem for managing DNS*
45
41
 
@@ -88,9 +84,6 @@ SECONDARY COMMANDS
88
84
  version, --version, -v
89
85
  Print the current version
90
86
 
91
- env, --env=[property]
92
- Print environment properties
93
-
94
87
  list, ls, projects, apps, sites
95
88
  List all projects
96
89
 
@@ -238,4 +231,4 @@ ENVIRONMENT
238
231
 
239
232
 
240
233
 
241
- January 2016 TJ(1)
234
+ December 2015 TJ(1)
@@ -17,6 +17,22 @@ namespace :rsync do
17
17
  end
18
18
  end
19
19
 
20
+ after "deploy:started", :pre_scripts do
21
+ on roles(:app) do
22
+ within fetch(:deploy_to) do
23
+ fetch(:rsync_pre_scripts, []).each { |t| execute t }
24
+ end
25
+ end
26
+ end
27
+
28
+ after "deploy:finished", :post_scripts do
29
+ on roles(:app) do
30
+ within fetch(:deploy_to) do
31
+ fetch(:rsync_post_scripts, []).each { |t| execute t }
32
+ end
33
+ end
34
+ end
35
+
20
36
  after "deploy:finished", :clean do
21
37
  run_locally do
22
38
  return if Pathname.new(fetch(:rsync_stage)).absolute?
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.20.10"
4
+ VERSION = "0.21.1"
5
5
  end
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-juice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.10
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.19.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.19.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faker
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: os
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.9.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.9.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capistrano
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 3.4.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 3.4.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: net-ssh
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: 2.9.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 2.9.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: capistrano-slackify
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 2.6.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.6.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: capistrano-rsync-bladrak
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 1.3.8
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.3.8
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: bundler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '1.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '10.4'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '10.4'
139
139
  description: tj helps you create new local WordPress development sites, manage existing
@@ -222,17 +222,17 @@ require_paths:
222
222
  - lib
223
223
  required_ruby_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - '>='
225
+ - - ">="
226
226
  - !ruby/object:Gem::Version
227
227
  version: 1.9.3
228
228
  required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements:
230
- - - '>='
230
+ - - ">="
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.4.6
235
+ rubygems_version: 2.2.2
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: WordPress development made easy