redmine_audit 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -0
- data/README.md +4 -4
- data/app/helpers/redmine_audit_helper.rb +18 -0
- data/app/models/mailer.rb +31 -14
- data/app/views/mailer/unfixed_redmine_advisories_found.html.erb +54 -0
- data/app/views/mailer/unfixed_redmine_advisories_found.text.erb +43 -0
- data/app/views/mailer/unfixed_ruby_and_gems_advisories_found.html.erb +33 -0
- data/app/views/mailer/unfixed_ruby_and_gems_advisories_found.text.erb +27 -0
- data/config/locales/en.yml +3 -3
- data/config/locales/ja.yml +3 -3
- data/data/plugin_advisories.yml +19 -0
- data/data/plugins.yml +2468 -0
- data/init.rb +2 -1
- data/lib/redmine_audit/advisory.rb +49 -7
- data/lib/redmine_audit/database.rb +1 -3
- data/lib/redmine_audit/plugin_database.rb +62 -0
- data/lib/redmine_audit/version.rb +1 -1
- data/lib/tasks/redmine_audit.rake +53 -15
- data/redmine_audit.gemspec +3 -0
- data/scripts/create_plugin_list +42 -0
- metadata +55 -5
- data/app/views/mailer/unfixed_advisories_found.html.erb +0 -27
- data/app/views/mailer/unfixed_advisories_found.text.erb +0 -21
@@ -1,21 +0,0 @@
|
|
1
|
-
<%= l(:mail_summary_advisories_found) %>
|
2
|
-
|
3
|
-
<%-
|
4
|
-
@advisories.each do |advisory|
|
5
|
-
if advisory.external_references && !advisory.external_references.empty?
|
6
|
-
ext_refs = advisory.external_references
|
7
|
-
else
|
8
|
-
ext_refs = 'none'
|
9
|
-
end
|
10
|
-
solution = advisory.fixed_versions.join(', ')
|
11
|
-
-%>
|
12
|
-
|
13
|
-
Name: Redmine
|
14
|
-
Version: <%= @redmine_version %>
|
15
|
-
Severity: <%= advisory.severity %>
|
16
|
-
URL: <%= ext_refs %>
|
17
|
-
Detail: <%= advisory.details %>
|
18
|
-
Solution: upgrade to <%= solution %>
|
19
|
-
<%- end -%>
|
20
|
-
|
21
|
-
<%= l(:mail_detail_link_head_advisories_found) %> <%= RedmineAudit::Database::URL %> <%= l(:mail_detail_link_tail_advisories_found) %>
|