sip2 0.0.10 → 0.0.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0383747c254aba1493539ca5465e870b7d06ddb3'
4
- data.tar.gz: 3553ea22a5b3e1aea055a36cefb13ffa983e54c5
3
+ metadata.gz: 62a9c7e482b7366879f24572357834bbbb0f4749
4
+ data.tar.gz: 15a6885fdd4355ef88a7015c9f3f09fa28c10005
5
5
  SHA512:
6
- metadata.gz: 2e284505e8d319abe25635185f7e22c1686f52657d9deddeaa0e2c616fa4b0a0e54865f1402c95fa3437ad9c73109ad0d92316edcfd970bbfaa004b28da7309a
7
- data.tar.gz: 9b4d682b6b91bf12236cb8349fccdc6e3cca155d18218b74a93c0a2738dbf36d03a193f0f78d85adfce53c523b7fa25f51fd20c8f3bdd0e5405e4997c2c19c5b
6
+ metadata.gz: ba0270c5be9a2c2b776da93aa2b4e75739722e84b0d0a4c245c6ca001f0d083ceff7345d7963718521a557d1f0f1ad6299b5391cce1bd5f4d9d39f8affb017fa
7
+ data.tar.gz: 6b9bcfd1f82b8f407c47acfb79e01836acd895b43f94cedf2b9733efaf0e23ac08d45bf37f98f9609f6f5e203c6e97d13db4a1a9ab750f3833faabcf44a0ec0c
@@ -11,13 +11,13 @@ module Sip2
11
11
  SEPARATOR = "\r".freeze
12
12
 
13
13
  def send_with_timeout(message, separator = SEPARATOR)
14
- ::Timeout::timeout (connection_timeout || DEFAULT_TIMEOUT), WriteTimeout do
14
+ ::Timeout.timeout (connection_timeout || DEFAULT_TIMEOUT), WriteTimeout do
15
15
  send message + separator, 0
16
16
  end
17
17
  end
18
18
 
19
19
  def gets_with_timeout(separator = SEPARATOR)
20
- ::Timeout::timeout (connection_timeout || DEFAULT_TIMEOUT), ReadTimeout do
20
+ ::Timeout.timeout (connection_timeout || DEFAULT_TIMEOUT), ReadTimeout do
21
21
  gets separator
22
22
  end
23
23
  end
data/lib/sip2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sip2
2
- VERSION = '0.0.10'.freeze
2
+ VERSION = '0.0.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sip2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - abrom