vulcan 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -139,7 +139,7 @@ update the build server
139
139
  system "git commit -m commit >/dev/null"
140
140
  system "git push heroku -f master"
141
141
 
142
- %x{ env BUNDLE_GEMFILE= heroku config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} 2>&1 }
142
+ %x{ env BUNDLE_GEMFILE= heroku config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib 2>&1 }
143
143
  %x{ env BUNDLE_GEMFILE= heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs.git#versions 2>&1 }
144
144
  %x{ env BUNDLE_GEMFILE= heroku addons:add cloudant:oxygen }
145
145
  end
@@ -1,5 +1,5 @@
1
1
  module Vulcan
2
2
 
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
 
5
5
  end
@@ -68,7 +68,14 @@ app.post('/make', function(request, response, next) {
68
68
  'application/octet-stream',
69
69
  fs.createReadStream(files.code.path),
70
70
  function(err, data) {
71
- if (err) { log_error(id, util.inspect(err)); return next(err); }
71
+ if (err) {
72
+ // work around temporary problem with cloudant and document
73
+ // conflicts
74
+ if (err.error != 'conflict') {
75
+ log_error(id, err.reason);
76
+ return next(err.reason);
77
+ }
78
+ }
72
79
 
73
80
  // spawn bin/make with this build id
74
81
  log_action(id, 'spawning build');
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.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multipart-post
16
- requirement: &70212546154200 !ruby/object:Gem::Requirement
16
+ requirement: &70223361817240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.1.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70212546154200
24
+ version_requirements: *70223361817240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &70212546153260 !ruby/object:Gem::Requirement
27
+ requirement: &70223361816240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.7
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70212546153260
35
+ version_requirements: *70223361816240
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: thor
38
- requirement: &70212546152260 !ruby/object:Gem::Requirement
38
+ requirement: &70223361814920 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.14.6
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70212546152260
46
+ version_requirements: *70223361814920
47
47
  description: Build software in the cloud
48
48
  email: ddollar@gmail.com
49
49
  executables: