app_builder 0.1.1 → 0.1.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f082bfd74839a0da79160de4b4e0d8cc76428c45edba8de0a693c315fdafc89
|
4
|
+
data.tar.gz: 42854ccc07fe1e5a86f789a724e90dd8c3a88cefeed15c612f858747a898d975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39737fe2d6a50f3d006f2fac2580db2cd0b3f95a468e62174327f0bdf1e09a4b5e57f9a33e00ea5364d9d12708d5b79e71e79bfdb982dbd577071bd6163cd4b2
|
7
|
+
data.tar.gz: 897305cd932a00ff217c2b87adb1f282b829ab939fb9724549eb9ea0544c9d7545216a93b3bfb345d4d4b13dda6be37954efc10cfef76a01560482d093870c04
|
data/lib/app_builder/archiver.rb
CHANGED
data/lib/app_builder/builder.rb
CHANGED
data/lib/app_builder/config.rb
CHANGED
@@ -32,8 +32,9 @@ module AppBuilder
|
|
32
32
|
|
33
33
|
attr_accessor *VALID_OPTIONS
|
34
34
|
|
35
|
-
def initialize
|
35
|
+
def initialize(options = {})
|
36
36
|
reset
|
37
|
+
merge(options)
|
37
38
|
end
|
38
39
|
|
39
40
|
def merge(params)
|
@@ -84,7 +85,7 @@ module AppBuilder
|
|
84
85
|
end
|
85
86
|
|
86
87
|
def manifest_url
|
87
|
-
File.join(manifest_base_url,
|
88
|
+
File.join(manifest_base_url, manifest_name)
|
88
89
|
end
|
89
90
|
|
90
91
|
def remote_app_home
|
@@ -4,6 +4,9 @@ dest: <%= remote_app_home %>/releases/<%= build_id %>
|
|
4
4
|
commands:
|
5
5
|
pre:
|
6
6
|
- echo 'staring deploy'
|
7
|
+
- mkdir -p <%= remote_app_home %>/releases
|
8
|
+
- mkdir -p <%= remote_app_home %>/shared/log
|
9
|
+
- mkdir -p <%= remote_app_home %>/shared/pids
|
7
10
|
post:
|
8
11
|
- ln -nfs <%= remote_app_home %>/releases/<%= build_id %> <%= remote_app_home %>/current
|
9
12
|
- rm -rf <%= remote_app_home %>/current/log
|
data/lib/app_builder/uploader.rb
CHANGED
data/lib/app_builder/version.rb
CHANGED