lib/buildbox/api.rb in buildbox-0.3.1 vs lib/buildbox/api.rb in buildbox-0.3.2
- old
+ new
@@ -21,10 +21,13 @@
def scheduled_builds(project)
get(project.scheduled_builds_url).map { |build| Buildbox::Build.new(build) }
end
def update_build(build)
- put(build.url, :state => build.state, :parts => build.parts)
+ put(build.url, :started_at => build.started_at,
+ :finished_at => build.finished_at,
+ :output => build.output,
+ :exit_status => build.exit_status)
end
private
def connection