tcp-client 0.12.0 → 0.13.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: 1fc5d1bf109cf729758affe093ed44313d0e688c9c0098bf671f9c8e1250118c
4
- data.tar.gz: 185ea5d345ecd2cceecafe6d19179a68919429df7269c5088bd89032749d6db3
3
+ metadata.gz: d0193d806cfa23c35c5378acd176d8a14d5e0d3b6c2dba9ba6d66a445f920228
4
+ data.tar.gz: f7cc0fc3185e1ec25538eb778a878c3a209af9978ab7ad0787c0593a76a0bcf1
5
5
  SHA512:
6
- metadata.gz: b34d0fef41cafa8d915ed203a5a4a934f22d2ee37fbe4a1f992bef6278f3ebfb7715ff7b4672e01af98c81d7a39eb7d057d79499b41248db44cf4de730240b1d
7
- data.tar.gz: 5125d264eb11b6c5358df65525ad8ac9806f69d4e3f5bccd3dc775a36ae1f49c6c3b3cb97b410e09bdc214275a3b95b0f576c3a52db77f79ef610203e29fabd9
6
+ metadata.gz: f88bbc3c2d520345c515f46344324830456aa5f91f37c17c962cd4bf22373ea47521963761428f0a210bb3ca64a13cebafe1c439d4f6a494204a3187382c2528
7
+ data.tar.gz: ac52537db4b04d7d2cfae9fcaf1444a23400c3b15bafec15b7f6cbc9eb707b332bc0bfd3e88ea219659aa8c3cc41e382065d9531f9e78e64b67cbddecb270554
data/README.md CHANGED
@@ -45,27 +45,19 @@ For more samples see [the examples dir](./examples)
45
45
 
46
46
  ## Installation
47
47
 
48
- Use [Bundler](http://gembundler.com/) to add TCPClient in your own project:
49
-
50
- Include in your `Gemfile`:
51
-
52
- ```ruby
53
- gem 'tcp-client'
54
- ```
55
-
56
- and install it by running Bundler:
48
+ You can install the gem in your system with
57
49
 
58
50
  ```shell
59
- bundle
51
+ gem install tcp-client
60
52
  ```
61
53
 
62
- To install the gem globally use:
54
+ You can use [Bundler](http://gembundler.com/) to add TCPClient to your own project:
63
55
 
64
56
  ```shell
65
- gem install tcp-client
57
+ bundle add 'tcp-client'
66
58
  ```
67
59
 
68
- After that you need only a single line of code in your project to have it on board:
60
+ After that you only need one line of code to have everything together
69
61
 
70
62
  ```ruby
71
63
  require 'tcp-client'
@@ -39,7 +39,7 @@ class TCPClient
39
39
  class Configuration
40
40
  class << self
41
41
  #
42
- # @!parse attr_reader :default
42
+ # @attribute [r] :default
43
43
  # @return [Configuration] used by default if no dedicated configuration
44
44
  # was specified
45
45
  #
@@ -7,7 +7,7 @@ class TCPClient
7
7
 
8
8
  def included(mod)
9
9
  return if supports_wait?(mod)
10
- mod.include(method_defined?(:to_io) ? WaitWithIO : WaitWithSelect)
10
+ mod.include(mod.method_defined?(:to_io) ? WaitWithIO : WaitWithSelect)
11
11
  end
12
12
 
13
13
  def supports_wait?(mod)
@@ -2,5 +2,5 @@
2
2
 
3
3
  class TCPClient
4
4
  # The current version number.
5
- VERSION = '0.12.0'
5
+ VERSION = '0.13.0'
6
6
  end
data/lib/tcp-client.rb CHANGED
@@ -113,7 +113,7 @@ class TCPClient
113
113
  attr_reader :configuration
114
114
 
115
115
  #
116
- # @!parse attr_reader :closed?
116
+ # @attribute [r] :closed?
117
117
  # @return [Boolean] whether the connection is closed
118
118
  #
119
119
  def closed?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcp-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Blumtritt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-06 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  This gem implements a customizable TCP client class that gives you control
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.4.10
62
+ rubygems_version: 3.4.22
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Use your TCP connections with working timeout.