uv-rays 2.4.4 → 2.4.5

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: 697d3e089ea35e946216772916f07b44fa7d14db
4
- data.tar.gz: f7662b1bd605d8784f1504508c375292d5aa0796
3
+ metadata.gz: 79757cc4967bd276258cb2b484500d1638d55941
4
+ data.tar.gz: df7eba8a85ff3ce185261d12960fde3802182ab0
5
5
  SHA512:
6
- metadata.gz: 665aa5e0086157cc891eb1bf812f41d8d832562de80155463e22b26286cf26c40b48f48a023a047fdde52bb3d3c77e8e66a0d168ca419970cbb59b94d6f8a988
7
- data.tar.gz: 2589233ae37fbfb59fe72e3d9436b852aaf874b7f51b2a5436b93c9823425c71900e6ebaf179f544a443cbb84615ca2ca54f2f013b15ac80e45adb5642ceb442
6
+ metadata.gz: 5bd369daf4446f3694cf2de8387b203c4999b17613fa33b7529d761232b1bc42f0786f9d72342aee3bb968051db32c1345f02e48ea545efcf5ba036db1ff4923
7
+ data.tar.gz: 356bdf1951d21ce01cc59917e1048c055c84e65d06f2fc6a4457010c353704c8830fce2740fd0ef3a0d2a7af9369b5a1433357a754c136ed90ec118e2f9bad94
@@ -105,6 +105,11 @@ module UV
105
105
  @input.empty?
106
106
  end
107
107
 
108
+ # @return [Integer]
109
+ def bytesize
110
+ @input.bytesize
111
+ end
112
+
108
113
 
109
114
  private
110
115
 
@@ -73,6 +73,11 @@ module UV
73
73
  @input.empty?
74
74
  end
75
75
 
76
+ # @return [Integer]
77
+ def bytesize
78
+ @input.bytesize
79
+ end
80
+
76
81
 
77
82
  private
78
83
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UV
4
- VERSION = '2.4.4'
4
+ VERSION = '2.4.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv
@@ -266,7 +266,6 @@ files:
266
266
  - spec/ping_spec.rb
267
267
  - spec/scheduler_spec.rb
268
268
  - spec/scheduler_time_spec.rb
269
- - spec/zen_spec.rb
270
269
  - uv-rays.gemspec
271
270
  homepage: https://github.com/cotag/uv-rays
272
271
  licenses:
@@ -288,13 +287,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
287
  version: '0'
289
288
  requirements: []
290
289
  rubyforge_project:
291
- rubygems_version: 2.6.14
290
+ rubygems_version: 2.5.2
292
291
  signing_key:
293
292
  specification_version: 4
294
293
  summary: Abstractions for working with Libuv
295
294
  test_files:
296
295
  - spec/scheduler_time_spec.rb
297
- - spec/zen_spec.rb
298
296
  - spec/ping_spec.rb
299
297
  - spec/http_endpoint_spec.rb
300
298
  - spec/connection_spec.rb
@@ -1,27 +0,0 @@
1
- require 'libuv'
2
- require 'set'
3
-
4
-
5
- describe Libuv::Listener do
6
- it "should ensure there are no remaining object references in callbacks", network: true do
7
- require 'objspace'
8
-
9
- checked = Set.new
10
-
11
- # These are created by loop objects and are never cleaned up
12
- # This is OK as the loops are expected to execute for the life of the application
13
- except = []
14
-
15
- ObjectSpace.each_object(Class) do |cls|
16
- next unless cls.ancestors.include? ::UV::Connection
17
- next if checked.include? cls
18
- checked << cls
19
- end
20
-
21
- if checked.length > 0
22
- puts "\nMemory Leak in #{checked.inspect}"
23
- end
24
-
25
- expect(checked.length).to be(0)
26
- end
27
- end