lib/tls_map/ciphersuiteinfo.rb in tls-map-1.3.0 vs lib/tls_map/ciphersuiteinfo.rb in tls-map-1.3.1
- old
+ new
@@ -43,16 +43,13 @@
0 => { title: 'Low', color: :yellow },
1 => { title: 'Medium', color: 'orange' },
2 => { title: 'High', color: :red }
}.freeze
- include Utils
- protected :tmpfile
-
# Will automatically fetch source files and parse them.
def initialize
- @tech_file = tmpfile('tech', TECH_DATA)
- @vuln_file = tmpfile('vuln', VULN_DATA)
+ @tech_file = Utils.tmpfile('tech', TECH_DATA)
+ @vuln_file = Utils.tmpfile('vuln', VULN_DATA)
@tech = parse_tech
@vuln = parse_vuln
end
# Retrieve advanced about a cipher on Cipher Suite Info API and enhanced it