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: 36794229edbdabba437a99a67421f8f986bb6492000697855047556b26bc400e
4
- data.tar.gz: e8af0f9ca4310e18780457220b11ad5618b9d898de6680bd48efcdca9aa9ef45
3
+ metadata.gz: '09243b9cefb328fc6baeccd9288f94261b3dc42e6c1639590439e76d2b6be1fa'
4
+ data.tar.gz: afddef6a85db7f75b92b2e74b23ff38cecfc3547f94cd0fa9e79224f2f07b390
5
5
  SHA512:
6
- metadata.gz: 543d9dcdc89a4ce34788a6d3db553957382dd4b1c48b759379d8176025af57d7e0a8e4fbfc8ef4b6e8da2b3a5dc2c23d7a870781f5270a855bc417111109e2c0
7
- data.tar.gz: ccb5dd75795f33098acc61115ff99487184b69d3f44e4bd2226f38bff28fbd4030acf4519c1f291ae770d9b8764da0e1c908a35af26eb77a7f8f92f73b0f70d8
6
+ metadata.gz: f1fc232beedaac78fc9dbc2e2128746a548fbc6a629dc2ab0250c5d84affe6508eddcbcebd3f20c93f2c58f1a5edc949598d26621ebde533eb46c7c0f6055f30
7
+ data.tar.gz: f64ee3b87c33662db137b4002101d4a7d7e00cf6956284e3b3f4016250ded69de4e7944cf3eaba8720a59f56f9438cbcf2816d3b5a6bd11f0886f5a86ce3d9cb
checksums.yaml.gz.sig CHANGED
Binary file
@@ -8,9 +8,14 @@ require_relative 'certificate_authority_context'
8
8
  module Sus
9
9
  module Fixtures
10
10
  module OpenSSL
11
- module HostCertificatesContext
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)]}
@@ -6,7 +6,7 @@
6
6
  module Sus
7
7
  module Fixtures
8
8
  module OpenSSL
9
- VERSION = "0.1.0"
9
+ VERSION = "0.2.0"
10
10
  end
11
11
  end
12
12
  end
@@ -6,7 +6,7 @@
6
6
  require_relative 'openssl/version'
7
7
 
8
8
  require_relative 'openssl/certificate_authority_context'
9
- require_relative 'openssl/host_certificates_context'
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.1.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/host_certificates_context.rb
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