dradis-calculator_cvss 3.16.0 → 3.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 749f7ba2cf0a250585b5527dc45a2a8f23ca443f24bd656d20923eb1f03e836c
4
- data.tar.gz: cf3ab5b2e19e17bb115aa777d139d9c1d1bcaae71c04926391d07b6b7545e453
3
+ metadata.gz: e4134e4aee4bb92f93537a13ea9f5c9cd032caa502ca5de4cc5ed6886b94caf5
4
+ data.tar.gz: 92120c12a86fce7ed465dab3b3de43800ad6236cb145c23e0bfbe869d6a28c92
5
5
  SHA512:
6
- metadata.gz: 654d36b17403e2b552895e6f2b1a1004ccdf2cc56fe30ac002b08a8a4108299807c8377c33410e5272de22d8049ab24e8905d235842780ff4eb49c6c89bb936c
7
- data.tar.gz: db029e025be0f6ccabb8cc08f580234d5bea1f3055fedda372c859dc6c19d94de5fe6732a70765cd3afb58e860635dbdbeeb6e52eb6a5884f4cbfefe56ee94fb
6
+ metadata.gz: 77c7c8421048311b97dc7211cbbefbae79ef583f6aefaff548f796858d5228bf2c636e10b13dada2abe9757dc448685e91c6fad5dd6d2f746023ffb7a778a5db
7
+ data.tar.gz: c075cd74bb9f94d464988f5a8263687cf007c26e9a7d420a65c2cc161f9520bd344bd292d657c5a173595b0f904d55e837c55b2042af148bad0b9116f5e5eb34
data/CHANGELOG.md CHANGED
@@ -1,14 +1,38 @@
1
- # Dradis Framework 3.16 (February, 2020) ##
1
+ ## Dradis Framework 3.21 (February, 2021) ##
2
+
3
+ * Specify exact js and css file name when precompiling assets.
4
+
5
+ ## Dradis Framework 3.20 (December, 2020) ##
6
+
7
+ * Use Bootstrap gem vs vendored assets.
8
+
9
+
10
+ ## Dradis Framework 3.19 (September, 2020) ##
11
+
12
+ * No changes.
13
+
14
+
15
+ ## Dradis Framework 3.18 (July, 2020) ##
16
+
17
+ * No changes.
18
+
19
+
20
+ ## Dradis Framework 3.17 (May, 2020) ##
21
+
22
+ * Update REGEX reference for compatibility.
23
+
24
+
25
+ ## Dradis Framework 3.16 (February, 2020) ##
2
26
 
3
27
  * Update for compatibility with Tylium
4
28
 
5
29
 
6
- # Dradis Framework 3.15 (November, 2019) ##
30
+ ## Dradis Framework 3.15 (November, 2019) ##
7
31
 
8
32
  * No changes.
9
33
 
10
34
 
11
- # Dradis Framework 3.14 (August, 2019) ##
35
+ ## Dradis Framework 3.14 (August, 2019) ##
12
36
 
13
37
  * No changes.
14
38
 
@@ -1,4 +1,4 @@
1
- @import 'bootstrap';
1
+ @import '_bootstrap';
2
2
 
3
3
  @import 'font-awesome-sprockets';
4
4
  @import "font-awesome";
@@ -7,7 +7,7 @@ module Dradis::Plugins::Calculators::CVSS
7
7
  end
8
8
 
9
9
  def update
10
- cvss_fields = Hash[ *params[:cvss_fields].scan(HasFields::REGEX).flatten.map(&:strip) ]
10
+ cvss_fields = Hash[ *params[:cvss_fields].scan(FieldParser::FIELDS_REGEX).flatten.map(&:strip) ]
11
11
  cvss_fields.each do |name, value|
12
12
  @issue.set_field(name, value)
13
13
  end
@@ -1 +1 @@
1
- <li><%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path %></li>
1
+ <%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path, class: 'dropdown-item', data: { turbolinks: false } %>
@@ -14,7 +14,7 @@
14
14
  <a href="javascript:void(0)" class="navbar-brand">CVSS score calculator</a>
15
15
  <ul class="navbar-nav pull-right">
16
16
  <li class="nav-item">
17
- <%= link_to main_app.root_path, class: 'nav-link' do %>
17
+ <%= link_to main_app.root_path, class: 'nav-link', data: { turbolinks: false } do %>
18
18
  Back to the app &rarr;
19
19
  <% end %>
20
20
  </li>
@@ -7,7 +7,11 @@ module Dradis::Plugins::Calculators::CVSS
7
7
  description 'Risk Calculator: CVSSv3'
8
8
 
9
9
  initializer 'calculator_cvss.asset_precompile_paths' do |app|
10
- app.config.assets.precompile += ["dradis/plugins/calculators/cvss/manifests/*"]
10
+ app.config.assets.precompile += [
11
+ 'dradis/plugins/calculators/cvss/manifests/application.css',
12
+ 'dradis/plugins/calculators/cvss/manifests/application.js',
13
+ 'dradis/plugins/calculators/cvss/manifests/tylium.js'
14
+ ]
11
15
  end
12
16
 
13
17
  initializer "calculator_cvss.inflections" do |app|
@@ -9,7 +9,7 @@ module Dradis
9
9
 
10
10
  module VERSION
11
11
  MAJOR = 3
12
- MINOR = 16
12
+ MINOR = 21
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.16.0
4
+ version: 3.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-26 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -77,7 +77,6 @@ files:
77
77
  - app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb
78
78
  - app/models/dradis/plugins/calculators/cvss/v3.rb
79
79
  - app/views/dradis/plugins/calculators/cvss/_addons_menu.html.erb
80
- - app/views/dradis/plugins/calculators/cvss/_addons_menu_bs4.html.erb
81
80
  - app/views/dradis/plugins/calculators/cvss/base/_base.html.erb
82
81
  - app/views/dradis/plugins/calculators/cvss/base/_environmental.html.erb
83
82
  - app/views/dradis/plugins/calculators/cvss/base/_temporal.html.erb
@@ -96,7 +95,7 @@ homepage: http://dradisframework.org
96
95
  licenses:
97
96
  - GPL-2
98
97
  metadata: {}
99
- post_install_message:
98
+ post_install_message:
100
99
  rdoc_options: []
101
100
  require_paths:
102
101
  - lib
@@ -111,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
110
  - !ruby/object:Gem::Version
112
111
  version: '0'
113
112
  requirements: []
114
- rubygems_version: 3.0.1
115
- signing_key:
113
+ rubygems_version: 3.2.4
114
+ signing_key:
116
115
  specification_version: 4
117
116
  summary: This plugin adds a CVSSv3 score calculator to Dradis.
118
117
  test_files: []
@@ -1 +0,0 @@
1
- <%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path, class: 'dropdown-item' %>