sslscan_wrapper is a wrapper around the sslscan tool to scan SSL/TLS protocol parameters.
Since it is only a wrapper around sslscan it does not depend on the openssl version the ruby interpreter is linked with. The sslscan tool can be compiled statically with a openssl version supporting old protocol versions and ciphers.
Available at rubydoc.info.
require 'sslscan_wrapper' scanner = ::. report = scanner.scan('www.somesite.tld', 443) report.ciphers # => ["ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-RSA-AES128-GCM-SHA256", ... report.host # => "www.somesite.tld" report.signature_algorithm # => "sha256WithRSAEncryption" report.heartbleed_vulnerable? # => false