async-rspec 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/async/rspec/ssl.rb +5 -5
- data/lib/async/rspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23eaebca4b0ebf551b1afecc2236c72652dc562c6f971a9f8559287e38de42f8
|
4
|
+
data.tar.gz: 1419caee694521f241c52b14f7301ac7330a84dbc4460838fc55a03b11a65ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6aee00dc62b6040de66ea40e0a00b17609fef58f7a88840b2244b6ab95c65604fa6368f3d4a29988b407f3b86713c6ad1c95d83bf6693f44d22e44c338de248
|
7
|
+
data.tar.gz: 5b2f7389804fe51274db01e8e4d4baf5e90d0f8d50ef55cb77311ce41726a24d03e1579d131306d2982bbb1ff11e0a387e55b0f18b439b09a9d42388d52ca615
|
data/lib/async/rspec/ssl.rb
CHANGED
@@ -41,7 +41,7 @@ module Async
|
|
41
41
|
|
42
42
|
::RSpec.shared_context SSL::CertificateAuthority do
|
43
43
|
# This key size is generally considered insecure, but it's fine for testing.
|
44
|
-
let(:certificate_authority_key) {OpenSSL::PKey::RSA.new(
|
44
|
+
let(:certificate_authority_key) {OpenSSL::PKey::RSA.new(2048)}
|
45
45
|
let(:certificate_authority_name) {OpenSSL::X509::Name.parse("O=TestCA/CN=localhost")}
|
46
46
|
|
47
47
|
# The certificate authority is used for signing and validating the certificate which is used for communciation:
|
@@ -83,7 +83,7 @@ module Async
|
|
83
83
|
include_context SSL::CertificateAuthority
|
84
84
|
|
85
85
|
# The private key to use on the server side:
|
86
|
-
let(:key) {OpenSSL::PKey::RSA.new(
|
86
|
+
let(:key) {OpenSSL::PKey::RSA.new(2048)}
|
87
87
|
let(:certificate_name) {OpenSSL::X509::Name.parse("O=Test/CN=localhost")}
|
88
88
|
|
89
89
|
# The certificate used for actual communication:
|
@@ -115,7 +115,7 @@ module Async
|
|
115
115
|
|
116
116
|
let(:keys) do
|
117
117
|
Hash[
|
118
|
-
hosts.collect{|name| [name, OpenSSL::PKey::RSA.new(
|
118
|
+
hosts.collect{|name| [name, OpenSSL::PKey::RSA.new(2048)]}
|
119
119
|
]
|
120
120
|
end
|
121
121
|
|
@@ -177,8 +177,8 @@ module Async
|
|
177
177
|
include_context SSL::CertificateAuthority
|
178
178
|
|
179
179
|
# The private key to use on the server side:
|
180
|
-
let(:key) {OpenSSL::PKey::RSA.new(
|
181
|
-
let(:invalid_key) {OpenSSL::PKey::RSA.new(
|
180
|
+
let(:key) {OpenSSL::PKey::RSA.new(2048)}
|
181
|
+
let(:invalid_key) {OpenSSL::PKey::RSA.new(2048)}
|
182
182
|
let(:certificate_name) {OpenSSL::X509::Name.parse("O=Test/CN=localhost")}
|
183
183
|
|
184
184
|
# The certificate used for actual communication:
|
data/lib/async/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.2.3
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Helpers for writing specs against the async gem.
|