sus-fixtures-openssl 0.1.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09243b9cefb328fc6baeccd9288f94261b3dc42e6c1639590439e76d2b6be1fa'
|
4
|
+
data.tar.gz: afddef6a85db7f75b92b2e74b23ff38cecfc3547f94cd0fa9e79224f2f07b390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fc232beedaac78fc9dbc2e2128746a548fbc6a629dc2ab0250c5d84affe6508eddcbcebd3f20c93f2c58f1a5edc949598d26621ebde533eb46c7c0f6055f30
|
7
|
+
data.tar.gz: f64ee3b87c33662db137b4002101d4a7d7e00cf6956284e3b3f4016250ded69de4e7944cf3eaba8720a59f56f9438cbcf2816d3b5a6bd11f0886f5a86ce3d9cb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/sus/fixtures/openssl/{host_certificates_context.rb → hosts_certificates_context.rb}
RENAMED
@@ -8,9 +8,14 @@ require_relative 'certificate_authority_context'
|
|
8
8
|
module Sus
|
9
9
|
module Fixtures
|
10
10
|
module OpenSSL
|
11
|
-
module
|
11
|
+
module HostsCertificatesContext
|
12
12
|
include CertificateAuthorityContext
|
13
|
-
|
13
|
+
|
14
|
+
# Override this to provide a list of host names.
|
15
|
+
def hosts
|
16
|
+
[]
|
17
|
+
end
|
18
|
+
|
14
19
|
def keys
|
15
20
|
@keys ||= Hash[
|
16
21
|
hosts.collect{|name| [name, ::OpenSSL::PKey::RSA.new(2048)]}
|
data/lib/sus/fixtures/openssl.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
require_relative 'openssl/version'
|
7
7
|
|
8
8
|
require_relative 'openssl/certificate_authority_context'
|
9
|
-
require_relative 'openssl/
|
9
|
+
require_relative 'openssl/hosts_certificates_context'
|
10
10
|
require_relative 'openssl/valid_certificate_context'
|
11
11
|
require_relative 'openssl/invalid_certificate_context'
|
12
12
|
require_relative 'openssl/verified_certificate_context'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sus-fixtures-openssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -75,7 +75,7 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- lib/sus/fixtures/openssl.rb
|
77
77
|
- lib/sus/fixtures/openssl/certificate_authority_context.rb
|
78
|
-
- lib/sus/fixtures/openssl/
|
78
|
+
- lib/sus/fixtures/openssl/hosts_certificates_context.rb
|
79
79
|
- lib/sus/fixtures/openssl/invalid_certificate_context.rb
|
80
80
|
- lib/sus/fixtures/openssl/valid_certificate_context.rb
|
81
81
|
- lib/sus/fixtures/openssl/verified_certificate_context.rb
|
metadata.gz.sig
CHANGED
Binary file
|