dradis-calculator_cvss 3.19.0 → 4.0.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: 4f53bc6e94537d71685c7509acfe3fc438d89f4e4b1e42e600ef6874175610b1
4
- data.tar.gz: 362a111210e6dc265d5e3d25e7a8f51e42ac7031aaeeef739676f6882e529c72
3
+ metadata.gz: '08155a41f304e86e7f3bb9bd57f1cc35da3faeaa08b8dbc9b57210e7f68621bc'
4
+ data.tar.gz: 5f00062e029aa5f7389caf57b245493b83ce5363cc74022b495f9ed44dad0b9f
5
5
  SHA512:
6
- metadata.gz: b4aefbc20df2484779ef60a01d2d54581012b942564ef2d5f57bc0d95a8af4e484e01cb445bd740513066033e913aad7dac4b32d0857678536f9b8dc071c7361
7
- data.tar.gz: fc07ca6a1447435898c1d3db177b214853b860f47889894196c2c44f259ba40b699470180afca4bc936a00cce7eec056b796c419862368e80e9930f253a1b389
6
+ metadata.gz: a27fc0cca55e4cd5baf099cce558d1e1eec992e20c2ef0cf9c393b131b5f9b642fef9238463840f4acc7749aa4c450f29d4f47651cb3dbc0847d05b9aecd81ff
7
+ data.tar.gz: 3a04eb1f48ccca805d7a75122792de7341af42c103757930a0077ea75b3d9959a811781e7bc25407a772414df25088f08aafe9090c04a3aba5f18375da819fc4
data/CHANGELOG.md CHANGED
@@ -1,29 +1,47 @@
1
- # Dradis Framework 3.19 (September, 2020) ##
1
+ ## Dradis Framework 4.0.0 (July, 2021) ##
2
2
 
3
3
  * No changes.
4
4
 
5
+ ## Dradis Framework 3.22 (April, 2021) ##
5
6
 
6
- # Dradis Framework 3.18 (July, 2020) ##
7
+ * Update css manifest to use font-awesome assets from vendor files (rather than old gem)
8
+
9
+ ## Dradis Framework 3.21 (February, 2021) ##
10
+
11
+ * Specify exact js and css file name when precompiling assets.
12
+
13
+
14
+ ## Dradis Framework 3.20 (December, 2020) ##
15
+
16
+ * Use Bootstrap gem vs vendored assets.
17
+
18
+
19
+ ## Dradis Framework 3.19 (September, 2020) ##
20
+
21
+ * No changes.
22
+
23
+
24
+ ## Dradis Framework 3.18 (July, 2020) ##
7
25
 
8
26
  * No changes.
9
27
 
10
28
 
11
- # Dradis Framework 3.17 (May, 2020) ##
29
+ ## Dradis Framework 3.17 (May, 2020) ##
12
30
 
13
31
  * Update REGEX reference for compatibility.
14
32
 
15
33
 
16
- # Dradis Framework 3.16 (February, 2020) ##
34
+ ## Dradis Framework 3.16 (February, 2020) ##
17
35
 
18
36
  * Update for compatibility with Tylium
19
37
 
20
38
 
21
- # Dradis Framework 3.15 (November, 2019) ##
39
+ ## Dradis Framework 3.15 (November, 2019) ##
22
40
 
23
41
  * No changes.
24
42
 
25
43
 
26
- # Dradis Framework 3.14 (August, 2019) ##
44
+ ## Dradis Framework 3.14 (August, 2019) ##
27
45
 
28
46
  * No changes.
29
47
 
@@ -1,4 +1,2 @@
1
- @import 'bootstrap';
2
-
3
- @import 'font-awesome-sprockets';
4
- @import "font-awesome";
1
+ @import '_bootstrap';
2
+ @import 'font-awesome.min';
@@ -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>
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
21
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
22
 
23
- spec.add_dependency 'dradis-plugins', '~> 3.0'
23
+ spec.add_dependency 'dradis-plugins', '~> 4.0.0'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.6'
26
26
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -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|
@@ -8,8 +8,8 @@ module Dradis
8
8
  end
9
9
 
10
10
  module VERSION
11
- MAJOR = 3
12
- MINOR = 19
11
+ MAJOR = 4
12
+ MINOR = 0
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.19.0
4
+ version: 4.0.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: 2020-09-04 00:00:00.000000000 Z
11
+ date: 2021-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -111,7 +110,7 @@ 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
113
+ rubygems_version: 3.1.4
115
114
  signing_key:
116
115
  specification_version: 4
117
116
  summary: This plugin adds a CVSSv3 score calculator to Dradis.
@@ -1 +0,0 @@
1
- <%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path, class: 'dropdown-item' %>