uv-rays 1.0.9 → 1.0.10

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: f02f736b7e612dfa6b177e2460b86658306fd13f
4
- data.tar.gz: a8bb6c7e64eb3bfbbab5fca8ebcf0a5600c88003
3
+ metadata.gz: 1e0029a1210334c29042a4a40070f4024959088a
4
+ data.tar.gz: a5f1571c61f7547b09afe11255a7afe2a347aa07
5
5
  SHA512:
6
- metadata.gz: c266b47d4865c44a0604c9078745f0499cf2c32971ddba8718e0c8823401e7064b3d09b25100923cdd8a991564452fe43893c2829f3168d92fe7327b93329581
7
- data.tar.gz: 396851ed1124566a68dd06d218e19cc822e73bafb77a1fff86c26b408bfb1a73e4d3a917213393d009122ce3b6849b67d19872b872fe745e48507490a883699a
6
+ metadata.gz: a44a3a1aa2c2cfd870a3a53203a96c9d5a5b517513c4f3d3cc6de98f86c7c7659b0c95c2f7ee36f8bdad081cb6827d8cc1c913823a14c22a1e073b1592b483bf
7
+ data.tar.gz: de76bdb6c73d7afc01bbbd98cc1746d2cbc8c94d1a4c00aeec189aa416d8c0b4ec1dc4a147cdc1733c83cba4aa7ac227e2a1db810ac1963e773dfe360b92b955
@@ -261,7 +261,6 @@ module UV
261
261
  else
262
262
  @schedules << event
263
263
  end
264
- @next = nil if @next == event
265
264
 
266
265
  # optimal algorithm for inserting into an already sorted list
267
266
  Bisect.insort(@scheduled, event)
@@ -351,7 +350,7 @@ module UV
351
350
  @schedules.delete(schedule)
352
351
  schedule.trigger
353
352
 
354
- # execute schedules that are within 5ms of this event
353
+ # execute schedules that are within 3ms of this event
355
354
  # Basic timer coalescing..
356
355
  now = @loop.now + 3
357
356
  while @scheduled.first && @scheduled.first.next_scheduled <= now
@@ -1,3 +1,3 @@
1
1
  module UV
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach