theme-juice 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc9f5f43c93ff5eb88affc110a83189271692ef3
|
4
|
+
data.tar.gz: f9990180256f556f432288ea9a6a891a23c6ae84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ca6c2ae7933ec894ce5f09d70bd70cf4c506fdc7819887b2203b62d37e2007eec9334e86524241c9879a61b42a29bf00728e8f397105f4a064ab7c4bfe6b60b
|
7
|
+
data.tar.gz: e4480e92a7f07ea34136606c07efd8c39027d20719f49a707ddeb78ffaf8b99b589f080bd32b5f13a3000ece57ec2563b5412cd969230099d38ab6305ce82b05
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "TJ\-DEPLOY" "1" "
|
4
|
+
.TH "TJ\-DEPLOY" "1" "September 2015" "" "Theme Juice Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBtj\-deploy\fR \- Deploy a project
|
@@ -80,6 +80,14 @@ Pull the current \fBstage\fR\'s uploads folder from the passed \fBstage\fR to th
|
|
80
80
|
\fBuploads:push\fR
|
81
81
|
Push the uploads folder from the development environment to the passed \fBstage\fR\'s uploads folder
|
82
82
|
.
|
83
|
+
.TP
|
84
|
+
\fBfile:pull\fR=\fIfile\fR
|
85
|
+
Pull an arbitrary relative file from the passed \fBstage\fR to the development environment\.
|
86
|
+
.
|
87
|
+
.TP
|
88
|
+
\fBfile:push\fR=\fIfile\fR
|
89
|
+
Push an arbitrary relative file from the development environment to the passed \fBstage\fR\.
|
90
|
+
.
|
83
91
|
.SH "CONFIG FILE"
|
84
92
|
The YAML Juicefile(5) configuration may be used to store deployment\-related settings\. Below you will find the various block sequences you may use to define your project\'s deployment settings\. All of these will be passed to capistrano(1) to invoke a deployment\.
|
85
93
|
.
|
@@ -72,6 +72,14 @@ SECONDARY COMMANDS
|
|
72
72
|
Push the uploads folder from the development environment to the
|
73
73
|
passed stage's uploads folder
|
74
74
|
|
75
|
+
file:pull=file
|
76
|
+
Pull an arbitrary relative file from the passed stage to the
|
77
|
+
development environment.
|
78
|
+
|
79
|
+
file:push=file
|
80
|
+
Push an arbitrary relative file from the development environment
|
81
|
+
to the passed stage.
|
82
|
+
|
75
83
|
CONFIG FILE
|
76
84
|
The YAML Juicefile(5) configuration may be used to store deploy-
|
77
85
|
ment-related settings. Below you will find the various block sequences
|
@@ -161,4 +169,4 @@ CONFIG FILE
|
|
161
169
|
|
162
170
|
|
163
171
|
|
164
|
-
|
172
|
+
September 2015 TJ-DEPLOY(1)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
namespace :file do
|
4
|
+
|
5
|
+
desc "Push file to remote"
|
6
|
+
task :push, [:file] do |t, args|
|
7
|
+
on roles(:app) do
|
8
|
+
if File.exist? args[:file]
|
9
|
+
upload! args[:file], release_path.join(args[:file])
|
10
|
+
else
|
11
|
+
error "Could not locate local file '#{args[:file]}'"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
desc "Pull file from remote"
|
17
|
+
task :pull, [:file] do |t, args|
|
18
|
+
on roles(:app) do
|
19
|
+
download! release_path.join(args[:file]), args[:file]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/theme-juice/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-juice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- lib/theme-juice/tasks/apache.rb
|
160
160
|
- lib/theme-juice/tasks/capistrano/db.rb
|
161
161
|
- lib/theme-juice/tasks/capistrano/env.rb
|
162
|
+
- lib/theme-juice/tasks/capistrano/file.rb
|
162
163
|
- lib/theme-juice/tasks/capistrano/rsync.rb
|
163
164
|
- lib/theme-juice/tasks/capistrano/uploads.rb
|
164
165
|
- lib/theme-juice/tasks/create_confirm.rb
|