tcr_revived 0.3.0 → 0.3.2
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/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/tcr/version.rb +1 -1
- data/lib/tcr.rb +2 -2
- data/tcr_revived.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2b3dcd4ead8743a831b0fd33374fe2c875ed8b57557c34342ee0eb3ce0eb61a
|
|
4
|
+
data.tar.gz: e6615c052dcf12aea2470ec5766f9bd46f40c963507614cb61082e25702302f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fb716f044e077f442b2b8afe5d41ea095ec9727fe01d62dae09db0eb1ca4ac6a214bc9c667acee26d552fc92f987a93f5c344407a134a7df110c381b44eda69
|
|
7
|
+
data.tar.gz: f88d8482160a9cc4c5d33c650018cfb77fe41151e4e841d6e07bb5bd5c066bcc9db96566040cb3ed3e96ab287e690cbd6df8500082d4a1c206197add78611eef
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.2.0
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Support for Ruby 3.2
|
|
11
|
+
- Test running script `bin/test`
|
|
12
|
+
|
|
13
|
+
### Removed
|
|
14
|
+
|
|
15
|
+
- Support for Ruby 2.6
|
|
16
|
+
|
|
8
17
|
## [0.3.0] - 2022-10-18
|
|
9
18
|
|
|
10
19
|
This is the initial version of this fork.
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
The original version of this gem seemed to have been unmaintained at least since 2018.
|
|
9
9
|
|
|
10
|
-
This fork aims to bring support for Ruby 3.0 and 3.
|
|
10
|
+
This fork aims to bring support for Ruby 3.0, 3.1 and 3.2. It should be a drop-in replacement.
|
|
11
11
|
|
|
12
12
|
## Original docs
|
|
13
13
|
|
data/lib/tcr/version.rb
CHANGED
data/lib/tcr.rb
CHANGED
|
@@ -90,11 +90,11 @@ class Socket
|
|
|
90
90
|
class << self
|
|
91
91
|
alias_method :real_tcp, :tcp
|
|
92
92
|
|
|
93
|
-
def tcp(host, port,
|
|
93
|
+
def tcp(host, port, local_host = nil, local_port = nil, **socket_opts)
|
|
94
94
|
if TCR.configuration.hook_tcp_ports.include?(port)
|
|
95
95
|
TCR::RecordableTCPSocket.new(host, port, TCR.cassette)
|
|
96
96
|
else
|
|
97
|
-
real_tcp(host, port,
|
|
97
|
+
real_tcp(host, port, local_host, local_port, **socket_opts)
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
end
|
data/tcr_revived.gemspec
CHANGED
|
@@ -28,7 +28,7 @@ require 'tcr/version'
|
|
|
28
28
|
gem.bindir = 'exe'
|
|
29
29
|
gem.executables = gem.files.grep(%r{\Aexe/}) { |f| ::File.basename(f) }
|
|
30
30
|
gem.require_paths = ['lib']
|
|
31
|
-
gem.required_ruby_version = '>= 2.
|
|
31
|
+
gem.required_ruby_version = '>= 2.7'
|
|
32
32
|
|
|
33
33
|
gem.add_development_dependency 'debug'
|
|
34
34
|
gem.add_development_dependency 'geminabox'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tcr_revived
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Forman
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: debug
|
|
@@ -189,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
requirements:
|
|
190
190
|
- - ">="
|
|
191
191
|
- !ruby/object:Gem::Version
|
|
192
|
-
version: 2.
|
|
192
|
+
version: '2.7'
|
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
requirements:
|
|
195
195
|
- - ">="
|
|
196
196
|
- !ruby/object:Gem::Version
|
|
197
197
|
version: '0'
|
|
198
198
|
requirements: []
|
|
199
|
-
rubygems_version: 3.3
|
|
199
|
+
rubygems_version: 3.4.3
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: TCR is a lightweight VCR for TCP sockets.
|