buildbox 0.3.7 → 0.3.8

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: 1e8278856f469e2aa4e9e4faf3598c3605739e5f
4
- data.tar.gz: 331cfc253502c23a06aef39f0850acd1d03e24ee
3
+ metadata.gz: d03a215ef6a0f1cae6051fcf56554d62abc5815c
4
+ data.tar.gz: bcf6037404617835675177820af6a85f60e6bead
5
5
  SHA512:
6
- metadata.gz: 19f6baa2a8c0c27cbb3b4c5070923f79554db2be7a31cb3e06586fc2229e52d843c6b952732c22c6b34e4252bdb3906f4092777b4f52a754434ac3854b9c07dd
7
- data.tar.gz: 02ca8b610d9f98e9ad3d03a41da5e6ee7552106159cb6f48517466e6f8b9b6d243d21172e1cd9929ac4695ab87b8682f061583bdb88c6ddc974c0b1c190972f7
6
+ metadata.gz: 712c31afdb5346f2cf2f703f8f2dd4f7a9e1237b30a5605a9a6cc8da2633e75d9c2e73d488a8129439cba0ff8fa4433e92e9f9dfc10d48894198899df149cd7a
7
+ data.tar.gz: 8980a9e144f21e8dea04ac40a01850f8110343610d74959baf3f852a260570a08e44533a18981aafa9cd9528b529c2e7e664d1759e48c1c16d4cc96c7e6dffb7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- buildbox (0.3.7)
4
+ buildbox (0.3.8)
5
5
  celluloid (~> 0.14)
6
6
  childprocess (~> 0.3)
7
7
  faraday (~> 0.8)
@@ -13,14 +13,11 @@ module Buildbox
13
13
  def work
14
14
  builds = scheduled_builds
15
15
 
16
- # Start off by letting each build know that it's been picked up
17
- # by an agent.
16
+ # Run the builds one at a time
18
17
  builds.each do |build|
18
+ # Let the agent know that we're about to start working on this build
19
19
  @api.update_build(build, :agent_accepted => @access_token)
20
- end
21
20
 
22
- # Run the builds one at a time
23
- builds.each do |build|
24
21
  Monitor.new(build, @api).async.monitor
25
22
  Runner.new(build).start
26
23
  end
@@ -1,3 +1,3 @@
1
1
  module Buildbox
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Pitt