Sha256: 4276bf7900421308787c7bcdf14bde481020340362976717b83260c184b02e86

Contents?: true

Size: 844 Bytes

Versions: 6

Compression:

Stored size: 844 Bytes

Contents

xml.instruct!
xml.feed :xmlns => "http://www.w3.org/2005/Atom" do
  xml.title     "Build history for #{@project.name}"
  xml.subtitle  @project.uri
  xml.updated   @project.builds.first.created_at
  xml.link      :href => "#{project_url(@project)}.atom", :rel => "self"
  xml.id        "#{project_url(@project)}.atom"

  @project.builds.each do |build|
    xml.entry do
      xml.id        build_url(build)
      xml.link      :href => build_url(build), :rel => "alternate", :type => "text/html"
      xml.updated   build.created_at
      xml.published build.created_at

      xml.title "Built #{build.short_commit_identifier} #{build.successful? ? "successfully" : "and failed"}"
      xml.author { xml.name(build.commit_author.name) }
      xml.content("<div>#{partial(:build_info, :build => build)}</div>", :type => "html")
   end
  end
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
brycethornton-integrity-0.1.7.1 views/project.builder
foca-integrity-0.1.6 views/project.builder
foca-integrity-0.1.7 views/project.builder
foca-integrity-0.1.8 views/project.builder
myronmarston-integrity-0.1.7.1 views/project.builder
integrity-0.1.8 views/project.builder