parent
2275fe6d23
commit
ce6e6116b5
@ -1,3 +1,3 @@
|
||||
class QualityAnalysis < ActiveRecord::Base
|
||||
attr_accessible :author_login, :project_id, :rep_identifier
|
||||
attr_accessible :author_login, :project_id, :rep_identifier, :sonar_version
|
||||
end
|
||||
|
@ -0,0 +1,3 @@
|
||||
class SonarAnalysis < ActiveRecord::Base
|
||||
attr_accessible :author_login, :project_id, :rep_identifier
|
||||
end
|
@ -1,3 +1,10 @@
|
||||
<% @cc.each do |c| %>
|
||||
<%= c %>
|
||||
<% end %>
|
||||
<% if @name_flag %>
|
||||
<%= @results.each do |result| %>
|
||||
<p>
|
||||
<%=link_to result["k"], project_quality_analysis_path(:name => result["k"]) %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= @cc %>
|
||||
<% end %>
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
class AddJkVersionToQualityAnalysis < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :quality_analyses, :sonar_version, :integer, :default => false
|
||||
end
|
||||
end
|
Loading…
Reference in new issue