sip2 0.0.11 → 0.0.12

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
  SHA1:
3
- metadata.gz: 62a9c7e482b7366879f24572357834bbbb0f4749
4
- data.tar.gz: 15a6885fdd4355ef88a7015c9f3f09fa28c10005
3
+ metadata.gz: 426aa3286377738536f3308fe3031e27103f6fe6
4
+ data.tar.gz: 03aa7d489c2ba5089bf5a961dc045c8c6682b8db
5
5
  SHA512:
6
- metadata.gz: ba0270c5be9a2c2b776da93aa2b4e75739722e84b0d0a4c245c6ca001f0d083ceff7345d7963718521a557d1f0f1ad6299b5391cce1bd5f4d9d39f8affb017fa
7
- data.tar.gz: 6b9bcfd1f82b8f407c47acfb79e01836acd895b43f94cedf2b9733efaf0e23ac08d45bf37f98f9609f6f5e203c6e97d13db4a1a9ab750f3833faabcf44a0ec0c
6
+ metadata.gz: 6acd6b54ecf7e553ce2cbc05257ea2721bcc3b5203166b755316cd4165e02e13003f1ffed164e4896883d3a6900bc45106864cffa753b68c46eceec1837965f6
7
+ data.tar.gz: 71f3609d27e6a0c6eda9541900b9982034359306cd967820db39cbd4f4411907dbfb465d842d81e712bab5a1301bf8638f6bea81a69cefb991c8428fc5ecfdbc
@@ -1,9 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.0
4
- - 2.2.5
5
- - 2.3.0
6
- - 2.4.0
3
+ - 2.1.10
4
+ - 2.2.10
5
+ - 2.3.7
6
+ - 2.4.4
7
+ - 2.5.1
7
8
 
8
9
  before_install:
9
10
  - gem update bundler
@@ -10,6 +10,8 @@ module Sip2
10
10
  DEFAULT_TIMEOUT = 5
11
11
  SEPARATOR = "\r".freeze
12
12
 
13
+ attr_accessor :connection_timeout
14
+
13
15
  def send_with_timeout(message, separator = SEPARATOR)
14
16
  ::Timeout.timeout (connection_timeout || DEFAULT_TIMEOUT), WriteTimeout do
15
17
  send message + separator, 0
@@ -62,9 +64,5 @@ module Sip2
62
64
  end
63
65
  end
64
66
  # rubocop:enable Metrics/AbcSize, Metrics/MethodLength
65
-
66
- private
67
-
68
- attr_accessor :connection_timeout
69
67
  end
70
68
  end
@@ -1,3 +1,3 @@
1
1
  module Sip2
2
- VERSION = '0.0.11'.freeze
2
+ VERSION = '0.0.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sip2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - abrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-04 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler