Sha256: 0b46cb1e0fdbc9050aad587f06d9d71f3f2dc8df29de05405c843960cef0ad00
Contents?: true
Size: 1.65 KB
Versions: 2
Compression:
Stored size: 1.65 KB
Contents
!!! %html %head %meta{:charset => "UTF-8"} %title Output of rails_best_practices :css body { color: #333; background: #eee; padding: 0 20px; } h1 { color: ##4E4E4E; } table { background: white; border: 1px solid #666; border-collapse: collapse; margin: 20px 0; font-size: 14px; } table th, table td { padding: 4px; border: 1px solid #D0D0D0; } table th { background-color: #DFC; color: #337022; } table td.filename { color: #ED1556; } table tr:hover { background-color: #FFFFC0; } %body %h1 rails_best_practices output %h2 Please go to %a{:href=>"http://rails-bestpractices.com", :target=>"_blank"} http://rails-bestpractices.com to see more useful Rails Best Practices. %h2 - if errors.empty? No error found. Cool! - else Found #{errors.size} errors. %table %tr %th Filename %th Line Number %th Warning Message - errors.each do |error| %tr %td.filename - if textmate %a{:href=>"txmt://open/?url=file://#{File.expand_path(error.filename)}&line=#{error.line_number}"}= error.filename - elsif mvim %a{:href=>"mvim://open/?url=file://#{File.expand_path(error.filename)}&line=#{error.line_number}"}= error.filename - else = error.filename %td.line-number= error.line_number %td.message %a{:href=>"#{error.url}", :target=>"_blank"}= error.message
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_best_practices-1.0.1 | assets/result.html.haml |
rails_best_practices-1.0.0 | assets/result.html.haml |