tcp-client 0.10.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/tcp-client/configuration.rb +37 -21
- data/lib/tcp-client/default_configuration.rb +2 -2
- data/lib/tcp-client/mixin/io_with_deadline.rb +48 -79
- data/lib/tcp-client/version.rb +1 -1
- data/lib/tcp-client.rb +4 -3
- metadata +10 -87
- data/.gitignore +0 -6
- data/gems.rb +0 -4
- data/rakefile.rb +0 -18
- data/sample/google.rb +0 -21
- data/sample/google_ssl.rb +0 -28
- data/spec/helper.rb +0 -12
- data/spec/tcp-client/address_spec.rb +0 -132
- data/spec/tcp-client/configuration_spec.rb +0 -270
- data/spec/tcp-client/default_configuration_spec.rb +0 -22
- data/spec/tcp-client/version_spec.rb +0 -13
- data/spec/tcp_client_spec.rb +0 -800
- data/tcp-client.gemspec +0 -39
data/tcp-client.gemspec
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative './lib/tcp-client/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'tcp-client'
|
7
|
-
spec.version = TCPClient::VERSION
|
8
|
-
spec.required_ruby_version = '>= 2.7.0'
|
9
|
-
|
10
|
-
spec.author = 'Mike Blumtritt'
|
11
|
-
spec.summary = 'A TCP client implementation with working timeout support.'
|
12
|
-
spec.description = <<~description
|
13
|
-
This Gem implements a TCP client with (optional) SSL support.
|
14
|
-
It is an easy to use, versatile configurable client that can correctly
|
15
|
-
handle time limits.
|
16
|
-
Unlike other implementations, this client respects
|
17
|
-
predefined/configurable time limits for each method
|
18
|
-
(`connect`, `read`, `write`). Deadlines for a sequence of read/write
|
19
|
-
actions can also be monitored.
|
20
|
-
description
|
21
|
-
|
22
|
-
spec.homepage = 'https://github.com/mblumtritt/tcp-client'
|
23
|
-
spec.license = 'BSD-3-Clause'
|
24
|
-
spec.metadata.merge!(
|
25
|
-
'source_code_uri' => 'https://github.com/mblumtritt/tcp-client',
|
26
|
-
'bug_tracker_uri' => 'https://github.com/mblumtritt/tcp-client/issues',
|
27
|
-
'documentation_uri' => 'https://rubydoc.info/github/mblumtritt/tcp-client'
|
28
|
-
)
|
29
|
-
|
30
|
-
spec.add_development_dependency 'bundler'
|
31
|
-
spec.add_development_dependency 'rake'
|
32
|
-
spec.add_development_dependency 'rspec'
|
33
|
-
spec.add_development_dependency 'yard'
|
34
|
-
|
35
|
-
all_files = Dir.chdir(__dir__) { `git ls-files -z`.split(0.chr) }
|
36
|
-
spec.test_files = all_files.grep(%r{^spec/})
|
37
|
-
spec.files = all_files - spec.test_files
|
38
|
-
spec.extra_rdoc_files = %w[README.md LICENSE]
|
39
|
-
end
|