socketry 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/README.md +4 -2
- data/lib/socketry/ssl/socket.rb +4 -2
- data/lib/socketry/version.rb +1 -1
- data/logo.png +0 -0
- data/socketry.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c946ff077911e96715c6ed49e1f05d68048c5ce1
|
4
|
+
data.tar.gz: fc23762cd7df18e38aa1b256fa8043455d15e76c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2e079c8d3765b5279a8fccaed3315ffdb18697350a248318539a0e06e366c3e1d11b8ff7806b457c1c003e91a8e35cbed0a5bb1244c64fcaae4beda73f21913
|
7
|
+
data.tar.gz: 9dcc209420f1d8db8486dbd6ab89a7213689256fc3f12f1d7e82a04ff97f6fe1cc75ad35b7655bec3949a7876612ce7c72db76af14adc30223b67cf1dc415b41
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# ![Socketry](https://raw.github.com/socketry/socketry/master/logo.png)
|
2
|
+
|
3
|
+
[![Gem Version][gem-image]][gem-link] [![Build Status][build-image]][build-link] [![Code Climate][codeclimate-image]][codeclimate-link] [![Coverage Status][coverage-image]][coverage-link] [![MIT licensed][license-image]][license-link]
|
2
4
|
|
3
5
|
[gem-image]: https://badge.fury.io/rb/socketry.svg
|
4
6
|
[gem-link]: https://rubygems.org/gems/socketry
|
@@ -76,7 +78,7 @@ This library aims to support and is [tested against][travis] the following Ruby
|
|
76
78
|
versions:
|
77
79
|
|
78
80
|
* Ruby 2.2.6+
|
79
|
-
* Ruby 2.3.
|
81
|
+
* Ruby 2.3.0+
|
80
82
|
* JRuby 9.1.6.0+
|
81
83
|
|
82
84
|
If something doesn't work on one of these versions, it's a bug.
|
data/lib/socketry/ssl/socket.rb
CHANGED
@@ -163,8 +163,10 @@ module Socketry
|
|
163
163
|
#
|
164
164
|
# @return [true, false] true if the socket was open, false if closed
|
165
165
|
def close
|
166
|
-
|
167
|
-
|
166
|
+
return false unless super
|
167
|
+
@ssl_socket.close
|
168
|
+
@ssl_socket = nil
|
169
|
+
true
|
168
170
|
end
|
169
171
|
|
170
172
|
private
|
data/lib/socketry/version.rb
CHANGED
data/logo.png
ADDED
Binary file
|
data/socketry.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socketry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -14,14 +14,14 @@ dependencies:
|
|
14
14
|
name: hitimes
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- lib/socketry/udp/datagram.rb
|
70
70
|
- lib/socketry/udp/socket.rb
|
71
71
|
- lib/socketry/version.rb
|
72
|
+
- logo.png
|
72
73
|
- socketry.gemspec
|
73
74
|
homepage: https://github.com/socketry/socketry/
|
74
75
|
licenses:
|
@@ -90,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
91
|
version: '0'
|
91
92
|
requirements: []
|
92
93
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.5.2
|
94
95
|
signing_key:
|
95
96
|
specification_version: 4
|
96
97
|
summary: High-level wrappers for Ruby sockets with advanced thread-safe timeout support
|