cvss-suite 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 384925d73312e906e92789f0d2c4bb11b5aea1d3
4
- data.tar.gz: 70ca17be09f8aeb60b0065b05f26285e4de02092
3
+ metadata.gz: 67b9524624c103f1410747cc5601fc6c51bdaeb3
4
+ data.tar.gz: 92eb12a5d7266cdfcef91ee3d6090d59d493b8c8
5
5
  SHA512:
6
- metadata.gz: 93c9faf2762857211370ec8ca1d173f66643e5e6e79465533f4f4247239552aaa4ca78231b2d8590757645858e194c8712ef4a20985c9dd0d7b8ca9834464e78
7
- data.tar.gz: 716c833ab695999e5e43f343c4d2d395255eddbb2a4551276fb06a29b32e86d51a20354e01b7913be5c8c9ccd458efe1fde460283b41cacf87df560f77ea94e1
6
+ metadata.gz: c575ffb21ee0c1742911641921e3d661bbe421e77cb073080281b98bc2133fe8aaab4ac5ab521455a9253794a91a58d71ebdeddaa7ce70127e718856f0cfa0b3
7
+ data.tar.gz: af23d1944795b0eb5eb4172ad742199f9f8aefc22cf17563c61e22ac6883848aa38d7564896ed84d2360e4becec28ca9abe84c71cb714ac933e511e2e302c392
data/CHANGES.md CHANGED
@@ -2,6 +2,11 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [1.1.1] - 2018-10-18
6
+
7
+ ### Fixes
8
+ Corrects behaviour when using "CVSS:3.0/" as vector. Bugfix for #3.
9
+
5
10
  ## [1.1.0] - 2018-10-17
6
11
 
7
12
  ### Notes
@@ -18,11 +23,11 @@ Finally the webpage is officially linked in the gem.
18
23
 
19
24
  ## [1.0.8] - 2016-09-30
20
25
  ### Fixes
21
- Fixed a bug with rounding Fixnums in CVSS3.
26
+ Fixes a bug with rounding Fixnums in CVSS3.
22
27
 
23
28
  ## [1.0.7] - 2016-06-23
24
29
  ### Improvements
25
- Removed gems: Rake & badgerbadgerbadger. Improved documentation, webpage (github) is coming very soon!
30
+ Removes gems: Rake & badgerbadgerbadger. Improved documentation, webpage (github) is coming very soon!
26
31
 
27
32
  ## [1.0.6] - 2016-04-15
28
33
  ### Fixes
@@ -84,7 +84,12 @@ class Cvss
84
84
 
85
85
  def prepared_vector
86
86
  start_of_vector = @vector.index('AV')
87
- @vector[start_of_vector..-1]
87
+
88
+ if start_of_vector.nil?
89
+ String.new
90
+ else
91
+ @vector[start_of_vector..-1]
92
+ end
88
93
  end
89
94
 
90
95
  def required_amount_of_properties
@@ -9,5 +9,5 @@
9
9
  # See the LICENSE.md file in the top-level directory.
10
10
 
11
11
  module CvssSuite
12
- VERSION = "1.1.0"
12
+ VERSION = "1.1.1"
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cvss-suite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Hamboerger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-17 00:00:00.000000000 Z
11
+ date: 2018-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler