vulcan 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vulcan/cli.rb +1 -1
- data/lib/vulcan/version.rb +1 -1
- data/server/web.coffee +2 -3
- metadata +10 -10
data/lib/vulcan/cli.rb
CHANGED
@@ -131,7 +131,7 @@ update the build server
|
|
131
131
|
system "git commit -m commit >/dev/null"
|
132
132
|
system "git push heroku -f master"
|
133
133
|
|
134
|
-
heroku "config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib"
|
134
|
+
heroku "config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib NODE_ENV=production"
|
135
135
|
heroku "addons:add cloudant:oxygen"
|
136
136
|
end
|
137
137
|
end
|
data/lib/vulcan/version.rb
CHANGED
data/server/web.coffee
CHANGED
@@ -11,8 +11,7 @@ db = require("cloudant").connect("make")
|
|
11
11
|
app = express.createServer(
|
12
12
|
express.logger()
|
13
13
|
express.cookieParser()
|
14
|
-
express.bodyParser()
|
15
|
-
express.session(secret:process.env.SECRET))
|
14
|
+
express.bodyParser())
|
16
15
|
|
17
16
|
app.post "/make", (req, res, next) ->
|
18
17
|
id = uuid()
|
@@ -51,7 +50,7 @@ app.post "/make", (req, res, next) ->
|
|
51
50
|
|
52
51
|
make.on "error", (err) -> log.error(err)
|
53
52
|
make.on "data", (data) -> res.write data
|
54
|
-
make.on "
|
53
|
+
make.on "end", (code) -> res.end())
|
55
54
|
|
56
55
|
app.get "/output/:id", (req, res, next) ->
|
57
56
|
log = logger.init(res, next, req.params.id)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vulcan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: heroku
|
16
|
-
requirement: &
|
16
|
+
requirement: &70147638459760 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: '3.0'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *70147638459760
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: multipart-post
|
30
|
-
requirement: &
|
30
|
+
requirement: &70147638457320 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: 1.1.3
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *70147638457320
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rest-client
|
41
|
-
requirement: &
|
41
|
+
requirement: &70147638455780 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: 1.6.7
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *70147638455780
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: thor
|
52
|
-
requirement: &
|
52
|
+
requirement: &70147638454480 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: 0.14.6
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *70147638454480
|
61
61
|
description: Build software in the cloud
|
62
62
|
email: ddollar@gmail.com
|
63
63
|
executables:
|