ruby-sslyze 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: c4013d128b21d94004ca8c15715b85531acfe46f
4
- data.tar.gz: bfcbc3a8309309dbc5e03986f153fdd1792174a3
3
+ metadata.gz: bee86f9696ba9bc1f258a39a3674722c5da075e8
4
+ data.tar.gz: 371902d6a7249430a2642d96d2924c11eb87edee
5
5
  SHA512:
6
- metadata.gz: ce2fd295c02224d87157bedfec3cf4d63f4b0d9f9558a12fa00063c104c3eef986bfae25c2ec1378136a17db1fb4ff24589a0ad902df1591e80b95559a134662
7
- data.tar.gz: 9d5cf5e4dca31f544e6cae4cdad4a7b09ba4a2c80350bdac8094e793f2626622d30c42489ae6baec63749ab7729ba66b11af36fa079a95b633b117425b21092f
6
+ metadata.gz: bf2dc962eec84bd8f420bbf10104da3947a7667b854e775ad81c07f3a0d714ed1e812cd02ff94e99586feadb974a2e31c3efd7069bf9a51dca461dd0cfc078e1
7
+ data.tar.gz: 05bb76e5ea8445a67633c2b303f5505916e0ce2caf2ba51beb93848964f253d5d199b47cf57a42db15f11947f7f1d479197ea4926d6b7f8df8c1a5b4d130970d
data/ChangeLog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.1.1 / 2015-12-08
2
+
3
+ * `certificateValidation` may be omitted from `certinfo` if an OpenSSL
4
+ exception occurred. Allow {SSLyze::CertInfo#validation} may return `nil`.
5
+
1
6
  ### 0.1.0 / 2015-10-13
2
7
 
3
8
  * Initial release:
@@ -32,10 +32,12 @@ module SSLyze
32
32
  #
33
33
  # Certificate validation information.
34
34
  #
35
- # @return [CertificateValidation]
35
+ # @return [CertificateValidation, nil]
36
36
  #
37
37
  def validation
38
- @validation ||= CertificateValidation.new(@node.at('certificateValidation'))
38
+ @validation ||= if (node = @node.at('certificateValidation'))
39
+ CertificateValidation.new(node)
40
+ end
39
41
  end
40
42
 
41
43
  #
@@ -1,4 +1,4 @@
1
1
  module SSLyze
2
2
  # ruby-sslyze version
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-sslyze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Brodigan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-13 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rprogram