async-rspec 1.15.0 → 1.15.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
  SHA256:
3
- metadata.gz: aed11a0779ef93abfe812b506aea1fd4d043eaec11e895bcbb06498cb3a7d4da
4
- data.tar.gz: 15b970c1a6e19b63c6671d9b1634757c956b33bfcaeb833172828836ecc157d4
3
+ metadata.gz: 23eaebca4b0ebf551b1afecc2236c72652dc562c6f971a9f8559287e38de42f8
4
+ data.tar.gz: 1419caee694521f241c52b14f7301ac7330a84dbc4460838fc55a03b11a65ced
5
5
  SHA512:
6
- metadata.gz: 1d63a0de1dac83380f1e3215637b5d2b02258d9b81060bfa31bc69aa43ef08c37fa1efdf133f796b5a6d9c16bdc49aebca9c9ea03b885cfda1ffecb82af50c14
7
- data.tar.gz: 104cd0e2dc227b77ea861cee32f7fad898f3825ef5c95215b1fb51fc0d19f46621f6b505b88f8c75e780ac05087e5aeca59e41abba6c2ca4bfcbb86477a24acf
6
+ metadata.gz: f6aee00dc62b6040de66ea40e0a00b17609fef58f7a88840b2244b6ab95c65604fa6368f3d4a29988b407f3b86713c6ad1c95d83bf6693f44d22e44c338de248
7
+ data.tar.gz: 5b2f7389804fe51274db01e8e4d4baf5e90d0f8d50ef55cb77311ce41726a24d03e1579d131306d2982bbb1ff11e0a387e55b0f18b439b09a9d42388d52ca615
@@ -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(1024)}
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(1024)}
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(1024)]}
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(1024)}
181
- let(:invalid_key) {OpenSSL::PKey::RSA.new(1024)}
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:
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module RSpec
23
- VERSION = "1.15.0"
23
+ VERSION = "1.15.1"
24
24
  end
25
25
  end
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.0
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: 2020-11-15 00:00:00.000000000 Z
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.1.2
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.