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 +4 -4
- data/lib/uv-rays/abstract_tokenizer.rb +5 -0
- data/lib/uv-rays/buffered_tokenizer.rb +5 -0
- data/lib/uv-rays/version.rb +1 -1
- metadata +3 -5
- data/spec/zen_spec.rb +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79757cc4967bd276258cb2b484500d1638d55941
|
4
|
+
data.tar.gz: df7eba8a85ff3ce185261d12960fde3802182ab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd369daf4446f3694cf2de8387b203c4999b17613fa33b7529d761232b1bc42f0786f9d72342aee3bb968051db32c1345f02e48ea545efcf5ba036db1ff4923
|
7
|
+
data.tar.gz: 356bdf1951d21ce01cc59917e1048c055c84e65d06f2fc6a4457010c353704c8830fce2740fd0ef3a0d2a7af9369b5a1433357a754c136ed90ec118e2f9bad94
|
data/lib/uv-rays/version.rb
CHANGED
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
|
+
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
|
+
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.
|
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
|
data/spec/zen_spec.rb
DELETED
@@ -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
|