dradis-calculator_cvss 3.12.0 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +5 -5
  2. data/.github/issue_template.md +16 -0
  3. data/.github/pull_request_template.md +36 -0
  4. data/CHANGELOG.md +31 -0
  5. data/app/assets/javascripts/dradis/plugins/calculators/cvss/calculator.js.coffee +48 -19
  6. data/app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/{application.js.coffee → application.js} +2 -1
  7. data/app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/{snowcrash.js.coffee → tylium.js} +0 -0
  8. data/app/assets/javascripts/dradis/plugins/calculators/cvss/vendor/cvsscalc30.js +21 -25
  9. data/app/assets/stylesheets/dradis/plugins/calculators/cvss/manifests/application.css.scss +0 -7
  10. data/app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb +2 -2
  11. data/app/models/dradis/plugins/calculators/cvss/v3.rb +12 -0
  12. data/app/views/dradis/plugins/calculators/cvss/_addons_menu_bs4.html.erb +1 -0
  13. data/app/views/dradis/plugins/calculators/cvss/base/_base.html.erb +41 -41
  14. data/app/views/dradis/plugins/calculators/cvss/base/_environmental.html.erb +67 -67
  15. data/app/views/dradis/plugins/calculators/cvss/base/_temporal.html.erb +23 -23
  16. data/app/views/dradis/plugins/calculators/cvss/base/index.html.erb +20 -5
  17. data/app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb +4 -5
  18. data/app/views/dradis/plugins/calculators/cvss/issues/_show-tabs.html.erb +3 -1
  19. data/app/views/dradis/plugins/calculators/cvss/issues/edit.html.erb +84 -59
  20. data/app/views/layouts/dradis/plugins/calculators/cvss/base.html.erb +10 -12
  21. data/lib/dradis/plugins/calculators/cvss/gem_version.rb +1 -1
  22. metadata +8 -6
@@ -10,18 +10,16 @@
10
10
  </head>
11
11
  <body class="authenticated">
12
12
  <div class="container">
13
- <div class="navbar">
14
- <div class="navbar-inner">
15
- <a href="javascript:void(0)" class="brand">CVSS score calculator</a>
16
- <ul class="nav pull-right">
17
- <li>
18
- <%= link_to main_app.root_path do %>
19
- Back to the app &rarr;
20
- <% end %>
21
- </li>
22
- </ul>
23
- </div>
24
- </div>
13
+ <nav class="navbar navbar-light bg-light">
14
+ <a href="javascript:void(0)" class="navbar-brand">CVSS score calculator</a>
15
+ <ul class="navbar-nav pull-right">
16
+ <li class="nav-item">
17
+ <%= link_to main_app.root_path, class: 'nav-link' do %>
18
+ Back to the app &rarr;
19
+ <% end %>
20
+ </li>
21
+ </ul>
22
+ </nav>
25
23
 
26
24
  <%= yield%>
27
25
  </div>
@@ -9,7 +9,7 @@ module Dradis
9
9
 
10
10
  module VERSION
11
11
  MAJOR = 3
12
- MINOR = 12
12
+ MINOR = 17
13
13
  TINY = 0
14
14
  PRE = nil
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-calculator_cvss
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.0
4
+ version: 3.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2020-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -59,6 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".github/issue_template.md"
63
+ - ".github/pull_request_template.md"
62
64
  - ".gitignore"
63
65
  - CHANGELOG.md
64
66
  - CONTRIBUTING.md
@@ -67,14 +69,15 @@ files:
67
69
  - README.md
68
70
  - Rakefile
69
71
  - app/assets/javascripts/dradis/plugins/calculators/cvss/calculator.js.coffee
70
- - app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/application.js.coffee
71
- - app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/snowcrash.js.coffee
72
+ - app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/application.js
73
+ - app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/tylium.js
72
74
  - app/assets/javascripts/dradis/plugins/calculators/cvss/vendor/cvsscalc30.js
73
75
  - app/assets/stylesheets/dradis/plugins/calculators/cvss/manifests/application.css.scss
74
76
  - app/controllers/dradis/plugins/calculators/cvss/base_controller.rb
75
77
  - app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb
76
78
  - app/models/dradis/plugins/calculators/cvss/v3.rb
77
79
  - app/views/dradis/plugins/calculators/cvss/_addons_menu.html.erb
80
+ - app/views/dradis/plugins/calculators/cvss/_addons_menu_bs4.html.erb
78
81
  - app/views/dradis/plugins/calculators/cvss/base/_base.html.erb
79
82
  - app/views/dradis/plugins/calculators/cvss/base/_environmental.html.erb
80
83
  - app/views/dradis/plugins/calculators/cvss/base/_temporal.html.erb
@@ -108,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
111
  - !ruby/object:Gem::Version
109
112
  version: '0'
110
113
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.6.12
114
+ rubygems_version: 3.0.1
113
115
  signing_key:
114
116
  specification_version: 4
115
117
  summary: This plugin adds a CVSSv3 score calculator to Dradis.